Added improved docs index and overview pages and quickstart (#3603)

This commit is contained in:
Parth Sharma
2025-10-22 10:30:45 -07:00
committed by GitHub
parent ec1a60bf8d
commit f7d7c53001
65 changed files with 2182 additions and 2299 deletions
+55 -100
View File
@@ -1,116 +1,71 @@
---
title: Introduction
icon: "book"
iconType: "solid"
title: "Welcome to Mem0"
description: "Memory layer for AI agents"
mode: "custom"
---
<Info>
Check out our [research paper](https://mem0.ai/research) to learn about the technical foundations and innovations behind Mem0's memory architecture.
</Info>
{/* debug: welcome-layout-v2 */}
Mem0 is a memory layer designed for modern AI agents. It acts as a persistent memory layer that agents can use to:
<div className="px-4 pt-16 pb-12 lg:pt-20 max-w-4xl mx-auto text-center space-y-4">
<h1 className="text-3xl lg:text-4xl font-bold text-gray-900 dark:text-zinc-50 tracking-tight mb-3">
Build with <span className="text-primary">mem0</span>
</h1>
- Recall relevant past interactions
- Store important user preferences and factual context
- Learn from successes and failures
<p className="max-w-2xl mx-auto text-base text-gray-600 dark:text-zinc-400 leading-relaxed">
Universal, Self-improving memory layer for LLM applications.
</p>
It gives AI agents memory so they can remember, learn, and evolve across interactions. Mem0 integrates easily into your agent stack and scales from prototypes to production systems.
<a
href="/platform/quickstart"
className="inline-flex items-center gap-1 text-sm text-gray-500 dark:text-zinc-500 hover:text-primary dark:hover:text-primary transition-colors"
>
Write your first memory
<span className="group-hover:translate-x-0.5 transition-transform">→</span>
</a>
</div>
<section className="px-4 max-w-6xl mx-auto space-y-4">
<div className="text-center">
<h2 className="text-xl font-semibold text-gray-900 dark:text-zinc-100">
Mem0 Products
</h2>
</div>
## Stateless vs. Stateful Agents
<CardGroup cols={3}>
<Card title="Mem0 Platform" icon="rocket" href="/platform/overview">
Managed memory with production-scale infrastructure, ready in minutes.
</Card>
Most current agents are stateless: they process a query, generate a response, and forget everything. Even with huge context windows, everything resets the next session.
<Card title="Mem0 Open Source" icon="code-branch" href="/open-source/overview">
Self-host the Mem0 stack for full control over data, deployment, and customization.
</Card>
Stateful agents, powered by Mem0, are different. They retain context, recall what matters, and behave more intelligently over time.
<Card title="OpenMemory" icon="brain" href="/openmemory/overview">
Workspace-based memory for teams collaborating across agents and projects.
</Card>
<Frame>
<img src="/images/stateless-vs-stateful-agent.png" />
</Frame>
</CardGroup>
</section>
<section className="px-4 pt-12 pb-20 max-w-6xl mx-auto space-y-4">
<div className="text-center">
<h2 className="text-xl font-semibold text-gray-900 dark:text-zinc-100">
Developer Resources
</h2>
</div>
## Where Memory Fits in the Agent Stack
<CardGroup cols={3}>
<Card title="Cookbooks" icon="book-open" href="/examples">
Production-ready tutorials that show how to ship memorable AI experiences.
</Card>
Mem0 sits alongside your retriever, planner, and LLM. Unlike retrieval-based systems (like RAG), Mem0 tracks past interactions, stores long-term knowledge, and evolves the agent’s behavior.
<Card title="Integrations" icon="plug" href="/integrations">
Connect Mem0 to LangChain, CrewAI, Vercel AI SDK, and 20+ partner frameworks.
</Card>
<Frame>
<img src="/images/memory-agent-stack.png" />
</Frame>
<Card title="API reference" icon="terminal" href="/api-reference">
Explore every REST endpoint with payload examples and usage guidance.
</Card>
Memory isn't about pushing more tokens into a prompt—it's about intelligently remembering context that matters. This distinction is important:
| Capability | Context Window | Mem0 Memory |
|------------------|------------------------|-----------------------------|
| Retention | Temporary | Persistent |
| Cost | Grows with input size | Optimized (only what matters) |
| Recall | Token proximity | Relevance + intent-based |
| Personalization | None | Deep, evolving profile |
| Behavior | Reactive | Adaptive |
## Memory vs. RAG: Complementary Tools
RAG (Retrieval-Augmented Generation) is great for fetching facts from documents. But it’s stateless. It doesn’t know who the user is, what they’ve asked before, or what failed last time.
Mem0 provides continuity. It stores decisions, preferences, and context—not just knowledge.
| Aspect | RAG | Mem0 Memory |
|--------------------|-------------------------------|-------------------------------|
| Statefulness | Stateless | Stateful |
| Recall Type | Document lookup | Evolving user context |
| Use Case | Ground answers in data | Guide behavior across time |
Together, they're stronger: RAG informs the LLM while Mem0 shapes its memory.
## Types of Memory in Mem0
Mem0 supports different types of memory to mimic how humans store information:
- **Working Memory**: short-term session awareness
- **Factual Memory**: long-term structured knowledge (e.g., preferences, settings)
- **Episodic Memory**: records specific past conversations
- **Semantic Memory**: builds general knowledge over time
## Why Developers Choose Mem0
Mem0 isn’t a wrapper around a vector store. It’s a full memory engine with:
- **LLM-based extraction**: Intelligently decides what to remember
- **Filtering & decay**: Avoids memory bloat, forgets irrelevant info
- **Cost Reduction**: Save compute costs with smart prompt injection of only relevant memories
- **Dashboards & APIs**: Observability, fine-grained control
- **Cloud and OSS**: Use our platform version or our open-source SDK version
Plug Mem0 into your agent framework—it doesn't replace your LLM or workflows. Instead, it adds a smart memory layer on top.
## Core Capabilities
- **Reduced token usage and faster responses**: sub-50 ms lookups
- **Semantic memory**: procedural, episodic, and factual support
- **Multimodal support**: handle both text and images
- **Graph memory**: connect insights and entities across sessions
- **Host your way**: either a managed service or a self-hosted version
## Getting Started
Mem0 offers two powerful ways to leverage our technology: our [managed platform](/platform/overview) and our [open source solution](/open-source/overview).
<CardGroup cols={3}>
<Card title="Quickstart" icon="rocket" href="/quickstart">
Integrate Mem0 in a few lines of code
</Card>
<Card title="Playground" icon="play" href="https://app.mem0.ai/playground">
Mem0 in action
</Card>
<Card title="Examples" icon="lightbulb" href="/examples">
See what you can build with Mem0
</Card>
</CardGroup>
## Need help?
If you have any questions, please feel free to reach out to us using one of the following methods:
<Snippet file="get-help.mdx"/>
</CardGroup>
</section>