This section holds the complete technical reference for SurrealDB Agent Memory: the APIs, the configuration options and the command-line tools. It is organised for lookup. Learn explains how the pieces work, and Integrate covers connecting to them.
The REST API is the contract that every other surface follows. The SDKs, the CLI and the MCP tools each call it, so a field that one of them does not expose can still be set over REST. The SDK references cover Python, JavaScript, Kotlin and Swift, and the other client libraries have a page of their own under Integrate.
Pages in this section
Agent guide (AGENTS.md)
Instructions for coding agents integrating with SurrealDB Agent Memory - copy into Cursor rules or skills.
REST API
End-user HTTP endpoints on the unified substrate. For SurrealDB Agent Memory.
MCP tools
Input and output schemas for the seven Agent Memory MCP tools.
JavaScript SDK reference
Package layout and configuration for @surrealdb/memory.
Kotlin SDK reference
The SurrealDB Agent Memory Kotlin client. Package layout, configuration, and the error model.
Python SDK reference
The SurrealDB Agent Memory client inside the surrealdb package. Package layout and configuration.
Swift SDK reference
The SurrealDB Agent Memory Swift client. Package layout and configuration.
CLI
The Agent Memory command-line interface, the surreal memory command: its subcommands and options.
Configuration
Per-Context configuration fields, models, provider keys, and limits.
Errors
HTTP error codes and SDK exception types for Agent Memory, with how to troubleshoot them.
Glossary
Alphabetical definitions of the terms used across the SurrealDB Agent Memory docs: pillars, memory categories, scopes, provenance, reconciliation, time, retrieval tiers and traces.