Complete technical reference for all SurrealDB Agent Memory APIs, configuration options, data structures, and command-line tools.
In this section
Agent guide (AGENTS.md) - Instructions for coding agents.
REST API - End-user HTTP endpoints for memory and knowledge operations.
Management API - Control-plane endpoints for creating and configuring Contexts and API keys.
Python SDK - Complete method reference for the Python SDK.
JavaScript SDK - Complete method reference for the JavaScript and TypeScript SDK.
MCP tools - Input/output schemas for all seven MCP tools.
Configuration - Server and per-Context configuration options.
CLI - Command-line interface reference.
Data model and schema - SurrealDB schema for Context-local tables (authoritative and experiential streams share one database).
Errors - HTTP error codes and SDK exception types.
Glossary - Definitions of key terms (see also the Architecture glossary for pillar and memory vocabulary).