Skip to content
Compared · Letta

Khwan vs Letta

Letta runs the agent. Khwan runs nothing — keep your harness, keep your model, add memory over MCP.

Where Letta is the better choice

Letta is fully open source and self-hostable, and Letta Code is the #1 model-agnostic open-source coding harness on TerminalBench — ahead of the previous leader and comparable to harnesses built by the model providers themselves. It has skill learning, sleep-time compute, and git-style versioning of context. If you want a coding agent, that is a strong product and Khwan is not one.

Where Khwan differs

The question is how much you have to adopt.

Letta runs the agent, which means moving onto their runtime. Khwan runs nothing: your existing harness stays, your model stays, and memory arrives over MCP in one line. If you already like Claude Code and want it to stop forgetting your corrections across projects, that is a smaller change than switching harness.

Inference on the read and write paths.

Letta's sleep-time compute has the agent reason about its context during idle periods — that is inference, and it is central to how the product learns. Khwan's /prepare and /record make no model calls; distillation is a single scheduled pass rather than continuous background reasoning — 8 brains and 245 stored turns for $0.0094 in a real production run.

One brain per project, deliberately isolated.

Khwan's unit is an isolated core — a separate brain per repository, client, or tenant, four of them on the free plan, with no blending between them. It is the shape consulting and agency work already has.

Side by side
 KhwanLetta
Model calls on read/writeNoneSleep-time compute
Runs your agentNo — yours doesYes
Adoption costOne MCP lineNew harness
Corrections as a typed eventYesSkill learning
Isolated brains, free planFourLimited agents
Open sourceNoYes — fully
Coding-harness benchmarkn/a#1 OSS on TerminalBench
Self-hostingNot provenYes

Letta details verified 2026-08-27 from letta.com, Letta Code, Letta pricing. Products change — if something here is out of date, tell us and we will fix it.

The honest summary

Take Letta if you want an open-source agent runtime, and Letta Code if you want a coding agent that learns. Take Khwan if you already have an agent you like and only want to change what it remembers.