How letta-ai/letta works
Purpose and Scope
This repository is the public project landing repository for Letta, a platform for building stateful AI agents with persistent memory and learning behavior. It does not contain the active runtime implementation; that lives in the external letta-ai/letta-code repository.
User-Facing Entry Points
The documented operational entry points are provided by the external npm package:
• letta launches the interactive terminal UI.
• letta server starts an App Server for local or self-hosted agents.
• Desktop, web, messaging-channel, SDK, and cloud access are documented integrations rather than source components in this repository.
Grounding: README.md
Active Source Boundary
The README explicitly delegates the agent harness, terminal UI, App Server, channels, and runtime to letta-ai/letta-code. Architecture work requiring executable code, service boundaries, persistence design, or agent orchestration must inspect that repository rather than infer implementations here.
A retired V1 API-server codebase is retained only on the external archive branch for reproducibility.
Grounding: README.md
Documentation and Governance Layer
This repository’s material contents are project policy, contribution, legal, and security surfaces rather than application modules. They establish how the external active codebase is governed and consumed.
• Contribution and operating expectations: CONTRIBUTING.md, AGENTS.md
• AI usage policy: AI_POLICY.md
• Security reporting and posture: SECURITY.md
• Privacy, terms, license, and citation: PRIVACY.md, TERMS.md, LICENSE, CITATION.cff
Automation and Repository Controls
GitHub automation is limited to issue governance rather than build, deployment, or runtime infrastructure. The issue guard workflow and contributor trust list form the visible intake-control boundary.
Grounding: .github/workflows/issue-guard.yml, .github/TRUSTED_CONTRIBUTORS, .github/ISSUE_TEMPLATE/config.yml
Runtime and External Services
Material runtimes and services described by the project are external to this tree:
• Node/npm distributes @letta-ai/letta-code.
• The Letta CLI hosts terminal and server entry modes.
• Letta Cloud provides cross-device persistence for agent memory, identity, and conversations.
• External clients include desktop, chat.letta.com, Slack, Telegram, Discord, custom channels, and the TypeScript Agent SDK.
Grounding: README.md
Main entry points: README.md Project README · issue-guard.yml Issue guard workflow · CONTRIBUTING.md Contribution guidance · SECURITY.md Security policy
Components 16
Public landing repository
Governance and project-facing documentation only.
- Project README · Directs users to supported entry points and the active codebase.
README.md - Contribution guidance
CONTRIBUTING.md - Operating guidance
AGENTS.md - AI usage policy
AI_POLICY.md - Security policy
SECURITY.md - Legal and citation · Privacy, terms, license, and citation materials.
PRIVACY.md
Issue intake controls
- Issue guard workflow · Automates issue-governance checks.
.github/workflows/issue-guard.yml - Trusted contributor list
.github/TRUSTED_CONTRIBUTORS - Issue template config
.github/ISSUE_TEMPLATE/config.yml
External Letta platform
Runtime implementation is outside this repository.
- Active Letta codebase · Contains the agent harness, UI, server, channels, and runtime.
- @letta-ai/letta-code · Distributed through Node/npm.
- Letta CLI · Provides interactive UI and server launch modes.
- App Server · Runs local or self-hosted agents.
- Letta Cloud · Persists agent memory, identity, and conversations across devices.
- External clients · Desktop, web, messaging channels, custom channels, and TypeScript SDK.
- Archive branch · Retains the V1 API-server code for reproducibility.
Connections 15
- Project README → Active Letta codebase: delegates runtime to
- Project README → @letta-ai/letta-code: documents installation
- Project README → Letta CLI: documents commands
- Project README → Letta Cloud: documents access
- Project README → External clients: documents integrations
- Active Letta codebase → @letta-ai/letta-code: published as
- @letta-ai/letta-code → Letta CLI: installs
- Letta CLI → App Server: starts via `letta server`
- External clients → Letta Cloud: cross-device access
- Contribution guidance → Operating guidance: paired contributor guidance
- Issue guard workflow → Trusted contributor list: uses trust list
- Issue guard workflow → Issue template config: governs issue intake
- Contribution guidance → Issue guard workflow: contributor intake
- Security policy → Active Letta codebase: security reporting for active project
- Project README → Archive branch: notes retired V1 source