What is Graphiti?
Graphiti is a framework for building real-time, temporally-aware knowledge graphs for AI agents. Its MCP server allows AI assistants to manage episodes, entities, and relationships through the Model Context Protocol, integrating dynamic user interactions and business data.
How to use Graphiti?
Install graphiti‑core via pip or poetry, set up a Neo4j 5.26+ database and an OpenAI API key, then use the Python API to add episodes and search the graph. The MCP server can be deployed with Docker for integration with MCP‑compatible clients like Claude or Cursor.
Key features of Graphiti
- Episode management (add, retrieve, delete)
- Entity management and relationship handling
- Semantic and hybrid search (BM25 + embeddings)
- Group management for organizing related data
- Graph maintenance operations
- Bi‑temporal tracking with historical queries
Use cases of Graphiti
- Giving AI agents persistent, context‑aware memory
- Integrating live user interactions and enterprise data
- Enabling state‑based reasoning and task automation
- Querying complex, evolving datasets with hybrid search
Comments