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

# Cookbooks

Opinionated recipes and migration guides.

Practical, end-to-end guides for building trustworthy agent memory with SurrealDB Agent Memory. They assume familiarity with the [eight pillars](/docs/agent-memory/architecture/eight-pillars-and-categories.md) and [unified substrate](/docs/agent-memory/mental-model/two-layer-architecture.md).

## Showcase

- [Robin Hood character graph](/docs/agent-memory/cookbooks/showcase/robin-hood.md) - a book ingested chapter by chapter, drawn as the cast known at each reading position

## Build

- [Customer support agent](/docs/agent-memory/cookbooks/build/customer-support-agent.md)
- [Personal AI assistant](/docs/agent-memory/cookbooks/build/personal-ai-assistant.md)

## Patterns

- [User memory in chat](/docs/agent-memory/cookbooks/patterns/user-memory-in-chat.md)
- [Knowledge-grounded agents](/docs/agent-memory/cookbooks/patterns/knowledge-grounded-agents.md)
- [Reflection loops](/docs/agent-memory/cookbooks/patterns/reflection-loops.md)
- [Stateful workflows](/docs/agent-memory/cookbooks/patterns/stateful-workflows.md)
- [Adding memory to an existing app](/docs/agent-memory/cookbooks/patterns/adding-memory-to-existing-app.md)
- [Spoiler-safe narrative memory](/docs/agent-memory/cookbooks/patterns/spoiler-safe-narrative-memory.md)
- [Event-driven game client](/docs/agent-memory/cookbooks/patterns/event-driven-game-client.md)
- [Historical and archaeological data](/docs/agent-memory/cookbooks/patterns/historical-and-archaeological-data.md)

## Migrate

- [From a vector store](/docs/agent-memory/cookbooks/migrate/from-vector-store.md)
- [From Zep](/docs/agent-memory/cookbooks/migrate/from-zep.md)
- [From LangMem](/docs/agent-memory/cookbooks/migrate/from-langmem.md)

## More recipes

- [Coding agent with project memory](/docs/agent-memory/cookbooks/build/coding-agent-with-project-memory.md) - an assistant that remembers a codebase between sessions
- [Long-running research agent](/docs/agent-memory/cookbooks/build/long-running-research-agent.md) - accumulate findings across many runs
- [Multi-agent shared memory](/docs/agent-memory/cookbooks/build/multi-agent-shared-memory.md) - several agents reading and writing one context
- [Migrate from Mem0](/docs/agent-memory/cookbooks/migrate/from-mem0.md) - move an existing Mem0 store across
