DSPy vs Letta
| Tagline | Programming, not prompting, language models | Build stateful agents with long-term memory |
|---|---|---|
| Category | AI Agents | AI Agents |
| Pricing | Open Source | Open Source |
| Upvotes | 0 | 0 |
| Comments | 0 | 0 |
| Page views | 0 | 0 |
| Click-through to site | 0.0% | 0.0% |
| Readiness Score | 0/100 | 95/100 |
| Launched | Oct 5, 2026 | Oct 5, 2026 |
| Maker | — | — |
What is DSPy?
DSPy is a framework from Stanford for building and automatically optimizing LLM pipelines.
What is Letta?
Letta, formerly MemGPT, is a platform for agents that keep persistent memory across sessions and manage their own context.
Not sold on either? See alternatives to DSPy or alternatives to Letta.
Verdict
Letta leads on 1 of the measurable metrics above (votes, engagement, click-through and readiness). Choose DSPy if you want programming, not prompting, language models; choose Letta if you want build stateful agents with long-term memory.
Is DSPy better than Letta?
On AskableHQ's community and engagement data, Letta currently performs better, but the right choice depends on your use case.
Which is cheaper, DSPy or Letta?
DSPy is Open Source; Letta is Open Source. Check each website for current plans.