Memory Backends
The FL Repos MCP server can be paired with a memory backend to give AI agents persistent, searchable memory across sessions. This allows the agent to remember previous analyses, team decisions, and contextual notes about the codebase. Two memory backends are supported: Graphiti (the default and recommended option) and Zep (an alternative).Graphiti
Graphiti is a temporal knowledge graph built on top of Neo4j/FalkorDB. It stores memory as episodes (timestamped facts and observations) and automatically extracts entities and relationships from natural language, weaving them into a knowledge graph alongside the FL Repos data.Deployment
The Graphiti server is deployed at:Pre-loaded episodes
The Graphiti instance for FL Repos has 641 episodes already ingested. These include:- Repository analysis summaries from previous AI sessions
- Architectural observations and cross-repo patterns
- Team-added notes about specific services and components
- Historical context about why certain design decisions were made
Configuration
Set theGRAPHITI_URL environment variable in your MCP server config:
How Graphiti stores memory
When the AI agent callsadd_memory, Graphiti:
- Parses the episode content for named entities (repos, functions, contributors, etc.)
- Links extracted entities to existing nodes in the knowledge graph
- Timestamps the episode for temporal reasoning (“what did we know last week?”)
- Indexes the content for semantic similarity search
search_memory, Graphiti:
- Embeds the search query
- Searches both the graph structure (entity links) and vector index (semantic similarity)
- Ranks results by relevance and recency
- Returns the most relevant episodes with their timestamps and extracted entities
Temporal reasoning
Graphiti’s temporal model means the agent can reason about how knowledge changes over time:Zep
Zep is an episodic memory service designed for AI applications. It stores sessions, messages, and facts, and provides semantic search over them.When to use Zep
Use Zep instead of Graphiti when:- You prefer a managed cloud service with a dashboard
- You want tight integration with LangChain or LlamaIndex
- You need session-level memory (conversation history) rather than graph-linked facts
Configuration
If both
GRAPHITI_URL and ZEP_API_URL are set, Graphiti takes precedence. To use Zep, set only the Zep variables.