> Full SurrealDB documentation index: https://surrealdb.com/docs/llms.txt

# Embedded library

In-process integration surfaces.

SurrealDB Agent Memory runs as a **horizontally scalable HTTP service** in front of SurrealDB. Application code integrates through:

| Surface | Description |
| --- | --- |
| **REST** | `/api/v1/{context_id}/...` |
| **MCP** | `/mcp` on the same port |
| **SDKs** | `surrealdb`, `@surrealdb/memory` |
| **Harness adapters** | LangChain, Vercel AI SDK, OpenAI Agents, n8n, Claude Code hook |

There is no supported in-process library that runs extraction and recall inside your binary without the SurrealDB Agent Memory server.

## Rust agents

Deploy the SurrealDB Agent Memory server and call the HTTP API or generated client.

## Related

- [Embedded quickstart](/docs/agent-memory/quickstarts/embedded.md)
- [Hosted quickstart](/docs/agent-memory/quickstarts/hosted.md)
