---
title: "SurrealDB 3.0 release highlights"
description: "SurrealDB 3.0 is a major release that brings new features and improvements to the database."
url: https://surrealdb.com/3.0
---

VERSION 3.0

# Introducing SurrealDB 3.0

First-class agent memory. A new in-memory engine. Native extensions. The biggest release since 2.0.

[Read the announcement](https://surrealdb.com/blog/introducing-surrealdb-3-0--the-future-of-ai-agent-memory) [View benchmarks](https://surrealdb.com/blog/surrealdb-3-0-benchmarks-a-new-foundation-for-performance)

1. ![Babcock](https://surrealdb.com/assets/static/babcock.lo4rnVg1.svg)
2. ![ING](https://surrealdb.com/assets/static/ing.X3I6S3_V.svg)
3. ![British Airways](https://surrealdb.com/assets/static/british-airways.KEsZiwV-.svg)
4. ![Nvidia](https://surrealdb.com/assets/static/nvidia.DaIEuMil.svg)
5. ![Apple](https://surrealdb.com/assets/static/apple.D5pq4flY.svg)
6. ![SpaceX](https://surrealdb.com/assets/static/spacex.CQJEk-IL.svg)
7. ![Samsung](https://surrealdb.com/assets/static/samsung.CH-vQgnb.svg)
8. ![adidas](https://surrealdb.com/assets/static/adidas.DdTC5qhk.svg)
9. ![Tencent](https://surrealdb.com/assets/static/tencent.paQmLxyy.svg)
10. ![Alibaba](https://surrealdb.com/assets/static/alibaba.B16idgfM.svg)
11. ![PolyAI](https://surrealdb.com/assets/static/poly-ai.c3w_fAg6.svg)
12. ![Later](https://surrealdb.com/assets/static/later.Ds736jFO.svg)
13. ![Verizon](https://surrealdb.com/assets/static/verizon.BI7CajdX.svg)
14. ![Liberty Mutual](https://surrealdb.com/assets/static/liberty-mutual.B7qOU1pd.svg)
15. ![Walmart](https://surrealdb.com/assets/static/walmart.BjDg_Sr8.svg)
16. ![Carrier](https://surrealdb.com/assets/static/carrier.D21gC6NX.svg)
17. ![Saks Fifth Avenue](https://surrealdb.com/assets/static/saks-fifth-avenue.COIDpLSb.svg)
18. ![San Francisco Compute Company](https://surrealdb.com/assets/static/sfcc.B7jlImq4.svg)
19. ![Shield AI](https://surrealdb.com/assets/static/shield-ai.pINZ0KJr.svg)
20. ![Wix](https://surrealdb.com/assets/static/wix.DvHhmoBi.svg)

01 |THE LAUNCH

## A walk-through of SurrealDB 3.0

A guided tour through the biggest release since 2.0 - Agent Memory primitives, the new in-memory engine, native extensions, and the architectural shifts beneath them.

01 |THE LAUNCH

## A walk-through of SurrealDB 3.0

A guided tour through the biggest release since 2.0 - Agent Memory primitives, the new in-memory engine, native extensions, and the architectural shifts beneath them.

02 |THE CONTEXT

## AI agents need reliable memory

Today's agents struggle to remember facts consistently, understand relationships across context, and keep memory in sync with the rest of the system. SurrealDB 3.0 turns the database into the agent's memory - multi-model, ACID, and queryable in a single round trip.

[Explore Agent Memory, our agent memory layer](https://surrealdb.com/agent-memory)

03 |WHAT'S NEW

## Dive into SurrealDB 3.0

Native WASM extensions, first-class file storage, an indexing overhaul, client-side transactions, computed fields, a stable GraphQL interface, and 150+ closed bugs - drawn from a year of alpha and beta releases.

[See all 3.0 features](https://surrealdb.com/surrealdb/features) [Read the full release notes](https://surrealdb.com/releases)

### Streaming query planner

A new execution engine streams results as they're produced, batches scanner retrievals, and unlocks concurrent writes on HNSW vector indexes. Workloads finish faster and stay predictable as data grows.

QUERY PLAN

scan idx_users

0.4 ms

batch fetch orders

0.9 ms

vector kNN (HNSW)

1.3 ms

stream → client

1.7 ms

### WebAssembly extensions

Run WASM plugins directly inside SurrealQL. Embed AI logic, business rules, and custom transforms next to your data, with first-class access to the engine's primitives.

DEFINE MODULE

ai FROM bucket:wasm

mod::ai::rerank

Loaded

mod::nlp::tokenise

Loaded

mod::ai::classify

Loading

### File storage

Buckets and file pointers are first-class types in SurrealQL. Store, fetch, and stream files alongside structured data inside one transaction boundary - no separate object store glue.

BUCKET assets

BACKEND s3

report.pdf

2.4 MB

model.bin

164 MB

image.png

890 KB

data.csv

12 KB

### In-memory engine

A lock-free, MVCC-based engine that delivers ultra-low latency with full ACID guarantees and massive concurrency. Optional background persistence keeps durability on the table without compromising throughput.

P99 LATENCY · 1M ROWS

disk

1.20 ms

memory

0.08 ms

ACID

Yes

Concurrent

MVCC

Persist

Optional

### Indexing overhaul

Concurrent index updates under heavy write load, range scans on compound indexes, early-stop iteration on START/LIMIT, and a new ALTER INDEX statement for safe decommissioning.

INDEX PLANNER

idx_users_email

HIT

idx_orders_ts

RANGE

idx_legacy_v1

REMOVING

Concurrent

Yes

ALTER INDEX

Safe

### Client-side transactions

Group operations across multiple SDK calls and commit when ready. Full ACID guarantees, no server-side state hacks, no half-applied writes.

TX 0x9a3f · CLIENT

BEGIN

✓

INSERT user:01

✓

INSERT order:42

✓

UPDATE balance

✓

COMMIT

Ready

### Custom API endpoints

DEFINE API ships HTTP routes and middleware directly inside SurrealQL, complete with a permissions model. Pull external middleware out of your architecture without losing control.

METHOD

PATH

STATUS

GET

/users

200

POST

/orders

201

PATCH

/users/:id

200

DELETE

/sessions/:id

204

### Record references

Bidirectional links at the schema level. Cleaner queries, faster graph traversal, and no manual relation bookkeeping - the database keeps both sides in sync for you.

person:billy

REFERENCED BY

name

"Billy"

licenses

<~license

COMPUTED

REF

license:42

SCHEMA

owner

person:billy

REFERENCE

valid

true

### Computed fields

Define logic once in the schema with the new COMPUTED keyword, evaluated consistently at query time. Replaces the futures type with shorter syntax, guardrails, and no per-record overhead.

DEFINE FIELD

valid ON license COMPUTED expires > time::now()

SELECT id, valid

license:01

true

license:02

false

license:03

true

### GraphQL is stable

A re-architected GraphQL interface with full mutation support, built-in authentication, permission enforcement, rich filtering, and N+1 query optimisations. Enabled by default - no experimental flag.

POST /graphql

200 OK

query

users(limit: 5) {

id, name,

posts { title }

}

Stable

Auth

N+1 ✓

### Production-ready foundations

Synced writes are now the default for durability. Over 150 bugs closed, automated CRUD benchmarks on every PR, and the Go and Java SDKs at 1.0 - the safer defaults are now the standard.

PRODUCTION READY

Bugs fixed

150+

Synced writes

Default

Go SDK

1.0

Java SDK

1.0

04 |TALK TO US

## See SurrealDB 3.0 in your stack

Book a personalised walk-through with our team. We'll show how 3.0 fits your architecture, scope a proof of concept with your data, and help you plan a migration from 2.x.

- A guided tour of agent memory, the in-memory engine, and the plugin system
- Migration guidance from 2.x, including breaking changes and diagnostics
- Scoping help for a proof of concept against your own data and workloads

GET STARTED

## Start building with SurrealDB

The unified data layer for AI. Simplify your stack. Reduce complexity. Build faster.

![Samsung](https://surrealdb.com/assets/static/4c58b81e7b3c9466.C_Hv0eml.svg)![NVIDIA](https://surrealdb.com/assets/static/nvidia.DaIEuMil.svg)![Apple](https://surrealdb.com/assets/static/f7dc2519e0d212bc.Cn8MYAK7.svg)![Verizon](https://surrealdb.com/assets/static/18b99996c689000f.B5PQ-nI9.svg)![Tencent](https://surrealdb.com/assets/static/401d8346058682c8.DqM87mst.svg)

SOC 2 Type 2

GDPR

Cyber Essentials Plus

ISO 27001

[Start free with SurrealDB](https://studio.surrealdb.com/current/instances/deploy) [Learn more](https://surrealdb.com/docs/what-is-surrealdb)

```json
{"@context":"https://schema.org","@type":"Organization","name":"SurrealDB","url":"https://surrealdb.com","logo":"https://surrealdb.com/assets/static/logo.BG7_TG2b.svg","description":"SurrealDB is the unified data layer for AI. A multi-model database for documents, graphs, vectors, and time-series.","foundingDate":"2022","hasCertification":[{"@type":"Certification","name":"SOC 2 Type 2"},{"@type":"Certification","name":"GDPR"},{"@type":"Certification","name":"Cyber Essentials Plus"},{"@type":"Certification","name":"ISO 27001"}],"owns":[{"@type":"SoftwareApplication","name":"SurrealDB","url":"https://surrealdb.com/surrealdb"},{"@type":"SoftwareApplication","name":"Agent Memory","url":"https://surrealdb.com/agent-memory"}],"knowsAbout":["multi-model databases","document databases","graph databases","vector search","time-series databases","SurrealQL","Agent Memory","real-time databases","embedded databases","context layer","graph ontology","distributed database","knowledge graphs","distributed transaction protocols","highly-scalable databases"],"sameAs":["https://www.wikidata.org/wiki/Q124316308","https://github.com/surrealdb/surrealdb","https://twitter.com/surrealdb","https://www.youtube.com/@surrealdb","https://www.linkedin.com/company/surrealdb","https://discord.gg/surrealdb","https://www.reddit.com/r/surrealdb","https://www.instagram.com/surrealdb","https://medium.com/surrealdb","https://dev.to/surrealdb"]}
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://surrealdb.com"},{"@type":"ListItem","position":2,"name":"3.0","item":"https://surrealdb.com/3.0"}]}
```
