Discover and explore top open-source AI tools and projects—updated daily.
letta-aiAgent framework for stateful agents with memory, reasoning, and context management
Top 2.4% on SourcePulse
Letta is an open-source framework for building stateful AI agents with advanced memory, reasoning, and context management. It provides a white-box, model-agnostic architecture, allowing developers to create and deploy agents that can maintain long-term memory and interact with various Large Language Models (LLMs).
How It Works
Letta agents are managed within a persistent Letta server, which stores agent data in a database (PostgreSQL recommended, defaults to SQLite for pip installs). The server exposes a REST API and SDKs for Python and TypeScript, enabling interaction with agents. A graphical Agent Development Environment (ADE) is provided for managing, testing, and observing agents. The framework supports multiple LLM backends (OpenAI, Anthropic, vLLM, Ollama) and offers tools for memory management, conversation search, and more.
Quick Start & Requirements
docker run -v ~/.letta/.persist/pgdata:/var/lib/postgresql/data -p 8283:8283 -e OPENAI_API_KEY="your_openai_api_key" letta/letta:latestpip install -U letta followed by export OPENAI_API_KEY=sk-... and letta run for CLI or letta server for API.LETTA_PG_URI.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Database migrations are not officially supported for the SQLite backend used by default with pip installs; PostgreSQL is recommended for robust data migration across versions. The project was formerly known as MemGPT.
1 week ago
1 day
agi-inc
google
Significant-Gravitas