AI tool comparison
Letta 2.0 vs Sourcegraph Cody MCP Server
Which one should you ship with? Here is the side-by-side panel verdict, pricing read, reviewer split, and community vote comparison.
Developer Tools
Letta 2.0
Stateful agent framework with hosted memory that actually persists
75%
Panel ship
—
Community
Free
Entry
Letta 2.0 is a stateful agent framework (evolved from MemGPT) that gives AI agents persistent long-term memory via hosted memory stores, a visual agent builder, and a REST API. Agents remember context across sessions, update their own memory, and can be deployed via self-hosted or Letta Cloud infrastructure. It targets developers building production agents that need state beyond a single context window.
Developer Tools
Sourcegraph Cody MCP Server
Query your enterprise code graph from any MCP-compatible AI client
100%
Panel ship
—
Community
Free
Entry
Sourcegraph has shipped an MCP server for Cody that exposes its enterprise code graph — with semantic search across repositories — to any MCP-compatible AI client like Claude Desktop or Cursor. The update also includes an improved repository-aware code review agent that understands cross-repo context. This lets teams bring Sourcegraph's indexing and code intelligence into their existing AI workflows without adopting Cody as their primary IDE extension.
Reviewer scorecard
“The primitive here is clean: a REST API-backed agent runtime where memory is a first-class, addressable object that persists outside the context window — not a hack, not summarization, an actual store the agent reads and writes. The DX bet is that you treat agents like services with state, not stateless inference calls, and that's the right call for anyone who's tried to bolt long-term memory onto LangChain and cried. The moment of truth is the REST API and the fact that you can swap models without rebuilding your memory architecture — that earned the ship. The weekend alternative exists for toy cases, but building durable memory with conflict resolution, schema, and hosted infra from scratch is a real weekend-eater. Main concern: the visual agent builder smells like a demo feature; the serious usage is in the API.”
“The primitive here is clean: Sourcegraph's code graph as an MCP tool, meaning any MCP-compatible client gets semantic code search, symbol resolution, and cross-repo context via a well-defined interface rather than a vendor-locked plugin. The DX bet is correct — instead of forcing you to adopt Cody as your IDE extension, they expose the valuable part (the index) as a composable service. The moment of truth is connecting it to Claude Desktop and running a cross-repository symbol search; if that works in under 5 minutes with no custom config, this earns its ship. The specific technical decision that gets the ship: they exposed the code graph as a protocol primitive, not a product bundle.”
“Category is stateful agent frameworks, and the direct competitors are LangGraph (stateful graphs, more ops control) and OpenAI's Assistants API (native memory, zero infrastructure). Letta wins on model-agnosticism and on the memory architecture being genuinely thoughtful — the in-context, external, and archival memory hierarchy is a real design, not a marketing diagram. Where it breaks: any team that's already bought into the OpenAI stack will use Assistants API and never look here, and if Anthropic or Google ships native persistent memory to their APIs in the next 12 months, the hosting moat evaporates. What kills this in 12 months: the model providers ship it natively and Letta's differentiation collapses to 'we have a nicer UI.' What keeps it alive: enterprise teams who can't send data to OpenAI and need model-agnostic stateful agents — that's a real and durable niche.”
“Direct competitors are GitHub Copilot Workspace and Cursor's codebase indexing — both of which are now shipping their own MCP surfaces. Sourcegraph's actual defensible asset is the enterprise code graph built on years of cross-repo indexing at scale, which neither GitHub nor Cursor can match for large polyglot monorepos. The scenario where this breaks: teams under 50 engineers with a single GitHub repo get nothing here they couldn't get from Cursor's native context. What kills this in 12 months isn't a competitor — it's GitHub Copilot indexing cross-repo context natively, which Microsoft has every incentive to ship. The reason I'm still shipping it: Sourcegraph has the enterprise sales motion and the graph depth that makes this genuinely valuable to the buyer who most needs it right now.”
“The thesis Letta is betting on: in 2-3 years, most production agents will be long-running, stateful services rather than one-shot inference calls, and the infrastructure layer for agent memory will be as standardized as the infrastructure layer for databases. That's a falsifiable and plausible claim — the dependency is that agent workflows grow in complexity and session length faster than model context windows scale. The second-order effect that matters: if Letta becomes the memory layer standard, they gain leverage over every model provider because switching models doesn't mean losing agent state — that's a genuine inversion of the current power dynamic where OpenAI's Assistants API locks memory to the model. They're riding the trend of context-window-constrained long-running agents, and they're early — most teams haven't hit the wall yet, but they will. The infrastructure play here is real if they win developer mindshare before OpenAI closes the gap.”
“The thesis Sourcegraph is betting on: by 2027, AI coding clients will be commoditized at the interface layer, and the durable value accrues to whoever owns the best structured representation of a codebase. Making the code graph an MCP server is the right infrastructure move — it positions the graph as a read layer that survives IDE wars. The dependency that has to hold: MCP actually becomes a stable cross-vendor standard rather than another protocol that fractures into incompatible implementations by 2026Q4. The second-order effect that matters: this creates a market for code graph infrastructure separate from code editing, which is a new category. Sourcegraph is on-time to this trend — not early, not late — but they're one of the only players with the enterprise index depth to make the bet credible.”
“The buyer is a developer or ML engineer at a team building production agents — that's a real buyer with a real budget, but the procurement path is unclear at $20/month when the real competition is either free self-hosting or an OpenAI Assistants API bill that comes bundled with everything else. The moat question is what kills this: the memory architecture is smart but not patented, and a team of three could replicate the core with Postgres and a Redis cache — the value is in the hosted layer and the ecosystem, which are both early. When OpenAI or Anthropic ships persistent memory natively at competitive pricing, Letta's cloud offering has a very hard day. The business survives only if they go upmarket fast — enterprise contracts, on-prem deployment for regulated industries, and model-agnosticism as a compliance story — and there's no public evidence they're executing on that motion yet.”
“The buyer is the enterprise DevTools budget holder — VP Engineering or CTO at a company with 200+ engineers and a complex polyglot codebase. That's a real check-writer with a real problem. The moat is the indexed code graph itself: years of enterprise customer data have trained the retrieval system in a way that can't be replicated by a new entrant standing up an MCP server this quarter. The stress test: if Anthropic or OpenAI ships native codebase indexing into their APIs, the MCP server becomes a pass-through with no differentiation. The specific business decision that earns the ship is using MCP to extend the graph's reach without cannibalizing the existing enterprise seat revenue — it's an expand motion disguised as an open protocol move, and that's smart distribution.”
Weekly AI Tool Verdicts
Get the next comparison in your inbox
New AI tools ship daily. We compare them before you waste an afternoon.