# Embedded library quickstart

Integration surfaces for SurrealDB Agent Memory.

SurrealDB Agent Memory runs as a **horizontally scalable service** in front of SurrealDB. Integrate through:

- **HTTP** - `/api/v1/{context_id}/...` ([REST API](/docs/agent-memory/integrations/surfaces/rest.md))
- **MCP** - `/mcp` on the same port
- **Generated SDKs** - Python (`surrealdb`) and TypeScript (`@surrealdb/spectron`)
- **Harness adapters** - LangChain, Vercel AI SDK, OpenAI Agents, n8n, Claude Code hook ([Integrations](/docs/agent-memory/integrations.md))

## In-process library

There is **no** supported in-process API that runs extraction and recall inside your application binary without the SurrealDB Agent Memory server. Rust, Python, and TypeScript agents call the HTTP API or SDK against a deployed SurrealDB Agent Memory instance.

## What to use

| Goal | Use |
| --- | --- |
| Python / TypeScript agent | [Python](/docs/agent-memory/integrations/sdks/python.md) or [JavaScript SDK](/docs/agent-memory/integrations/sdks/javascript-and-typescript.md) |
| Coding assistant | [MCP install](/docs/agent-memory/integrations/mcp-server/install.md) |
| LangChain / Vercel AI / OpenAI Agents | [Framework adapters](/docs/agent-memory/integrations/frameworks/langchain.md) |
| Hosted SurrealDB Agent Memory | [Hosted quickstart](/docs/agent-memory/quickstarts/hosted.md) |

See also [Embedded library](/docs/agent-memory/integrations/surfaces/embedded-library.md) for Rust-specific notes.
