SurrealDB

Multi-model database combining document, graph, relational, and vector capabilities in a single system with SurrealQL query language.

Evaluated Mar 06, 2026 (0d ago) v2.x
Homepage ↗ Repo ↗ Other database multi-model graph sql document rust
⚙ Agent Friendliness
58
/ 100
Can an agent use this?
🔒 Security
65
/ 100
Is it safe for agents?
⚡ Reliability
50
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
78
Error Messages
75
Auth Simplicity
78
Rate Limits
85

🔒 Security

TLS Enforcement
0
Auth Strength
80
Scope Granularity
85
Dep. Hygiene
78
Secret Handling
80

Fine-grained record-level permissions via PERMISSIONS clauses. BSL license should be reviewed for production use.

⚡ Reliability

Uptime/SLA
0
Version Stability
68
Breaking Changes
62
Error Recovery
72
AF Security Reliability

Best When

Best for AI agent backends needing graph traversal + document storage in a single query without separate systems.

Avoid When

Avoid for mission-critical production systems requiring the stability and ecosystem maturity of PostgreSQL or MongoDB.

Use Cases

  • Build knowledge graph backends for AI agents that need both document and relationship queries
  • Store agent memory as interconnected records with graph traversal for context retrieval
  • Implement real-time subscriptions for agent state synchronization via LIVE SELECT queries
  • Handle complex multi-model data (documents + relationships) without separate graph and document DBs
  • Build multi-tenant applications using SurrealDB's namespace/database/scope access model

Not For

  • High-volume OLTP workloads where PostgreSQL's maturity and tooling ecosystem is essential
  • Teams requiring proven production track record — SurrealDB 2.x is still maturing
  • Projects requiring standard SQL compatibility with existing BI tools and ORMs

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: basic_auth jwt
OAuth: No Scopes: Yes

Root, namespace, database, and scope-level auth. JWT tokens for scoped user access. Record-level permissions via PERMISSIONS clauses.

Pricing

Model: open_source
Free tier: Yes
Requires CC: No

BSL licensed (source-available, not OSI open source for some use cases). Check license for commercial use.

Agent Metadata

Pagination
offset
Idempotent
Partial
Retry Guidance
Not documented

Known Gotchas

  • SurrealDB 2.x has significant breaking changes from 1.x — migration required and docs may reference old syntax
  • BSL license restricts SaaS/DBaaS use — verify license terms before embedding SurrealDB in a commercial product
  • Record IDs in SurrealDB include the table name (person:john) — queries must use full record ID format, not just the key
  • LIVE SELECT subscriptions require WebSocket connection — HTTP REST API does not support live queries
  • Graph edges (RELATE) are first-class records — querying graph relationships uses SELECT ->edge->target syntax, not SQL JOIN

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for SurrealDB.

$99

Scores are editorial opinions as of 2026-03-06.

5178
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered