Understanding Letta SDK versions (Agent SDK vs V1 SDK)
mainLetta provides two different SDK paths:
- Agent SDK (Recommended): The modern TypeScript SDK (
@letta-ai/letta-agent-sdk) designed for building stateful agents. It supports cloud, local, and self-hosted backends. - V1 SDKs (Legacy): These target the Letta API directly.
- TypeScript:
@letta-ai/letta-client - Python:
letta-client
- TypeScript:
New projects should use the Agent SDK.