Softwr

Automation Integration · head to head

Letta vs Sourcegraph

Letta logo

Letta

Automation Integration

Machines that learn

From
Free
Free plan
Yes
Sourcegraph logo

Sourcegraph

Developer Tools

Code search and intelligence platform for large codebases with Cody AI assistant

From
$16000/year
Free plan
No

The short version

  • Sourcegraph is an enterprise code intelligence platform.
  • Letta has a free plan, then $20/mo; Sourcegraph starts at $16000/yr.
  • Where Letta falls short: free tier limited to 3 stateful agents.
  • Where Sourcegraph falls short: enterprise pricing starting at $16k annually creates significant barrier for small teams.

How do Letta and Sourcegraph differ?

Letta and Sourcegraph differ on starting price (Free against $16000/year), pricing model (Freemium against Subscription) and free tier (Yes against No). Only the attributes on which Letta and Sourcegraph actually diverge.

Attributes where Letta and Sourcegraph differ
AttributeLettaSourcegraph
Starting priceFree$16000/year
Pricing modelFreemiumSubscription
Free tierYesNo
PlatformsWebWeb, Self-hosted
CategoryAutomation IntegrationDeveloper Tools

Not yet recorded: founded for Letta.

What is each one used for?

Letta is most often brought in for building agents with memory for continuous learning; Sourcegraph for large-scale code migrations across hundreds of repositories. The jobs each tool is most often brought in to do.

Letta

  • Building agents with memory for continuous learningnot Sourcegraph
  • Enabling reflection during idle periods via sleep-computenot Sourcegraph
  • Managing agent context and extracting learningsnot Sourcegraph

Sourcegraph

  • Large-scale code migrations across hundreds of repositoriesnot Letta
  • Enterprise governance and code ownership trackingnot Letta
  • AI-assisted bug hunting and security pattern detectionnot Letta
  • Onboarding engineers into large unfamiliar codebasesnot Letta
  • Regulatory compliance and code audit trailsnot Letta

Where do Letta and Sourcegraph fall short?

Letta's most cited limit: free tier limited to 3 stateful agents. Sourcegraph's: enterprise pricing starting at $16k annually creates significant barrier for small teams. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Letta

  • Free tier limited to 3 stateful agents
  • Pro tier capped at 20 stateful agents
  • API Plan usage charges apply beyond base tier

Sourcegraph

  • Enterprise pricing starting at $16k annually creates significant barrier for small teams
  • No free tier or standard plan published; all options require custom sales engagement
  • Complex enterprise-only positioning limits adoption compared to GitHub Copilot's pervasiveness
  • Requires indexing entire codebase; not suitable for small or ephemeral projects

How much do Letta and Sourcegraph cost?

Letta has a free plan, with paid plans from $20/mo; Sourcegraph starts at $16000/yr. Plan by plan below, from each vendor's own pricing page.

Letta

Free
  • FreeFree
    • Limited agents
    • Limited Letta Auto usage
    • Bring your own API keys
  • Pro$20/mo
    • Weekly and monthly Letta Auto quota
    • Pay-as-you-go overage
    • Up to 20 stateful agents
  • API Plan$20/mo
    • Unlimited agents
    • $0.10/active agent/month
    • $0.00015/second for tool execution
  • Teams Pro$20/mo
    • Per seat pricing
    • Add teammates
    • Letta Auto quota

Sourcegraph

$16000/year
  • Enterprise$16,000/yr
    • Scales with team size
    • Credits for AI features per user
    • Deep Search

Which should you pick?

Choose Letta if

  • You want to start without paying.

Choose Sourcegraph if

  • You work on Web, Self-hosted.

Questions people ask

Is Letta or Sourcegraph better?
It depends on the job. Letta fits building agents with memory for continuous learning; Sourcegraph fits large-scale code migrations across hundreds of repositories. Letta starts at Free and Sourcegraph at $16000/year.
Which is cheaper, Letta or Sourcegraph?
Letta has a free tier; the other does not. Paid plans start at Free for Letta and $16000/year for Sourcegraph.
Does Letta or Sourcegraph run on more platforms?
Letta runs on Web. Sourcegraph runs on Web, Self-hosted.
Can I use Letta for free?
Yes. Letta has a free tier, so you can try it without paying. Sourcegraph starts at $16000/year.
What is Letta best used for?
Letta is most often used for building agents with memory for continuous learning, enabling reflection during idle periods via sleep-compute, managing agent context and extracting learnings. Of those, building agents with memory for continuous learning and enabling reflection during idle periods via sleep-compute are not what Sourcegraph is typically brought in for.

Answered from the vendors’ own pages

Letta: How much does Letta cost?

Letta offers a free tier, then Pro plan at $20/month with up to 20 stateful agents, API Plan at $20/month base plus usage charges ($0.10/active agent/month, $0.00015/second for tool execution), and Teams Pro at $20/seat/month.

Source
Sourcegraph: How much does Sourcegraph cost?

Sourcegraph's pricing page lists a single Enterprise plan starting at $16K, which it describes as a minimum annual contract. The price includes credits for AI features and scales with team size. Volume pricing is available through sales.

Source
Letta: How many agents can I create on the free plan?

The free tier is limited to 3 stateful agents. Pro plan allows up to 20 stateful agents, while API Plan offers unlimited agents.

Source
Sourcegraph: Does Sourcegraph have a free plan?

The pricing page lists only the Enterprise plan and a Contact sales button, with no free or self-serve tier shown. Its FAQ includes a question about a free trial, but the answer was not visible in the page text. Sourcegraph does offer a public code search across more than 1M public repositories.

Source
Letta: Does Letta charge for tool execution?

On the API Plan, Letta charges $0.00015 per second for tool execution. The Pro and Teams Pro plans include execution in their monthly fee.

Source
Sourcegraph: Can Sourcegraph be self-hosted?

Yes. The Enterprise plan includes single-tenant cloud, and the page also lists self-hosted as a deployment option. Enterprise admin and security controls are part of the plan.

Source
Sourcegraph: How do Sourcegraph AI credits work?

Credits for AI features are included per user and can be pooled across the organisation. The pricing page states there is no monthly credit expiry, that purchased credit buckets roll over on renewal, and that larger volume credit buckets are an add-on.

Source
Sourcegraph: Does Sourcegraph work with AI coding agents?

Sourcegraph offers a full MCP server, plus GraphQL and REST APIs and a CLI. The pricing page says it works with Claude Code, Cursor, Codex, Amp and more, giving agents context from the indexed codebase.

Source
Share

Related pages

Other head to heads