Files
mem0/docs/cookbooks/overview.mdx
T

141 lines
6.3 KiB
Plaintext

---
title: Overview
description: How to use mem0 in your existing applications?
---
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
- Enables long-term memory
Here are some examples of how Mem0 can be integrated into various applications:
## Essentials
<CardGroup cols={2}>
<Card title="Build a Mem0 Companion" icon="users" href="/cookbooks/essentials/building-ai-companion">
Learn the core memory lifecycle before diving into codebases.
</Card>
<Card title="Scope User vs Agent Memories" icon="sparkles" href="/cookbooks/essentials/building-ai-with-personality">
Balance personalization with consistent assistant behavior.
</Card>
<Card title="Control Memory Ingestion" icon="filter" href="/cookbooks/essentials/controlling-memory-ingestion">
Filter speculation, enforce formats, and gate low-confidence data.
</Card>
<Card title="Set Memory Expiration" icon="timer" href="/cookbooks/essentials/memory-expiration-short-and-long-term">
Define short-term versus long-term retention strategies.
</Card>
</CardGroup>
## Companion Playbooks
<CardGroup cols={2}>
<Card title="Quickstart Demo with Mem0" icon="rocket" href="/cookbooks/companions/quickstart-demo">
Spin up the showcase app to see Mem0 memories in action.
</Card>
<Card title="Node.js Companion with Mem0" icon="code" href="/cookbooks/companions/nodejs-companion">
Build a JavaScript coach that remembers user goals.
</Card>
<Card title="AI Tutor with Mem0" icon="graduation-cap" href="/cookbooks/companions/ai-tutor">
Deliver lessons that adapt to student progress and gaps.
</Card>
<Card title="Travel Assistant with Mem0" icon="plane" href="/cookbooks/companions/travel-assistant">
Plan itineraries that remember traveler preferences across trips.
</Card>
<Card title="YouTube Research with Mem0" icon="video" href="/cookbooks/companions/youtube-research">
Layer personalized context over any video in the browser.
</Card>
<Card title="Voice Companion with Mem0 and OpenAI" icon="microphone" href="/cookbooks/companions/voice-companion-openai">
Pair the OpenAI Agents SDK with Mem0 for voice-first experiences.
</Card>
<Card title="Local Companion with Mem0 and Ollama" icon="server" href="/cookbooks/companions/local-companion-ollama">
Run Mem0 end-to-end on your machine with Ollama models.
</Card>
</CardGroup>
## Ops & Automations
<CardGroup cols={2}>
<Card title="Support Inbox with Mem0" icon="headset" href="/cookbooks/operations/support-inbox">
Keep past tickets and resolutions at an agent's fingertips.
</Card>
<Card title="Email Automation with Mem0" icon="envelope" href="/cookbooks/operations/email-automation">
Capture, categorize, and recall inbox threads via memory.
</Card>
<Card title="Content Writing with Mem0" icon="pencil" href="/cookbooks/operations/content-writing">
Store tone and style guidelines once—apply them everywhere.
</Card>
<Card title="Deep Research with Mem0" icon="magnifying-glass" href="/cookbooks/operations/deep-research">
Run multi-session investigations without repeating yourself.
</Card>
<Card title="Team Task Agent with Mem0" icon="users" href="/cookbooks/operations/team-task-agent">
Coordinate projects with shared memories across contributors.
</Card>
</CardGroup>
## Integrations & Platforms
<CardGroup cols={2}>
<Card title="Agents SDK Tool with Mem0" icon="robot" href="/cookbooks/integrations/agents-sdk-tool">
Expose Mem0 memories as callable tools inside agent workflows.
</Card>
<Card title="OpenAI Tool Calls with Mem0" icon="wrench" href="/cookbooks/integrations/openai-tool-calls">
Drop memories into OpenAI's inbuilt function-calling flows.
</Card>
<Card title="Mastra Agent with Mem0" icon="code" href="/cookbooks/integrations/mastra-agent">
Extend Mastra agents with persistent memory state.
</Card>
<Card title="Healthcare Coach with Mem0 and Google ADK" icon="heart-pulse" href="/cookbooks/integrations/healthcare-google-adk">
Remember patient history across ADK sessions.
</Card>
<Card title="AWS Bedrock with Mem0" icon="aws" href="/cookbooks/integrations/aws-bedrock">
Pair Mem0 with Bedrock, OpenSearch, and Neptune Analytics.
</Card>
<Card title="Neptune Analytics with Mem0" icon="database" href="/cookbooks/integrations/neptune-analytics">
Build a hybrid vector + graph memory store on AWS.
</Card>
<Card title="Tavily Search with Mem0" icon="search" href="/cookbooks/integrations/tavily-search">
Blend realtime search with personal context.
</Card>
</CardGroup>
## Frameworks & Multimodal
<CardGroup cols={2}>
<Card title="LlamaIndex ReAct with Mem0" icon="brain" href="/cookbooks/frameworks/llamaindex-react">
Teach a ReAct agent to store and recall context via Mem0.
</Card>
<Card title="LlamaIndex Multi-Agent with Mem0" icon="users" href="/cookbooks/frameworks/llamaindex-multiagent">
Share a persistent memory layer across collaborating agents.
</Card>
<Card title="Multimodal Retrieval with Mem0" icon="image" href="/cookbooks/frameworks/multimodal-retrieval">
Store and recall visual context alongside text conversations.
</Card>
<Card title="Eliza OS Character with Mem0" icon="robot" href="/cookbooks/frameworks/eliza-os-character">
Bring persistent personality to Eliza OS agents.
</Card>
<Card title="Chrome Extension with Mem0" icon="globe" href="/cookbooks/frameworks/chrome-extension">
Add Mem0's universal memory layer to Chrome chat surfaces.
</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>