Inspiration

Modern AI agents fail because of context fragmentation. Every session starts from zero. We built LocalGraph Core to give agents a persistent, queryable memory store — relationships between people, tools, projects, and concepts that survive across runs.

What it does

LocalGraph Core is a graph memory layer for autonomous agents. It lets agents store and query relationship data locally using Cypher, backed by Relate by Neo4j — no server, no signup, no network calls. The graph persists in a single directory on disk and survives process exit.

How we built it

Python subprocess interface calling the Relate by Neo4j v1.4.0 embedded binary directly. The script seeds a knowledge graph of agent memory — 10 nodes, 14 relationships across Person, Technology, Project, and Concept types — and queries it with Cypher. One command runs everything: python agent_memory.py.

Challenges we ran into

Getting Relate running on ARM64 Windows without a Rust toolchain. The pip package requires compiling from source. Solution: use the pre-built relate-windows-amd64.exe binary and call it via subprocess — no install needed.

Accomplishments we're proud of

Working embedded graph database running with zero server setup. Persistent store committed to the repo so judges can inspect it directly.

What we learned

Relate's embedded model is a genuine fit for agent memory. Local graph traversal with no network hop changes what's practical for agent context management.

What's next

Multi-agent writes using Relate's transaction model. Vector search over concept nodes for semantic memory retrieval.

Built With

  • aiagents
  • cypher
  • graphdatabase
  • modelconextprotocol
  • neo4j
  • python
  • relate
  • webassembly
Share this project:

Updates

Submission history