Graph memory for AI agents

When an agent reasons, it doesn't want a similarity score. It wants to traverse — from the user, to what they prefer, to the task they care about, to what's blocking it. A context graph is that web, made queryable, without replaying the agent's entire history into every prompt.

One instance per agent is the design, not a hack

An instance accepts its first connection about 7 ms after it starts and idles at roughly 15 MB — at those numbers the database stops being something you connect to and starts being something you invoke, born when the agent starts and gone when it finishes. Give each agent, session or tenant its own database and delete it when the work is done.

Agents query it directly over MCP

CognoDB ships an MCP server, so Claude, Cursor and any other MCP-compatible client can read the schema and run Cypher against a live instance. The agent discovers what is in the graph rather than being handed a fixed set of tools you had to anticipate.

Relationships survive the context window — and cut the bill

Facts an agent learns become nodes and edges, not tokens. Retrieval becomes a traversal with a defined answer, bounded by neighbourhood rather than corpus — which is why graph retrieval uses ~2,668 tokens per query where dumping a 2,000-entity knowledge base costs 202,285.

What did this agent learn about an entity, and where did it come from?cypher
MATCH (a:Agent {id: $agent})-[:OBSERVED]->(f:Fact)-[:ABOUT]->(e:Entity)
WHERE e.name = $entity
MATCH (f)-[:SOURCED_FROM]->(d:Document)
RETURN f.statement, d.title, f.observed_at
ORDER BY f.observed_at DESC

Start now

~98.7%

token efficiency at 2,000 entities — see the footnotes above

Put your first graph up in a minute.

A free instance takes about a minute and no card. Write two MERGE statements, read them back, and you have a living graph — with provenance on every fact.

First-graph path

Live
  1. Create a free instance

    No card. Ready in about a minute.

  2. Connect your driver

    bolt+ssc:// URI into the driver you already use.

  3. Write two MERGEs

    That's the entire shape of agent memory.

  4. Point an agent at it

    One MCP config block. No integration code.