> ## Documentation Index
> Fetch the complete documentation index at: https://mem0-feature-memo-claude-plugin-v1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Browse cookbook examples and tutorials for building AI applications with Mem0, from companion chatbots to AI agents.

With Mem0, you can create stateful LLM-based applications such as chatbots, virtual assistants, or AI agents. Mem0 enhances your applications by providing a memory layer that makes responses:

* More personalized
* More reliable
* Cost-effective by reducing the number of LLM interactions
* More engaging
* Enriched by long-term memory

Here are some examples of how Mem0 can be integrated into various applications:

## Pick by compatibility

Every cookbook opens with a **Works with** badge naming the SDK surface it uses. Pick your setup below to see only the cookbooks that run on it. Three cookbooks work on both and appear under either tab.

<Tabs>
  <Tab title="Self-hosted OSS">
    Ten cookbooks run on the open-source `Memory` class, with no Mem0 Platform account.

    | Cookbook                                                                   | Category     | Works with       |
    | -------------------------------------------------------------------------- | ------------ | ---------------- |
    | [Personalized AI Tutor](/cookbooks/companions/ai-tutor)                    | Companions   | OSS only         |
    | [Build a Node.js Companion](/cookbooks/companions/nodejs-companion)        | Companions   | OSS only         |
    | [Self-Hosted AI Companion](/cookbooks/companions/local-companion-ollama)   | Companions   | OSS only         |
    | [Smart Travel Assistant](/cookbooks/companions/travel-assistant)           | Companions   | OSS only         |
    | [Build a Companion with Mem0](/cookbooks/essentials/building-ai-companion) | Essentials   | OSS and Platform |
    | [Bedrock with Persistent Memory](/cookbooks/integrations/aws-bedrock)      | Integrations | OSS only         |
    | [Automated Email Intelligence](/cookbooks/operations/email-automation)     | Operations   | OSS and Platform |
    | [Collaborative Task Assistant](/cookbooks/operations/team-task-agent)      | Operations   | OSS only         |
    | [Content Creation Workflow](/cookbooks/operations/content-writing)         | Operations   | OSS and Platform |
    | [Memory-Powered Support Agent](/cookbooks/operations/support-inbox)        | Operations   | OSS only         |
  </Tab>

  <Tab title="Hosted Platform">
    Twenty cookbooks run on the hosted Platform, using `MemoryClient` or the Mem0 MCP server with a `MEM0_API_KEY`.

    | Cookbook                                                                           | Category     | Works with       |
    | ---------------------------------------------------------------------------------- | ------------ | ---------------- |
    | [Interactive Memory Demo](/cookbooks/companions/quickstart-demo)                   | Companions   | Platform only    |
    | [Research Assistant for YouTube](/cookbooks/companions/youtube-research)           | Companions   | Platform only    |
    | [Voice-First AI Companion](/cookbooks/companions/voice-companion-openai)           | Companions   | Platform only    |
    | [Build a Companion with Mem0](/cookbooks/essentials/building-ai-companion)         | Essentials   | OSS and Platform |
    | [Export Stored Memories](/cookbooks/essentials/exporting-memories)                 | Essentials   | Platform only    |
    | [Partition Memories by Entity](/cookbooks/essentials/entity-partitioning-playbook) | Essentials   | Platform only    |
    | [Tag and Organize Memories](/cookbooks/essentials/tagging-and-organizing-memories) | Essentials   | Platform only    |
    | [Gemini 3 with Mem0 MCP](/cookbooks/frameworks/gemini-3-with-mem0-mcp)             | Frameworks   | Platform only    |
    | [Multi-Agent Collaboration](/cookbooks/frameworks/llamaindex-multiagent)           | Frameworks   | Platform only    |
    | [Persistent Eliza Characters](/cookbooks/frameworks/eliza-os-character)            | Frameworks   | Platform only    |
    | [ReAct Agents with Memory](/cookbooks/frameworks/llamaindex-react)                 | Frameworks   | Platform only    |
    | [Visual Memory Retrieval](/cookbooks/frameworks/multimodal-retrieval)              | Frameworks   | Platform only    |
    | [Healthcare Coach with ADK](/cookbooks/integrations/healthcare-google-adk)         | Integrations | Platform only    |
    | [Memory as OpenAI Tool](/cookbooks/integrations/openai-tool-calls)                 | Integrations | Platform only    |
    | [Memory-Powered Agent SDK](/cookbooks/integrations/agents-sdk-tool)                | Integrations | Platform only    |
    | [Persistent Mastra Agents](/cookbooks/integrations/mastra-agent)                   | Integrations | Platform only    |
    | [Search with Personal Context](/cookbooks/integrations/tavily-search)              | Integrations | Platform only    |
    | [Automated Email Intelligence](/cookbooks/operations/email-automation)             | Operations   | OSS and Platform |
    | [Content Creation Workflow](/cookbooks/operations/content-writing)                 | Operations   | OSS and Platform |
    | [Multi-Session Research Agent](/cookbooks/operations/deep-research)                | Operations   | Platform only    |
  </Tab>
</Tabs>

## Start here

The most popular cookbooks to get going fast:

<CardGroup cols={3}>
  <Card title="Build an AI companion" icon="users" href="/cookbooks/essentials/building-ai-companion">
    The core memory lifecycle, end to end.
  </Card>

  <Card title="Self-host with Ollama" icon="server" href="/cookbooks/companions/local-companion-ollama">
    Run Mem0 fully local with Ollama.
  </Card>

  <Card title="Partition memory by entity" icon="layer-group" href="/cookbooks/essentials/entity-partitioning-playbook">
    Scope memories per user, agent, and app.
  </Card>
</CardGroup>

## Essentials

<CardGroup cols={2}>
  <Card title="Build a Companion with Mem0" icon="users" href="/cookbooks/essentials/building-ai-companion">
    Learn core memory lifecycle patterns.
  </Card>

  <Card title="Partition Memories by Entity" icon="server" href="/cookbooks/essentials/entity-partitioning-playbook">
    Balance personalization with consistent behavior across users, agents, and apps.
  </Card>

  <Card title="Tag and Organize Memories" icon="tags" href="/cookbooks/essentials/tagging-and-organizing-memories">
    Use categories to keep retrieval fast and audits simple.
  </Card>

  <Card title="Export Memories" icon="download" href="/cookbooks/essentials/exporting-memories">
    Back up, migrate, and audit stored memory data.
  </Card>
</CardGroup>

## Companion Playbooks

<CardGroup cols={2}>
  <Card title="Interactive Memory Demo" icon="rocket" href="/cookbooks/companions/quickstart-demo">
    See Mem0 memories in action.
  </Card>

  <Card title="Research Assistant for YouTube" icon="video" href="/cookbooks/companions/youtube-research">
    Personalized context for video browsing.
  </Card>

  <Card title="Voice-First AI Companion" icon="microphone" href="/cookbooks/companions/voice-companion-openai">
    Voice-first experiences with Agents SDK.
  </Card>

  <Card title="Personalized AI Tutor" icon="graduation-cap" href="/cookbooks/companions/ai-tutor">
    Student progress persistent across sessions.
  </Card>

  <Card title="Smart Travel Assistant" icon="plane" href="/cookbooks/companions/travel-assistant">
    Itineraries that remember traveler preferences.
  </Card>

  <Card title="Build a Node.js Companion" icon="js" href="/cookbooks/companions/nodejs-companion">
    JavaScript fitness coach remembering goals.
  </Card>

  <Card title="Self-Hosted AI Companion" icon="server" href="/cookbooks/companions/local-companion-ollama">
    Run Mem0 end-to-end with Ollama.
  </Card>
</CardGroup>

## Ops & Automations

<CardGroup cols={2}>
  <Card title="Automated Email Intelligence" icon="envelope" href="/cookbooks/operations/email-automation">
    Capture and recall inbox threads.
  </Card>

  <Card title="Content Creation Workflow" icon="pencil" href="/cookbooks/operations/content-writing">
    Store tone and style guidelines.
  </Card>

  <Card title="Multi-Session Research Agent" icon="magnifying-glass" href="/cookbooks/operations/deep-research">
    Multi-session investigations without repeating.
  </Card>

  <Card title="Memory-Powered Support Agent" icon="headset" href="/cookbooks/operations/support-inbox">
    Past tickets at support fingertips.
  </Card>

  <Card title="Collaborative Task Assistant" icon="users" href="/cookbooks/operations/team-task-agent">
    Coordinate multi-user projects with roles.
  </Card>
</CardGroup>

## Integrations & Platforms

<CardGroup cols={2}>
  <Card title="Memory-Powered Agent SDK" icon="robot" href="/cookbooks/integrations/agents-sdk-tool">
    Callable tools inside agent workflows.
  </Card>

  <Card title="Memory as OpenAI Tool" icon="wrench" href="/cookbooks/integrations/openai-tool-calls">
    Memories in function-calling flows.
  </Card>

  <Card title="Persistent Mastra Agents" icon="code" href="/cookbooks/integrations/mastra-agent">
    Persistent memory for Mastra agents.
  </Card>

  <Card title="Healthcare Coach with ADK" icon="heart-pulse" href="/cookbooks/integrations/healthcare-google-adk">
    Patient history across ADK sessions.
  </Card>

  <Card title="Search with Personal Context" icon="search" href="/cookbooks/integrations/tavily-search">
    Realtime search with personal context.
  </Card>

  <Card title="Bedrock with Persistent Memory" icon="aws" href="/cookbooks/integrations/aws-bedrock">
    Mem0 with AWS Bedrock.
  </Card>
</CardGroup>

## Frameworks & Multimodal

<CardGroup cols={2}>
  <Card title="ReAct Agents with Memory" icon="brain" href="/cookbooks/frameworks/llamaindex-react">
    ReAct agents with memory storage.
  </Card>

  <Card title="Multi-Agent Collaboration" icon="users" href="/cookbooks/frameworks/llamaindex-multiagent">
    Shared memory across collaborating agents.
  </Card>

  <Card title="Visual Memory Retrieval" icon="image" href="/cookbooks/frameworks/multimodal-retrieval">
    Visual context alongside text conversations.
  </Card>

  <Card title="Persistent Eliza Characters" icon="robot" href="/cookbooks/frameworks/eliza-os-character">
    Persistent personality for Eliza agents.
  </Card>
</CardGroup>

***

## Contribute a Cookbook

Have a unique Mem0 use case or integration? We'd love to feature your cookbook!

All cookbooks follow a standardized template to ensure consistency and quality. Check out our template to see the structure and best practices.

<CardGroup cols={2}>
  <Card title="Cookbook Template" icon="book-open" href="/templates/cookbook_template">
    Follow this structure for narrative, end-to-end Mem0 workflows.
  </Card>

  <Card title="Contribution Guide" icon="github" href="https://github.com/mem0ai/mem0/blob/main/CONTRIBUTING.md">
    Learn how to submit your cookbook to the Mem0 repository.
  </Card>
</CardGroup>
