{
 "kind": "tool",
 "slug": "mem0ai-pypi",
 "path": "tools/mem0ai-pypi/",
 "name": "Mem0 (Python)",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Agent, MCP and tool libraries",
   "tools/agent-libraries/"
  ]
 ],
 "lead": "Long-term memory system for AI agents to retain and learn from interactions.",
 "chips": [
  {
   "label": "Agent, MCP and tool libraries",
   "path": "tools/agent-libraries/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install mem0ai"
 },
 "links": [
  {
   "label": "Its AgentGid profile",
   "path": "agents/mem0/"
  },
  {
   "label": "API page",
   "path": "apis/mem0/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": ""
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "",
   "src": ""
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "10 projects",
   "status": "info",
   "sub": "#24 of 189 in its category",
   "note": "Dependency in 10 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "1 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Mem0 (Python) does",
   "parts": [
    {
     "t": "prose",
     "text": "Long-term memory system for AI agents to retain and learn from interactions."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Mem0 (Python) popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "54",
       "of": "/ 100",
       "l": "Gid Score, #1464 overall"
      },
      {
       "n": "523K",
       "l": "downloads a week, pypi"
      },
      {
       "n": "10",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Mem0 (Python) is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Mem0 (Python) is a dependency in 10 of the 6,254 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 305 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is LangChain (127 projects).",
      "Projects that use it most often also use python-dotenv (78.4%), OpenAI Python Library (76.4%), Pydantic (65.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "8 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "7 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 78.4% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 76.4% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 65.6% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 63.3% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 62.6% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 62.3% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 61.0% of its projects",
       "v": "LangChain",
       "path": "tools/langchain-pypi/"
      },
      {
       "l": "In 53.8% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Mem0 (Python)",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "mem0: Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events. Trigger phrases: mem0, memory laye"
       ]
      },
      {
       "title": "More in Agent, MCP and tool libraries",
       "path": "tools/agent-libraries/",
       "items": [
        {
         "text": "Model Context Protocol SDK (JavaScript)",
         "path": "tools/modelcontextprotocol/"
        },
        {
         "text": "Model Context Protocol SDK (Python)",
         "path": "tools/mcp/"
        },
        {
         "text": "FastMCP (Python)",
         "path": "tools/fastmcp-pypi/"
        },
        {
         "text": "Agent Client Protocol SDK",
         "path": "tools/agentclientprotocol-sdk/"
        },
        {
         "text": "LangChain.js",
         "path": "tools/langchain-npm/"
        },
        {
         "text": "Mastra",
         "path": "tools/mastra/"
        },
        {
         "text": "MCP Inspector",
         "path": "tools/modelcontextprotocol-inspector/"
        },
        {
         "text": "fastMCP (JavaScript)",
         "path": "tools/fastmcp-npm/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Mem0 (Python)",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 54",
        "523K/wk"
       ]
      },
      {
       "name": "LangChain",
       "why": "Framework for composing applications with LLMs through chains and agents.",
       "path": "tools/langchain-pypi/",
       "facts": [
        "MIT",
        "Gid 88",
        "36.5M/wk"
       ]
      },
      {
       "name": "LangGraph",
       "why": "Framework for building stateful, multi-actor applications with LLMs.",
       "path": "tools/langgraph/",
       "facts": [
        "MIT",
        "Gid 80",
        "14.6M/wk"
       ]
      },
      {
       "name": "LlamaIndex",
       "why": "Framework to build RAG applications connecting LLMs to your custom data and documents.",
       "path": "tools/llama-index/",
       "facts": [
        "MIT",
        "Gid 58",
        "403K/wk"
       ]
      },
      {
       "name": "CrewAI",
       "why": "Framework for orchestrating collaborative AI agents to solve complex autonomous tasks.",
       "path": "tools/crewai/",
       "facts": [
        "MIT",
        "Gid 65",
        "600K/wk"
       ]
      }
     ],
     "more": "Compare Mem0 (Python) with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install mem0ai"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Mem0 (Python) yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi mem0ai"
  ],
  [
   "Category",
   "Agent, MCP and tool libraries"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "53.9"
  ],
  [
   "Rank in category",
   "#24 of 189"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": null
}