Skip to content
Agentmart
Submit a tool

Letta vs Mastra

Letta and Mastra are both agent frameworks for TypeScript. Letta is published by Letta and Mastra by Mastra. On GitHub, Mastra has 29,050 stars and Letta has 25,244. Both were last active in Oct 2026. The table lines up where they differ (publisher, weekly downloads and category) and has the install commands for both. Everything here comes from the listings' public sources and is refreshed daily. Letta describes itself as: Open-source agent harness for stateful agents whose memory persists and improves with use, with a terminal UI, app server and TypeScript SDK. Mastra: TypeScript framework for AI agents and apps with graph-based workflows, memory, suspend-and-resume approvals, MCP servers and model routing. Licenses: Letta Apache-2.0, Mastra unknown.

Updated Oct 26, 2026 · Built from catalog data; how we rank and grade

Who should pick which

  • Pick Mastra if you want MCP support built in.
  • Pick Mastra if you want a stable release (Letta is marked beta).

From listing data only. We don't pick a winner on security beyond the grades; read how grades work.

Side by side

FactLettaMastra
TypeHarnessHarness
PublisherLettaMastra
LicenseApache-2.0License unknown
PricingNot statedNot stated
RunsNot statedNot stated
AuthNot statedNot stated
Hosts supportedNot statedNot stated
ToolsNot listed yetNot listed yet
Security grade–Security: not graded yet–Security: not graded yet
Freshness gradeAFreshness: AAFreshness: A
GitHub stars25,24429,050
Weekly downloads40,7111,442,185
Last releaseMay 14, 2026Oct 21, 2026
Last activityOct 18, 2026Oct 24, 2026

Facts from each listing's public sources, checked daily. Tool lists arrive with tool scans.

Install

Letta

pip install letta

Mastra

npm install @mastra/core

Also consider

Questions

Is Letta or Mastra more popular?
Mastra has more GitHub stars (29,050 against 25,244). Stars measure attention, not quality, so check freshness and docs too.
Are Letta and Mastra open source?
Letta is open source (Apache-2.0); the other is unknown.
Cite this page

Letta vs Mastra. Agent Mart. https://agentmart.dev/compare/letta-vs-mastra (last updated 2026-10-26)