2025-12-14 22:59:09 -08:00
2025-10-24 21:19:24 -07:00
2025-11-26 19:28:26 -08:00
2025-12-14 22:59:09 -08:00
2025-12-14 21:11:42 -08:00
2025-10-24 21:19:24 -07:00
2025-10-24 21:19:24 -07:00
2025-11-26 11:39:55 -08:00
2025-10-24 21:19:24 -07:00
2025-12-12 17:16:09 -08:00
2025-10-24 21:19:24 -07:00
2025-12-14 15:24:15 -08:00
2025-10-24 21:19:24 -07:00
2025-12-12 17:16:09 -08:00
2025-12-14 22:59:09 -08:00

Letta Code

npm Discord

Letta Code is a memory-first coding harness, built on top of the Letta API. Instead of working in independent sessions, you work with a persisted agent that learns over time and is portable across models (Claude Sonnet/Opus, GPT-5, Gemini 3 Pro, GLM-4.6, and more).

Read more about how to use Letta Code on the official docs page.

Get started

Requirements:

Install the package via npm:

npm install -g @letta-ai/letta-code

Navigate to your project directory and run letta (see various command-line options on the docs):

Memory and Skill Learning

All agents in Letta are stateful: they maintain context forever and can self-edit their own memory blocks.

If youre using Letta Code for the first time, you will likely want to run the /init command to initialize the agents memory system:

> /init

Over time, the agent will update its memory as it learns. To actively guide your agents memory, you can use the /remember command:

> /remember [optional instructions on what to remember]

Letta Code works with skills (reusable modules that teach your agent new capabilities in a .skills directory), but additionally supports skill learning. You can ask your agent to learn a skill from it's current trajectory with the command:

> /skill [optional instructions on what skill to learn]

Read the docs to learn more about skills and skill learning.


Made with 💜 in San Francisco

Description
letta-code - primary development repo
Readme 37 MiB
Languages
TypeScript 98.2%
Python 1%
Shell 0.5%
JavaScript 0.2%
MDX 0.1%