Examples
Complete example applications built on the Letta Agent SDK
The SDK repository ships complete, runnable example applications. Each one demonstrates a different part of the SDK surface:
| Example | What it demonstrates |
|---|---|
| web-chat | A web UI for chatting with an agent — streaming to the browser |
| custom-tools | Client tools that execute locally in the SDK process while the agent runs in a cloud sandbox |
| bug-fixer | A persistent agent that finds and fixes bugs, remembering the codebase and past fixes across sessions |
| release-notes | Generating release notes from git commits while learning your formatting preferences over time |
| file-organizer | A persistent agent that organizes directories and remembers your organizational preferences |
| research-team | A multi-agent research system — persistent memory and collaborative agents that improve over time |
| focus-group | Simulating a political focus group with persistent AI personas to test messaging |
| economics-seminar | A multi-agent academic seminar simulation |
| dungeon-master | A persistent DM that creates its own game system and runs campaigns — persona and MemFS in action |
Clone the repository and run any example from its directory:
git clone https://github.com/letta-ai/letta-agent-sdkcd letta-agent-sdk/examples/web-chatnpm installEach example directory contains its own entry point and, where needed, a README with setup instructions.
What to read next
Section titled “What to read next”- Quickstart — create your first agent from scratch
- Creating agents — memory, skills, and agent configuration
- MCP and client tools — the pattern the custom-tools example uses
- Shared memory — the coordination substrate for multi-agent examples