feat: integrate Graphiti knowledge graph for agent memory#1024
Open
cyrusagent wants to merge 1 commit intomainfrom
Open
feat: integrate Graphiti knowledge graph for agent memory#1024cyrusagent wants to merge 1 commit intomainfrom
cyrusagent wants to merge 1 commit intomainfrom
Conversation
Add support for persistent team memory via Graphiti MCP server, gated behind GRAPHITI_MCP_URL env var. When configured, agents recall relevant context at session start and store learnings after completing work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GRAPHITI_MCP_URLenv varsearch_memory_factsand store learnings post-session viaadd_memoryChanges
buildMcpConfig()(same pattern as Slack)mcp__graphitito workspace MCP tool allowlistformatMemoryContext()for recall instructions in<memory_context>block; skip memory-reflection subroutine when Graphiti not configuredmemoryReflectionsubroutine definition; append tofull-developmentanddebugger-fullproceduresTest plan
GRAPHITI_MCP_URL=http://localhost:8000/mcp/and rundocker compose upwith Graphiti containerfull-developmentsession — verify agent callssearch_memory_factsat startmemory-reflectionsubroutine runs afterconcise-summaryand stores learnings viaadd_memoryGRAPHITI_MCP_URL— verify no Graphiti references in prompts or MCP configmemory-reflectionauto-skips when Graphiti is not configuredResolves CYPACK-1001