Intro to Letta
Creating stateful agents that can remember and learn
Letta is the platform for building stateful agents that remember, learn, and improve over time. Letta agents are deeply personalized and form living memories about themselves, the world they live in, you, and your users.
Get started
Section titled “Get started”The fastest way to try Letta is via Letta Code (in your terminal) or chat.letta.com (in your browser). The more you use your Letta agents, the more they learn about you, and will adapt their behavior over time by updatping their memory.
For developers
Section titled “For developers”The Letta Platform has a robust set of SDKs that allow you to easily turn your personal agents into production applications.
Frequently asked questions
Section titled “Frequently asked questions”How can I build a custom agent?
Section titled “How can I build a custom agent?”The fastest way to build a custom personal agent is to download Letta Code. You can customize your agent’s behavior by modifying its memory, and extend its abilities by adding skills.
If you want a ready-to-go Letta Code setup that has common skills for Discord, WhatsApp, Telegram, browser use and more pre-installed, check out the LettaBot GitHub repo.
Can I use Letta Code through a UI (not the terminal)?
Section titled “Can I use Letta Code through a UI (not the terminal)?”Yes - the Letta Code SDK allows you to build your own UIs on top of Letta Code agents. See the Letta Cowork repo for an Electron app example, and LettaBot for an example of interacting with a Letta Code agent through native messaging apps like Telegram (both built on the Letta Code SDK).
Which Letta SDK/API should I use?
Section titled “Which Letta SDK/API should I use?”We recommend most developers build on the Letta Code SDK, which includes rich support for agent skills and local tool execution / computer use (Bash, Grep, etc). If you are building an agent that does not require skills or local tool execution (e.g. a chatbot), consider building directly on the Letta API instead.
What’s the difference between the Letta Code SDK, and the core Letta API?
Section titled “What’s the difference between the Letta Code SDK, and the core Letta API?”The Letta Code SDK is built on top of the core Letta API, and adds pre-built support for skills and local / client-side tool exeuction.
| Product | Use via | Function | Most similar to |
|---|---|---|---|
| LettaBot | Telegram, WhatsApp, Discord, etc. | Adds cron jobs / heartbeats and bundled skills to Letta Code | OpenClaw (formerly ClawdBot, MoltBot) |
| Letta Code | Terminal / CLI, GitHub Action | Local tool execution and pre-built computer use tools | Claude Code, Codex CLI, OpenCode |
| Letta Code SDK | TypeScript only | Same agent harness as Letta Code, but accessible via TypeScript | Claude Agent SDK |
| Letta API | TypeScript, Python, or REST | A stateful LLM API that connects memory to any model provider | OpenAI Responses API |