All 18 Dependencies
Every package letta-code depends on, ranked by repo health score.
Letta Code is an open-source agent harness built on the MemGPT research lineage, designed specifically for long-lived agents that need to remember, learn, and improve over time. Unlike ephemeral coding assistants that forget everything between sessions, Letta Code's agents programmatically rewrite their own context — system prompts, skill libraries, and memory blocks — so they become more effective the longer they are used.
The project ships as a CLI-first tool that installs via npm, but agents created in the terminal are immediately available through a cross-platform desktop app, a browser interface at chat.letta.com (including mobile), and messaging integrations for Slack, Telegram, Discord, and WhatsApp. State is either stored locally (fully offline, embedded stateful server) or synced through Constellation, Letta's cloud relay, which lets the same agent be reached from any machine including GitHub Actions runners or cloud VMs.
Memory is backed by git: every write to a memory block is a commit, making the agent's context fully auditable, diff-able, and syncable to any GitHub repository. The MemFS (Memory Filesystem) layer tracks skills, system prompt history, and memory blocks as plain files, meaning developers can inspect and edit agent memory directly with standard tooling. The 'dreaming' feature (from Letta's published sleep-time compute research) lets agents run background compaction and reflection during idle periods to consolidate what they have learned.
Letta Code supports multi-agent workflows natively: agents can spawn built-in subagents (general-purpose, recall, fork, history-analyzer, reflection) or call any other agent — including themselves — as a subagent. Hooks allow custom scripts to run at key lifecycle points, cron schedules let agents work autonomously across time, and a permission system gives fine-grained control over which actions are auto-approved.