{
 "kind": "tool",
 "slug": "letta",
 "path": "tools/letta/",
 "name": "Letta",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Agent, MCP and tool libraries",
   "tools/agent-libraries/"
  ]
 ],
 "lead": "Framework for building stateful agents with persistent memory and tool use.",
 "chips": [
  {
   "label": "Agent, MCP and tool libraries",
   "path": "tools/agent-libraries/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install letta"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/letta-ai/letta-code"
  },
  {
   "label": "Its AgentGid profile",
   "path": "agents/letta/"
  }
 ],
 "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": "https://github.com/letta-ai/letta-code"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 23, 2026. ",
   "src": "https://github.com/letta-ai/letta-code"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "Not in our scan",
   "status": "info",
   "sub": "#160 of 192 in its category",
   "note": "Dependency in 0 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "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 Letta does",
   "parts": [
    {
     "t": "prose",
     "text": "Framework for building stateful agents with persistent memory and tool use."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Letta popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "20",
       "of": "/ 100",
       "l": "Gid Score, #4258 overall"
      },
      {
       "n": "2,400",
       "l": "downloads a week, pypi"
      },
      {
       "n": "3,905",
       "l": "GitHub stars"
      }
     ]
    },
    {
     "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 Letta is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Letta is a dependency in 0 of the 6,258 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,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 29 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 (62.1%), Pydantic (37.9%), Requests (34.5%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 62.1% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 37.9% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 34.5% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 31.0% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 31.0% of its projects",
       "v": "pytest",
       "path": "tools/pytest/"
      },
      {
       "l": "In 20.7% of its projects",
       "v": "Mem0 (Python)",
       "path": "tools/mem0ai-pypi/"
      },
      {
       "l": "In 20.7% of its projects",
       "v": "Chroma (Python)",
       "path": "tools/chromadb-pypi/"
      },
      {
       "l": "In 20.7% of its projects",
       "v": "LangChain",
       "path": "tools/langchain-pypi/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Letta",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "letta: Work with Letta agent memory: list agents, read core-memory blocks, list or add archival passages, create blocks, message an agent to record"
       ]
      },
      {
       "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": "Letta",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 20",
        "2,400/wk"
       ]
      },
      {
       "name": "LangChain",
       "why": "Framework for composing applications with LLMs through chains and agents.",
       "path": "tools/langchain-pypi/",
       "facts": [
        "MIT",
        "Gid 89",
        "37.6M/wk"
       ]
      },
      {
       "name": "LangGraph",
       "why": "Framework for building stateful, multi-actor applications with LLMs.",
       "path": "tools/langgraph/",
       "facts": [
        "MIT",
        "Gid 80",
        "15.2M/wk"
       ]
      },
      {
       "name": "Pydantic AI",
       "why": "AI agent framework built with Pydantic for structured, typed agent development.",
       "path": "tools/pydantic-ai/",
       "facts": [
        "MIT",
        "Gid 64",
        "1.8M/wk"
       ]
      },
      {
       "name": "LlamaIndex",
       "why": "Framework to build RAG applications connecting LLMs to your custom data and documents.",
       "path": "tools/llama-index/",
       "facts": [
        "MIT",
        "Gid 59",
        "406K/wk"
       ]
      }
     ],
     "more": "Compare Letta with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install letta"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Letta yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi letta"
  ],
  [
   "Category",
   "Agent, MCP and tool libraries"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "20.5"
  ],
  [
   "Rank in category",
   "#160 of 192"
  ],
  [
   "GitHub",
   "letta-ai/letta-code"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/letta-ai.png"
}