Inspiration
Modern AI agents often fail because of context fragmentation and the latency of database round trips. We set out to design LocalGraph Core, an embedded graph memory engine that lets autonomous agents store and query relationship data locally, in-process or in a single file.
What it does
LocalGraph Core is a graph memory layer for autonomous agents. It is designed to let agents:
Store and query relationships locally, without a separate database server Keep state in a single local file Query the graph with Cypher, on top of Relate by Neo4j
How we built it
LocalGraph Core is designed to be built on the Relate by Neo4j ecosystem and used as an embedded library in an agent runtime. Planned components:
Storage: a local, file-backed store Query: Cypher over embedded graph nodes Integration: a Python interface for agents
Challenges we ran into
Balancing fast in-memory access with persistent state. An in-memory-only store loses everything when the process stops, which makes evaluation impossible. We are designing around a file-backed store and have not yet verified its durability. Concurrency: multiple agent threads updating the same graph need a clear transaction model. This is still open.
Accomplishments that we’re proud of
Defined the problem and the design: a local, embedded graph memory for agents. Published the project README and a clear scope statement.
What we learned
Embedded graph memory changes how agents manage context. Keeping data local trades off against server-scale features, and that trade-off is the core design question.
What’s next for LocalGraph Core
Publish the working code and tests. Verify storage behavior and document the results. Add a Cypher query example and an agent integration example.