Skip to content

Agent Memory you can trust.

Provenance. Every fact your agent learns, in one database, with its source and its history.
Retrieval. Two of four tiers answer without a model call, straight from the store.
One engine. Memory in the database, not beside it: rows and edges in one transaction.

THE PROBLEM

Where agent memory fails

Memory ends with the session.The work is done again.

The context window is an agent's only built-in memory. When the session closes, so does everything it learnt.

Retrieval returns both facts.The old one and the new.

A vector store appends. When a fact changes, both versions score well and nothing says which won, so the model guesses.

Every question pays full price.A lookup costs as much as synthesis.

Retrieval plus an LLM call on every question charges the same for a lookup as for real reasoning.

Agent Memory is not

a vector database

a chat-history blob

a hand-rolled knowledge graph

a context-window manager

an agent runtime

It is one database holding every fact your agent learns, with its source, its corrections and its history.

HOW IT WORKS

Write, reconcile, read. Reconcile is the hard part.

Most memory layers leave reconciliation to application code. Here it is part of the engine.

THE COST LADDER

Two tiers never call a model

Cheap questions are cheap. Expensive questions are explicit.

Tier 1

Direct lookup

no LLM

sub-millisecond

The question resolves to a structured query over typed facts, and the answer comes straight from the store.

Tier 2

Response reuse

no LLM

tens of milliseconds

Entity-aware invalidation: a cached answer is dropped the moment a fact it cited is superseded, so a hit is never stale.

Tier 3

Hybrid retrieval

hundreds of milliseconds

Eight signals fused into one ranking, then synthesis. Per-signal scores are recorded with the answer.

Tier 4

Full-context fallback

explicit

The expensive path, taken deliberately rather than by default.

Bar length is how far a question walks the ladder, not a measured cost. Every query records the tier that answered it.

HOW IT BEHAVES

Corrections supersede. The old fact stays.

Session 4 · turn 42

Ana

2026-03-14 · 09:12

Tobie was just promoted to CTO at Acme.

Facts written

Tobie works at Acme as CTO

turn:42 · bytes 15-38 · confidence 0.91

Acme is an organisation

turn:42 · bytes 34-38 · confidence 0.95

Session 9 · turn 43

Ana

2026-04-12 · 16:40

Actually he moved to SurrealDB.

Facts after reconciliation

Tobie works at Acme as CTO

superseded · valid_until 2026-04-12 · row retained

Tobie works at SurrealDB

turn:43 · bytes 12-30 · confidence 0.88

Ask · today

Where does Tobie work?

SurrealDB

cited turn:43

Ask · as of 2026-04-01

Where does Tobie work?

Acme, as CTO

cited turn:42 · superseded 2026-04-12

INTEGRATIONS

Runs where your agents run

Seven MCP tools over streamable HTTP, fourteen agent frameworks and eight SDKs, on one REST surface.

Claude Code
Claude Desktop
Cursor
VS Code
Windsurf
Zed
JetBrains
JetBrains Air
Codex
Antigravity
OpenCode
LangChain / LangGraph
OpenAI Agents SDK
Mastra
OpenClaw
Eve
Hermes Agent
CrewAI
Google ADK
Pydantic AI
Strands Agents
Agnovia SDK
AutoGenvia SDK
Camel AIvia SDK
LlamaIndexvia SDK
Python
JavaScript / TypeScript
Go
Kotlin
Swift
Dart
Elixir
Haskell
Vercel AI SDK
TanStack AI
Cloudflare Workers AI
n8n
Zapier
Zo Computer
ElevenLabs
LiveKit
AgentOps
Respan
Claude Code stop-hook
MCP server
REST API

PRICING

Plans for every stage. From a free Sandbox to enterprise.

Sandbox

Free, no card needed

Plan
Free
3 million tokens included, one-off

Choose Sandbox if you:

  • Want to try the full memory layer with no commitment

Key features:

  • Knowledge graph with provenance
  • Tri-temporal memory
  • Hybrid retrieval (vector + BM25 + graph)
  • MCP server, TypeScript SDK and CLI

Lite

Billed monthly

Plan
$30/mo
1 million tokens a month included

Choose Lite if you:

  • Are shipping a first agent with modest usage

Key features:

  • Knowledge graph with provenance
  • Tri-temporal memory
  • Hybrid retrieval (vector + BM25 + graph)
  • MCP server, TypeScript SDK and CLI

Standard

Billed monthly

Plan
$300/mo
10 million tokens a month included

Choose Standard if you:

  • Run production agents with real usage

Key features:

  • Knowledge graph with provenance
  • Tri-temporal memory
  • Hybrid retrieval (vector + BM25 + graph)
  • MCP server, TypeScript SDK and CLI

Plus

Billed monthly

Plan
$1,100/mo
40 million tokens a month included

Choose Plus if you:

  • Scale agent fleets or heavier ingestion

Key features:

  • Knowledge graph with provenance
  • Tri-temporal memory
  • Hybrid retrieval (vector + BM25 + graph)
  • MCP server, TypeScript SDK and CLI

Enterprise

Annual agreement

Plan
Custom
Priced for your deployment

Choose Enterprise if you:

  • Need your own model, a single tenant or custom SLAs

Key features:

  • Bring your own model (BYOM)
  • Single-tenant on SurrealDB Cloud
  • Self-hosted and air-gapped options for qualifying engagements
  • Custom SLAs and enterprise support

Features

Sandbox

Lite

Standard

Plus

Enterprise

Plans and usage

Monthly price

Free

$30

$300

$1,100

Custom

Included tokens per month

3 million (one-off)

1 million

10 million

40 million

Agreed with sales

Usage beyond included tokens

Not available

Overage rates apply

Overage rates apply

Overage rates apply

Agreed with sales

Memory capabilities

Knowledge graph with entity extraction
Included
Included
Included
Included
Included
Conversational memory
Included
Included
Included
Included
Included
Tri-temporal versioning and supersession
Included
Included
Included
Included
Included
Provenance on every fact
Included
Included
Included
Included
Included
Hybrid retrieval (vector + BM25 + graph)
Included
Included
Included
Included
Included
Retrieval, decision, and response traces
Included
Included
Included
Included
Included
Multi-modal document pipeline
Included
Included
Included
Included
Included
MCP server, TypeScript SDK, and CLI
Included
Included
Included
Included
Included

Isolation and security

Context isolation (own namespace and database)
Included
Included
Included
Included
Included
Scoped permissions and API-key attenuation
Included
Included
Included
Included
Included
Prompt-injection scanning
Included
Included
Included
Included
Included
First-class forget verb (GDPR erasure)
Included
Included
Included
Included
Included
Single-tenant deployment
Not included
Not included
Not included
Not included
Included
Bring your own model (BYOM)
Not included
Not included
Not included
Not included
Included
Self-hosted and air-gapped deployment
Not included
Not included
Not included
Not included

Qualifying engagements

Support

Community support
Included
Included
Included
Included
Included
Enterprise support with SLAs
Not included
Not included
Not included
Not included
Included

Your questions,answered

Not today. SurrealDB, the engine underneath, is open source and free to self-host. The Agent Memory layer is closed source today, with a roadmap intent to upstream foundational parts of the memory model into SurrealDB.

THE PLATFORM

Everything an application and its agents know. Five surfaces, one engine.

IN PRODUCTION

Trusted at scale. Samsung, Nvidia, Verizon, Tencent and Walmart run on SurrealDB.

14,000+

Developers building on SurrealDB Cloud

4M+

Developers building on SurrealDB worldwide

FROM THE TEAMS

SurrealDB gives us a foundation where we can unify semantic search, knowledge graphs, and AI-driven decision making without stitching together multiple systems. Collapsing responsibility into SurrealDB has become our default engineering posture.
Justin Foley

VP of Engineering, Later

GET STARTED

Give your agents a memory that lasts. Durable memory, trustworthy recall, and a knowledge graph - one system you buy, secure, and audit once. Built on SurrealDB.

ISO 27001
AICPA SOC 2 Type 2
Cyber Essentials
GDPR
Cyber Essentials Plus
SurrealDB

The context and memory layer for AI agents

Database. Graphs, vectors, documents and relational data in one engine, in a single ACID transaction.
Agent Memory. Connects and retrieves context wherever your data lives, every fact carrying its source.
Cloud. Fully managed, in the cloud provider and region you choose.

Explore with AI

Copyright © 2026 SurrealDB Ltd. Registered in England and Wales. Company no. 13615201

Registered address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, WA14 2DT, United Kingdom

Trading address: Huckletree Oxford Circus, 213 Oxford Street, London, W1D 2LG, United Kingdom