Create an agent with persistent memory in Letta Code

Archive: this tutorial covers the former Letta Code Desktop app, discontinued on October 12, 2026 and no longer operational. It is not a current setup guide.

Updated 20 min

Notice: the former Letta Code Desktop app was discontinued on October 12, 2026 and no longer runs. This tutorial retains a workflow from that former app. The new Letta Desktop is an installable web app connected to Letta Cloud; for local agents, current documentation points to the CLI, SDK or an App Server interface. Do not follow installation steps for the former app.

Use the Letta Code desktop app to create an agent that keeps context across conversations. The walkthrough shows how to explore and initialize its memory and diagnose configuration issues.

What the tutorial covers

  1. Create an agent and open its memory to distinguish core information from external data.
  2. Run /init to prepare its memory, then see what happens when you start another conversation with the same agent.
  3. Run /doctor to review the configuration and any issues it reports.

Video by Letta.