Skip to content
Discord
Letta Agent SDK

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:

ExampleWhat it demonstrates
web-chatA web UI for chatting with an agent — streaming to the browser
custom-toolsClient tools that execute locally in the SDK process while the agent runs in a cloud sandbox
bug-fixerA persistent agent that finds and fixes bugs, remembering the codebase and past fixes across sessions
release-notesGenerating release notes from git commits while learning your formatting preferences over time
file-organizerA persistent agent that organizes directories and remembers your organizational preferences
research-teamA multi-agent research system — persistent memory and collaborative agents that improve over time
focus-groupSimulating a political focus group with persistent AI personas to test messaging
economics-seminarA multi-agent academic seminar simulation
dungeon-masterA 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-sdk
cd letta-agent-sdk/examples/web-chat
npm install

Each example directory contains its own entry point and, where needed, a README with setup instructions.