---
title: "Provenance | Agent Memory | SurrealDB"
description: "Answers you can prove. Agent Memory stores provenance on every fact and returns the exact sources behind each response."
url: https://surrealdb.com/agent-memory/provenance
---

PROVENANCE

# Answers you can prove

For agents that touch real decisions, 'the model said so' isn't enough. Agent Memory stores provenance as data on every fact, keeps a queryable trace of how each memory formed, and returns the exact sources behind every answer - so recall you can trust means recall you can defend.

[Join the waitlist](https://surrealdb.com/agent-memory/get-started) [Technical deep-dive](https://surrealdb.com/agent-memory/deep-dive)

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 |PROVABLE ANSWERS

## Every answer points back to its source

Provenance isn't a bolt-on log. It's a stored field on every row and a queryable trace graph, so any answer can be walked back to the exact messages and records it came from - by the agent, or by an auditor - without a separate logging pipeline to reconcile.

## Built to be defended

Provenance, audit, and access control are properties of the store itself - not application code you have to remember to write.

### [Provenance on every row](https://surrealdb.com/agent-memory/deep-dive)

Where a fact came from is a stored field, not metadata bolted on afterwards.

Learn more

### [Queryable trace graph](https://surrealdb.com/agent-memory/deep-dive)

How a memory formed is itself a graph you can traverse and audit.

Learn more

### [Cited answers](https://surrealdb.com/agent-memory/recall)

Recall returns the exact records behind each result, ready to show a stakeholder.

Learn more

### [Nothing overwritten](https://surrealdb.com/agent-memory/temporal)

Superseded facts are kept, so you can always see what changed and when.

Learn more

### [Deny by default](https://surrealdb.com/agent-memory/deep-dive)

Per-verb grants govern who can read and write which memories.

Learn more

### [Defensible by design](https://surrealdb.com/agent-memory/deep-dive)

When an answer reaches a decision-maker, the trail behind it is already there.

Learn more

02 |ONE SUBSTRATE

## Trust is a storage property, not a promise

Middleware bolts provenance on with external logging and hopes the two stay in sync. Agent Memory makes provenance part of every write, in the same ACID transaction as the fact - so the trail can never drift from the data.

### In the same transaction

A fact and its provenance commit together, so there's no window where one exists without the other.

### Queryable, not archived

The trace is live graph data you can ask questions of, not a log you grep after the fact.

### Audit without extra infrastructure

The audit trail is the store itself, so there's no separate logging pipeline to run, secure, and reconcile.

## Keep exploring

### [Recall](https://surrealdb.com/agent-memory/recall)

How sources come back with every answer.

Explore

### [Temporal memory](https://surrealdb.com/agent-memory/temporal)

How the past is kept, not overwritten.

Explore

### [Technical deep-dive](https://surrealdb.com/agent-memory/deep-dive)

Provenance and audit in full.

Explore

GET STARTED

## Give your agents answers you can defend

Provable recall, durable memory, and a queryable audit trail - one system you buy, secure, and audit once. Built on SurrealDB.

![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

[Join the waitlist](https://surrealdb.com/agent-memory/get-started) [Talk to sales](https://surrealdb.com/contact/sales)

```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","legalName":"SurrealDB Ltd","identifier":{"@type":"PropertyValue","propertyID":"GB-COH","value":"13615201"},"address":{"@type":"PostalAddress","streetAddress":"3rd Floor, 1 Ashley Road","addressLocality":"Altrincham","addressRegion":"Cheshire","postalCode":"WA14 2DT","addressCountry":"GB"},"contactPoint":[{"@type":"ContactPoint","contactType":"customer support","email":"support@surrealdb.com","url":"https://surrealdb.com/contact","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"sales","email":"info@surrealdb.com","url":"https://surrealdb.com/contact","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"security","email":"security@surrealdb.com","url":"https://surrealdb.com/.well-known/security.txt","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"legal","email":"legal@surrealdb.com","url":"https://surrealdb.com/legal","availableLanguage":"English"}],"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":"Agent Memory","item":"https://surrealdb.com/agent-memory"},{"@type":"ListItem","position":3,"name":"Provenance","item":"https://surrealdb.com/agent-memory/provenance"}]}
```
