<- back to runpane.com

letta code with persistent multi-agent sessions

Pane is a desktop agent manager for developers running persistent AI agents. Run multiple Letta Code subagents in parallel — each in its own worktree, each accumulating memory independently — with a workspace that survives restarts without losing either the Pane session layout or the Letta agent state.

Pane running multiple Letta Code sessions in parallel
or
Download*
Windows SmartScreen warningDirect downloads can show a SmartScreen warning while Pane is unsigned. Pane is fully open source, so you can audit the code and build from source yourself.1. Click More info2. Click Run anyway3. Continue the installerThe PowerShell install downloads the official release directly and avoids most browser download friction.npm global install
Paste that in PowerShell.MacLinux

what is letta code?

Letta Code is a coding agent from the Letta AI team, the researchers behind MemGPT. Its defining characteristic is persistent memory: agent context survives across sessions and restarts, stored in a Letta server or local persistent store. On Terminal-Bench (v1) it scored 42.5%, which the Letta team highlights as the top result among open-source model-agnostic agents — see the announcement post for methodology.

Letta Code is the right choice when memory persistence is an architectural requirement rather than a nice-to-have — for long-running subagent workflows where context must carry across restarts. The team published an announcement post covering the MemGPT lineage and design decisions.

I run Letta Code in Pane for tasks where the agent needs to remember decisions made in a previous session — one subagent per pane, each accumulating its own memory on its own branch.

two persistence layers, not one

Letta Code persists agent memory in a Letta server or local database. Pane persists session layout and worktree assignments in its own state. The two layers are independent — a Pane restart restores the workspace structure, a Letta restart restores the agent memory. Neither overwrites the other. When you come back after closing both, you restore to where you left off at both levels.

subagents per pane, isolated by worktree

Each Letta subagent runs in its own terminal on its own branch. Pane manages the worktree isolation so agents do not read each other's dirty state. Memory accumulates per-agent without cross-contamination. When an agent finishes a task, the diff is ready to review without leaving the Pane workspace.

what pane does

- starts each Letta agent in an isolated worktree

- keeps session output, diff review, and git actions in one workspace

- lets Letta run alongside Claude Code, Goose, or any other CLI agent

- works natively on Windows, Mac, and Linux

when one letta agent is enough

If you run one Letta Code agent at a time on one branch, a single terminal is sufficient. Pane adds value when you want multiple Letta subagents running concurrently on separate branches, or when you want to combine Letta Code with other terminal agents and keep each session isolated.

Compare: Pane vs autonomous agents, Pane vs coding agents.

Background: agent orchestration, what is an agent manager.

Last verified against Letta Code's current release. Written by Parsa Khazaeepoul, co-founder of Pane.

frequently asked questions