Agents · Letta Code
letta code with persistent multi-agent sessions
TL;DR
Letta Code is a stateful agent harness from Letta, the team behind MemGPT: its agents keep memory, identity and history across sessions, stored in Letta Cloud by default or locally. Pane runs several Letta Code agents in parallel, each on its own worktree and branch, and brings your panes back after a restart while Letta keeps each agent's memory. One Letta agent is enough when your work stays on one branch.
Most coding agents forget everything when a session ends. Letta Code's agents don't. Pairing that memory with a worktree per agent lets several of them build up knowledge in parallel without stepping on each other's code.
What is Letta Code?
Letta Code is an open source agent harness for agents that remember: memory, identity and a sense of experience over time. You can use it interactively, or run always-on agents that work on their own. It's Apache-2.0 licensed and ships frequent releases.
Letta Cloud is the default place agents' memory lives; on first launch you can sign in or choose to run locally. Agents can also run on another machine and be reached from yours.
Quickstart
Install Letta Code, create a pane, open a terminal, type letta.
1Install Letta Code
Letta Code (needs Node.js)
npm install -g @letta-ai/letta-codeStart a new agent
letta --new-agent2Create a pane
Press Ctrl+N (⌘N on a Mac), pick the repo and branch, and create it. Pane makes a worktree for the pane.3Start Letta Code
Open a terminal in the pane with Ctrl+Alt+1 (⌘⌥1 on a Mac), or pick Terminal from the Ctrl+T menu, and typeletta. To launch it with one keystroke next time, save it as a custom command; your first four custom commands get shortcuts.
What works with Letta Code in Pane
Everything Pane does around the terminal works. Agent-specific extras are for its three built-in agents.
Several agents, each with its own memory and branch
Memory per agent, worktree per agent.
Run one Letta agent per task, each in its own pane. Each builds its own memory of the work, and each commits to its own branch, so you can review and merge them separately.
When one Letta agent is enough
If your work stays on one branch with one agent, run Letta Code on its own. Pane helps once you run several agents at once, or Letta next to Claude Code or Codex.
Related
Sources
- What we ran
- → Pane 2.4.155 on Windows 11 and WSL2; Letta Code details checked against its own repo and docs in October 2026
- Corrections
- If anything here is wrong or out of date, tell us and we'll fix it and update the date at the top. Open an issue on GitHub
- Sources
frequently asked questions
By Parsa Khazaeepoul, co-founder of Pane. .