BASE

Graphiti

Graphiti

AI / ML development tool · Free

A framework for building and searching temporal knowledge graphs: it preserves relationships and changing facts for an agent application's memory.

Also known as: getzep/graphiti; graphiti-ai; real-time-knowledge-graphs

Resource illustration: Graphiti

Open resource ↗

What you can use for free

A local code pipeline under Apache-2.0; rights for the selected models are checked separately.

Paid features and costs

Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

Access and limitations

A local code pipeline under Apache-2.0; rights for the selected models are checked separately. Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

Use cases

  • Preserve changing facts in agent memory
  • Build a knowledge graph and test fact retrieval for a specific time

Example workflow

A possible workflow; this is not a report of hands-on testing.

Preserve changing facts in agent memory.

Before you start

  • Test documents or tasks, and a quality criterion.
  • Models, a runtime, and a computing budget.

Steps

  1. Prepare events/entities and temporal relationships.
  2. Build a knowledge graph and test fact retrieval for a specific time.
  3. Connect the workflow to the application and make errors observable.

Check your result

  • Check the result against reference examples and invalid inputs.
  • Inference costs, model rights, and data handling have been established.

Choosing Graphiti

Preserve changing facts in agent memory

Choose this when

  • Preserve changing facts in agent memory
  • Build a knowledge graph and test fact retrieval for a specific time

Requirements

  • Python 3.10+, a supported graph database, and configured inference/embedding providers are required; default OpenAI requires an API key.

Things to consider

  • Costs and limits of free use: Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
  • Terms of use: Apache-2.0 for the code; third-party components retain their own terms.
  • A small model may produce invalid JSON and disrupt ingestion; the Kuzu backend is deprecated because upstream maintenance ended.

Frequently asked questions

What can you use for free in Graphiti?

A local code pipeline under Apache-2.0; rights for the selected models are checked separately.

What additional costs might arise with Graphiti?

Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

What terms of use matter for Graphiti?

Apache-2.0 for the code; third-party components retain their own terms.

How do you get started with Graphiti?

Prepare events/entities and temporal relationships. Build a knowledge graph and test fact retrieval for a specific time. Connect the workflow to the application and make errors observable.

Can a local model be connected to Graphiti?

The README demonstrates Ollama through OpenAIGenericClient with separate LLM, embedder, and reranker components. A temporal graph stores entities, relationships, source episodes, and time intervals; search combines semantic search, BM25, and traversal. This framework uses its own graph database and differs from managed Zep.

License

Apache-2.0 for the code; third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Graphiti
  • ml
  • Development

Sources

Other resources