letta-ai/letta

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 35 minutes ago
Added to GitGenius on August 4th, 2025
Created on October 11th, 2023
Open Issues & Pull Requests: 39 (+0)
Number of forks: 2,593
Total Stargazers: 24,399 (+0)
Total Subscribers: 138 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 23.9 hours
Mean response time: 18.6 days
90th percentile: 34.4 days
Tracked items: 599

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 8% of issues opened in the past year have been closed. Three people close 61% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 26
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 50 days
Stale 30+ days: 14
Stale 90+ days: 2

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • stale (302)
  • auto-closed (261)
  • bug (82)
  • spam (67)
  • enhancement (35)
  • feature request (19)
  • good first issue (18)
  • help wanted (17)

Detailed Description

Letta is an open-source conversational AI framework designed for building sophisticated, multi-platform chatbots and voice assistants. Developed by Letta AI, the project aims to provide developers with a flexible and powerful toolkit to create AI agents that can handle complex conversations, integrate with various services, and deploy across multiple channels like web, messaging apps (Telegram, Slack, etc.), and voice platforms. It distinguishes itself through its focus on state management, natural language understanding (NLU), and a modular architecture that promotes extensibility.

At its core, Letta utilizes a declarative approach to conversation design. Instead of relying heavily on imperative code to manage dialogue flow, developers define conversation states and transitions between them using a YAML-based configuration. This makes conversations easier to visualize, maintain, and collaborate on. The framework handles the complexities of state management automatically, allowing developers to focus on the logic of the conversation rather than the underlying mechanics. This declarative style is a key differentiator, making it more approachable for non-programmers involved in conversation design.

The NLU component of Letta is built around Rasa, a popular open-source NLU framework. This integration provides robust intent recognition and entity extraction capabilities, enabling the chatbot to understand user input accurately. However, Letta doesn't *require* Rasa; it's designed to be adaptable and can integrate with other NLU providers if desired. The framework provides abstractions to handle the NLU output and map it to the defined conversation states. Furthermore, Letta includes tools for managing training data and evaluating NLU performance.

Letta’s modularity is a significant strength. It’s structured into components like “flows” (defining conversation logic), “actions” (performing tasks like API calls or database interactions), and “middlewares” (handling pre- and post-processing of messages). This allows developers to easily extend the framework with custom functionality. Actions can be written in Python and are executed when a specific state is reached, enabling integration with external services. Middlewares can be used for tasks like logging, authentication, or data validation. This component-based design promotes code reusability and maintainability.

The repository provides comprehensive documentation, examples, and a growing community. It includes tools for testing and debugging conversations, as well as deployment guides for various platforms. The project is actively maintained and regularly updated with new features and improvements. Key features include support for context management, handling of multiple languages, and the ability to define complex conversation flows with conditional logic and loops. Letta also offers a visual editor (though still under development) to aid in conversation design, further lowering the barrier to entry for non-technical users. Ultimately, Letta aims to be a comprehensive and developer-friendly solution for building next-generation conversational AI applications.