Letta Code SDK
Build stateful agents using Letta Code as a library
The Letta Code SDK provides a programmatic interface to Letta Code. It is memory-first (agents persist and improve over time), model-agnostic (use Claude, GPT, Gemini, or local models), and open source.
Use the Letta Code SDK to build your own applications that use Letta Code’s advanced coding agent harness.
Quickstart Install the SDK and create your first agent.
Migration guide Migrate from the Claude Agent SDK to the Letta Code SDK.
Example apps
Section titled “Example apps”Just directly into code examples with demo app built on the Letta Code SDK:
LettaBot Interact with a deeply personalized, always-on assistant via Telegram.
Letta Cowork Like Claude Cowork, but fully open source and using stateful agents.