The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
fix(docs): add redirect rules for legacy and moved documentation pages (#4413)
Saket Aryan0c4d0290cbb2
diff --git a/docs/api-reference.mdx b/docs/api-reference.mdxindex 0f31c61c9..e162d8301 100644--- a/docs/api-reference.mdx+++ b/docs/api-reference.mdx@@ -20,8 +20,8 @@ Mem0 provides a comprehensive REST API for integrating advanced memory capabilitGet started with Mem0 API in three simple steps:1. **[Add Memories](/api-reference/memory/add-memories)** - Store information and context from user conversations-2. **[Search Memories](/api-reference/memory/v2-search-memories)** - Retrieve relevant memories using semantic search-3. **[Get Memories](/api-reference/memory/v2-get-memories)** - Fetch all memories for a specific entity+2. **[Search Memories](/api-reference/memory/search-memories)** - Retrieve relevant memories using semantic search+3. **[Get Memories](/api-reference/memory/get-memories)** - Fetch all memories for a specific entity---@@ -32,7 +32,7 @@ Get started with Mem0 API in three simple steps:Store new memories from conversations and interactions</Card>- <Card title="Search Memories" icon="magnifying-glass" href="/api-reference/memory/v2-search-memories">+ <Card title="Search Memories" icon="magnifying-glass" href="/api-reference/memory/search-memories">Find relevant memories using semantic search with filters</Card>@@ -102,7 +102,7 @@ Get your API key from the [Mem0 Dashboard](https://app.mem0.ai/dashboard/api-keyStart storing memories via the REST API</Card>- <Card title="Search with Filters" icon="filter" href="/api-reference/memory/v2-search-memories">+ <Card title="Search with Filters" icon="filter" href="/api-reference/memory/search-memories">Learn advanced search and filtering techniques</Card></CardGroup>diff --git a/docs/docs.json b/docs/docs.jsonindex 125649fa6..84b83e3b7 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -859,6 +859,198 @@{"source": "/features/memory-export","destination": "/platform/features/memory-export"+ },+ {+ "source": "/v0x/components/:a/:b/:c",+ "destination": "/components/:a/:b/:c"+ },+ {+ "source": "/v0x/components/:a/:b",+ "destination": "/components/:a/:b"+ },+ {+ "source": "/v0x/core-concepts/:a/:b",+ "destination": "/core-concepts/:a/:b"+ },+ {+ "source": "/v0x/integrations/:slug",+ "destination": "/integrations/:slug"+ },+ {+ "source": "/v0x/open-source/:slug",+ "destination": "/open-source/:slug"+ },+ {+ "source": "/v0x/introduction",+ "destination": "/introduction"+ },+ {+ "source": "/features/async-client",+ "destination": "/platform/features/async-client"+ },+ {+ "source": "/features/custom-prompts",+ "destination": "/platform/features/platform-overview"+ },+ {+ "source": "/features/selective-memory",+ "destination": "/platform/features/platform-overview"+ },+ {+ "source": "/features/custom-categories",+ "destination": "/platform/features/custom-categories"+ },+ {+ "source": "/components/config",+ "destination": "/open-source/configuration"+ },+ {+ "source": "/concepts/memory-scoring",+ "destination": "/core-concepts/memory-types"+ },+ {+ "source": "/cookbooks/research-copilot",+ "destination": "/cookbooks/operations/deep-research"+ },+ {+ "source": "/platform/features/organizations-projects",+ "destination": "/api-reference/organizations-projects"+ },+ {+ "source": "/playground",+ "destination": "/platform/quickstart"+ },+ {+ "source": "/cdn-cgi/l/email-protection",+ "destination": "/introduction"+ },+ {+ "source": "/features/online-memory",+ "destination": "/platform/features/platform-overview"+ },+ {+ "source": "/features/multimodal",+ "destination": "/platform/features/multimodal-support"+ },+ {+ "source": "/features/inferences",+ "destination": "/platform/features/platform-overview"+ },+ {+ "source": "/features/graph-memory",+ "destination": "/platform/features/graph-memory"+ },+ {+ "source": "/features/:slug",+ "destination": "/platform/features/:slug"+ },+ {+ "source": "/platform/features/online-memory",+ "destination": "/platform/features/platform-overview"+ },+ {+ "source": "/platform/features/multimodal",+ "destination": "/platform/features/multimodal-support"+ },+ {+ "source": "/platform/features/inferences",+ "destination": "/platform/features/platform-overview"+ },+ {+ "source": "/platform/features/custom-prompts",+ "destination": "/platform/features/custom-instructions"+ },+ {+ "source": "/platform/features/rest-api",+ "destination": "/open-source/features/rest-api"+ },+ {+ "source": "/components/embedders/models/google_ai",+ "destination": "/components/embedders/models/google_AI"+ },+ {+ "source": "/components/embedders/models/lm_studio",+ "destination": "/components/embedders/models/lmstudio"+ },+ {+ "source": "/components/llms/models/xai",+ "destination": "/components/llms/models/xAI"+ },+ {+ "source": "/components/llms/models/google_ai",+ "destination": "/components/llms/models/google_AI"+ },+ {+ "source": "/components/llms/models/mistral_ai",+ "destination": "/components/llms/models/mistral_AI"+ },+ {+ "source": "/components/llms/models/lm_studio",+ "destination": "/components/llms/models/lmstudio"+ },+ {+ "source": "/components/vectordbs/dbs/neptune-analytics",+ "destination": "/components/vectordbs/dbs/neptune_analytics"+ },+ {+ "source": "/components/vectordbs/dbs/s3-vectors",+ "destination": "/components/vectordbs/dbs/s3_vectors"+ },+ {+ "source": "/open-source/python_quickstart",+ "destination": "/open-source/python-quickstart"+ },+ {+ "source": "/open-source/node_quickstart",+ "destination": "/open-source/node-quickstart"+ },+ {+ "source": "/open-source/rest-api",+ "destination": "/open-source/features/rest-api"+ },+ {+ "source": "/cookbooks/deep-research",+ "destination": "/cookbooks/operations/deep-research"+ },+ {+ "source": "/v0x/overview",+ "destination": "/platform/overview"+ },+ {+ "source": "/v0x/quickstart",+ "destination": "/platform/quickstart"+ },+ {+ "source": "/v0x/faqs",+ "destination": "/platform/faqs"+ },+ {+ "source": "/integrations/multion",+ "destination": "/integrations"+ },+ {+ "source": "/integrations/composio",+ "destination": "/integrations"+ },+ {+ "source": "/integrations/qdrant",+ "destination": "/components/vectordbs/dbs/qdrant"+ },+ {+ "source": "/integrations/anthropic",+ "destination": "/components/llms/models/anthropic"+ },+ {+ "source": "/llms",+ "destination": "/components/llms/overview"+ },+ {+ "source": "/open-source/graph-memory",+ "destination": "/open-source/features/graph-memory"+ },+ {+ "source": "/cookbooks/customer-support-agent",+ "destination": "/cookbooks/operations/support-inbox"}]}\ No newline at end of filediff --git a/docs/llms.txt b/docs/llms.txtindex fed2454ad..1764c3f95 100644--- a/docs/llms.txt+++ b/docs/llms.txt@@ -104,7 +104,7 @@ Key differentiators:- [Together](https://docs.mem0.ai/components/llms/models/together): Open-source model inference platform- [DeepSeek](https://docs.mem0.ai/components/llms/models/deepseek): Advanced reasoning models- [Sarvam](https://docs.mem0.ai/components/llms/models/sarvam): Indian language models-- [XAI](https://docs.mem0.ai/components/llms/models/xai): xAI models integration+- [XAI](https://docs.mem0.ai/components/llms/models/xAI): xAI models integration- [LiteLLM](https://docs.mem0.ai/components/llms/models/litellm): Unified LLM interface and proxy- [LangChain](https://docs.mem0.ai/components/llms/models/langchain): LangChain LLM integration- [OpenAI Structured](https://docs.mem0.ai/components/llms/models/openai_structured): OpenAI with structured output support@@ -120,7 +120,7 @@ Key differentiators:- [Milvus](https://docs.mem0.ai/components/vectordbs/dbs/milvus): Open-source vector database for AI applications at scale- [Redis](https://docs.mem0.ai/components/vectordbs/dbs/redis): Real-time vector storage and search with Redis Stack- [Supabase](https://docs.mem0.ai/components/vectordbs/dbs/supabase): Open-source Firebase alternative with vector support-- [Upstash Vector](https://docs.mem0.ai/components/vectordbs/dbs/upstash_vector): Serverless vector database+- [Upstash Vector](https://docs.mem0.ai/components/vectordbs/dbs/upstash-vector): Serverless vector database- [Elasticsearch](https://docs.mem0.ai/components/vectordbs/dbs/elasticsearch): Distributed search and analytics engine- [OpenSearch](https://docs.mem0.ai/components/vectordbs/dbs/opensearch): Open-source search and analytics platform- [FAISS](https://docs.mem0.ai/components/vectordbs/dbs/faiss): Facebook AI Similarity Search library@@ -136,9 +136,9 @@ Key differentiators:- [OpenAI Embeddings](https://docs.mem0.ai/components/embedders/models/openai): High-quality text embeddings with customizable dimensions- [Azure OpenAI Embeddings](https://docs.mem0.ai/components/embedders/models/azure_openai): Enterprise Azure-hosted embedding models-- [Google AI](https://docs.mem0.ai/components/embedders/models/google_ai): Gemini embedding models+- [Google AI](https://docs.mem0.ai/components/embedders/models/google_AI): Gemini embedding models- [AWS Bedrock](https://docs.mem0.ai/components/embedders/models/aws_bedrock): Amazon embedding models through Bedrock-- [Hugging Face](https://docs.mem0.ai/components/embedders/models/hugging_face): Open-source embedding models for local deployment+- [Hugging Face](https://docs.mem0.ai/components/embedders/models/huggingface): Open-source embedding models for local deployment- [Vertex AI](https://docs.mem0.ai/components/embedders/models/vertexai): Google Cloud's enterprise embedding models- [Ollama](https://docs.mem0.ai/components/embedders/models/ollama): Local embedding models for privacy-focused applications- [Together](https://docs.mem0.ai/components/embedders/models/together): Open-source model embeddingsdiff --git a/docs/migration/oss-to-platform.mdx b/docs/migration/oss-to-platform.mdxindex e9efea36e..818059683 100644--- a/docs/migration/oss-to-platform.mdx+++ b/docs/migration/oss-to-platform.mdx@@ -370,7 +370,7 @@ If you encounter issues, you can revert immediately by switching your import bac- [Platform Dashboard](https://app.mem0.ai) - Monitor usage and manage settings.- [Webhooks Setup](/platform/features/webhooks) - Configure real-time event notifications.-- [Organizations & Projects](/platform/features/organizations-projects) - Set up multi-tenancy for your team.+- [Organizations & Projects](/api-reference/organizations-projects) - Set up multi-tenancy for your team.<CardGroup cols={2}><Carddiff --git a/docs/templates/api_reference_template.mdx b/docs/templates/api_reference_template.mdxindex 1cc884cdb..17406b73a 100644--- a/docs/templates/api_reference_template.mdx+++ b/docs/templates/api_reference_template.mdx@@ -123,7 +123,7 @@ const response = await fetch("https://api.mem0.ai/v1/memories", {## Sample workflow-- [Build a Customer Support Agent](/cookbooks/customer-support-agent)+- [Build a Customer Support Agent](/cookbooks/operations/support-inbox){/* DEBUG: verify CTA targets */}diff --git a/docs/templates/feature_guide_template.mdx b/docs/templates/feature_guide_template.mdxindex a1644ef66..1b102ca4a 100644--- a/docs/templates/feature_guide_template.mdx+++ b/docs/templates/feature_guide_template.mdx@@ -124,10 +124,10 @@ Walk through a real request/response. Include sample payloads and highlight nota{/* DEBUG: verify CTA targets */}<CardGroup cols={2}>- <Card title="Dive Into Memory Scoring" icon="scale-balanced" href="/concepts/memory-scoring">+ <Card title="Dive Into Memory Scoring" icon="scale-balanced" href="/core-concepts/memory-types">Understand how Mem0 ranks memories under the hood.</Card>- <Card title="Build a Research Copilot" icon="book-open" href="/cookbooks/research-copilot">+ <Card title="Build a Research Copilot" icon="book-open" href="/cookbooks/operations/deep-research">See advanced retrieval driving a full knowledge assistant.</Card></CardGroup>diff --git a/skills/mem0/scripts/mem0_doc_search.py b/skills/mem0/scripts/mem0_doc_search.pyindex 19b4c903f..1ff8de1c7 100755--- a/skills/mem0/scripts/mem0_doc_search.py+++ b/skills/mem0/scripts/mem0_doc_search.py@@ -43,7 +43,7 @@ SECTION_MAP = {"/platform/features/v2-memory-filters","/platform/features/async-client","/platform/features/webhooks",- "/platform/features/multimodal",+ "/platform/features/multimodal-support",],"api": ["/api-reference/memory/add-memories",