Mastra
Hacker ApprovedShares rank 2 of 28 agent frameworks by recommenders
Open-source TypeScript framework for building AI agents, praised for workflow primitives and developer experience. Common caveat: its opinionated patterns can slow you down when your project doesn't fit them.
Open-source TypeScript framework for building AI agents, praised for workflow primitives and developer experience. Common caveat: its opinionated patterns can slow you down when your project doesn't fit them.
35 people gave an opinion
- recommend it
- 32
- criticize it
- 3
- approval share
- 91%
Recommended in 10 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: not recommended
- June 2026: recommended
- July 2026: not recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 32 people recommend itNeeds 10 or more, met.
- 11 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 10 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Solid workflow and agent primitives
“Mastra is more integrated with storage powering our studio, evals, memory, workflow suspend/resume etc.”
Comment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs” “The workflow and agent composition primitives look well-designed.”
Comment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs” “Mastra even has an agent that helps you build other agents”
Comment from 5 Aug 2026 in “Flowise Is Shutting Down” - Comment from 3 Feb 2026 in “Qwen3-Coder-Next”
- Comment from 21 Sep 2026 in “AX – Google’s Open Agentic Orchestrator”
TypeScript-first agent framework
“We're TypeScript-first, TypeScript-only so a lot of the teams who use us”
Comment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs” “Mastra is the open-source TypeScript framework for building AI agents”
Comment from 2 Sep 2026 in “Ask HN: Who is hiring? (September 2026)” “the open-source TypeScript framework for building AI agents”
Comment from 7 Oct 2026 on Hacker News - Comment from 23 Sep 2026 in “Strands Harness”
Good developer experience, less boilerplate
“Been using Mastra for some side projects for months and it's just phenomenal.”
Comment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs” “I'm a fan of the publicity work and general out-of-the-box DX!”
Comment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs” “Mastra is Next.js -- mostly saving you boilerplate.”
Comment from 26 Dec 2025 in “All I Want for Xmas Is Your Secrets: LangGrinch Hits LangChain (CVE-2025-68664)” Replaces custom agent plumbing
“I personally have moved to a pattern where i use mastra-agents in my project to achieve this”
Comment from 27 Dec 2025 in “Show HN: Mysti – Claude, Codex, and Gemini debate your code, then synthesize” “teams that started rolling their own shift over to Mastra so they can focus on the agent”
Comment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs” “roll our own solution on top of Letta or Mastra”
Comment from 16 Feb 2026 in “OpenClaw, OpenAI and the Future”
Other agent frameworks people recommend
The four most recommended other agent frameworks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| Claude Agent SDK | 36 | 25 | 59% | 11 | — | — |
| MastraThis page | 32 | 3 | 91% | 10 | — | Approved |
| LangChain | 32 | 79 | 29% | 10 | 1 yr3 owners | — |
| LangGraph | 31 | 23 | 57% | 12 | — | — |
| DSPy | 29 | 19 | 60% | 8 | — | — |
What people said
39 of the 43 comments that mention it, newest first. Each links to the original comment.
“the open-source TypeScript framework for building AI agents”
“seems more complete for people making agents in typescript”
“has workflow visibility and a number of templates”
“I can run my own sizeable agent swarm with Mastra”
“Mastra is the open-source TypeScript framework for building AI agents”
“I have a very similar experience with the Mastra project.”
“Mastra even has an agent that helps you build other agents”
“I'd recommend using a framework like Mastra and deploying onto a sandbox”
“it's been great for getting a feel for how these pieces fit together”
“to see how more inviting their pages look”
“didn't have the right kind of packaging (targeted at Engineers”
“roll our own solution on top of Letta or Mastra”
“it's allowed me to maintain more consistent workflows”
“use mastra, get acquired!”
“Our mission with Mastra is to make sure users can get further faster with the standard primitives of AI engineering!”
“The workflow and agent composition primitives look well-designed.”
“opinionated when you don't fit into an existing pattern it is difficult to keep being productive”
“Strands documentation seems very underwhelming compared to Mastra”
“I'm a happy Mastra user and I'm biased to their success.”
“fantastic work, congratulations on the launch!!!!”
“Looks like a cool framework regardless of that”
“Nice UI, cool systems, hope to play with it more and build something”
“it felt clunky working with workflows and branching logic”
“Mastra is more integrated with storage powering our studio, evals, memory, workflow suspend/resume etc.”
“your docs search is broken”
“The landing page looks dope.”
“teams that started rolling their own shift over to Mastra so they can focus on the agent”
“I'm a fan of the publicity work and general out-of-the-box DX!”
“here's Brex CTO talking about Mastra in their AI engineering stack”
“you likely are locked in to a platform. This DX and convenience just shifts within the stack where the lock in occurs”
“Someone told me that you have an excellent product but I don't have a need for it yet.”
“We wanted something that felt like it was made for us.”
“We're TypeScript-first, TypeScript-only so a lot of the teams who use us”
“Been using Mastra for some side projects for months and it's just phenomenal.”
“production-grade framework (with no vendor lock in)”
“I personally have moved to a pattern where i use mastra-agents in my project to achieve this”
“Mastra is Next.js -- mostly saving you boilerplate.”
“my goto SOTA solution for these kind of LLM flow coordinations”
“spins up a server for your agent”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.