SurrealDB home

Context at any scale

The data foundation for agentic AI. Enter your email to read the paper.

In this paper

  • Why the data foundation is the constraint on agents
  • Atomic context: every data model in one transaction
  • How one engine scales from embedded to object storage
  • Babcock
  • ING
  • British Airways
  • Nvidia
  • Apple
  • SpaceX
  • Samsung
  • adidas
  • Tencent
  • Alibaba
  • PolyAI
  • Later

4 topics

AI agents, Multi-model, Agent Memory, Scale

Ready to read it?

Get the whitepaper

The data foundation for agentic AI

Agents fail at the foundation, not the model. This paper sets out the case for a single multi-model engine that holds context, memory, and the scale to run them, from one agent to millions, and the limits of that approach.

Key takeaways

Why the data foundation, not the model, is the constraint on agents in production, and why bigger models and longer context windows have not moved it.

What an agent needs from data: a read-think-write loop, transactional state, relationships as first-class objects, and changes pushed rather than polled.

Atomic context: one engine where document, graph, vector, time-series and relational data share one transaction, one permission model and one audit trail.

The scale envelope, from an embedded library and SurrealKV on disk to SurrealDS on object storage and SurrealDB Earth, with one database per agent that scales to zero.

Agent Memory, PostgreSQL and MySQL compatibility, how other approaches compare, and the trade-offs and limitations of consolidating on one engine.

What's inside

  1. Executive summary
  2. The 2026 reality: the foundation is the constraint
  3. What an agent needs from data
  4. Context, semantics, and knowledge
  5. Why the fragmented stack falls short
  6. The architectural argument: atomic context
  7. From embedded to object storage: the scale envelope
  8. Memory is the missing half: Agent Memory
  9. Familiar SQL: PostgreSQL and MySQL compatibility
  10. Other approaches
  11. Trade-offs and limitations
  12. What this enables, and where to start
  13. Conclusion
  14. Technical appendix: a minimal illustration