How I Built an AI Agent That Uses a Graph Database as Its Memory
Описание и применение
ContriGraph использует графовую базу FalkorDB для рекомендаций открытых задач, записывая каждое взаимодействие как типизированный ребро, тем самым создавая долговременную память без сессий.
Задача
Finding good open source issues to contribute to is harder than it looks. The real problem is memory and context, not discovery.
Результат
ContriGraph delivers issue recommendations in under 1 ms per query, filters out previously skipped or applied issues at the database level, and uses graph edges as persistent memory, eliminating the need for session state or separate action tables.
Рабочий процесс
- User types a query in the browser
- FastAPI streaming endpoint receives the query
- Claude AI agent decides which tool to call
- Tool executes a Cypher query against FalkorDB
- Result streams back via SSE to the browser
- Agent writes VIEWED, BOOKMARKED, SKIPPED, or APPLIED_TO edges to FalkorDB
- Next query uses NOT clauses to filter out previously interacted issues
Доказательства
Finding good open source issues to contribute to is harder than it looks.
ContriGraph is an AI agent that traverses this graph to find the right issue for you — and remembers every interaction by writing it back to the graph as a typed edge.
When you click Bookmark, Skip, or Apply on a card: CREATE (d)-[:BOOKMARKED {timestamp:$ts, session_id:$session}]->(i)
- Дата записи: 2026-10-17T13:41:25.809Z