Hacker ApprovedDepartments

Mastra

Hacker Approved

Shares 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%
Each figure is one person. RecommendsCriticizes

Recommended in 10 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. 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”
  • 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
  • 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.

Mastra compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Claude Agent SDK362559%11——
MastraThis page32391%10—Approved
LangChain327929%101 yr3 owners—
LangGraph312357%12——
DSPy291960%8——
See all 28 agent frameworks, ranked

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”

RecommendsComment from 7 Oct 2026 on Hacker News

“seems more complete for people making agents in typescript”

RecommendsComment from 23 Sep 2026 in “Strands Harness”

“has workflow visibility and a number of templates”

RecommendsComment from 21 Sep 2026 in “AX – Google’s Open Agentic Orchestrator”

“I can run my own sizeable agent swarm with Mastra”

RecommendsComment from 18 Sep 2026 in “The Painful Truth: The RAM Crisis Is Only Just the Beginning”

“Mastra is the open-source TypeScript framework for building AI agents”

RecommendsComment from 2 Sep 2026 in “Ask HN: Who is hiring? (September 2026)”

“I have a very similar experience with the Mastra project.”

RecommendsComment from 1 Sep 2026 in “A browser-based viewer for Office Open XML documents”

“Mastra even has an agent that helps you build other agents”

RecommendsComment from 5 Aug 2026 in “Flowise Is Shutting Down”

“I'd recommend using a framework like Mastra and deploying onto a sandbox”

RecommendsComment from 11 Jun 2026 in “Building Agents Without Harness-Engineering”

“it's been great for getting a feel for how these pieces fit together”

RecommendsComment from 7 Apr 2026 in “Ask HN: Learning resources for building AI agents?”

“to see how more inviting their pages look”

RecommendsComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“didn't have the right kind of packaging (targeted at Engineers”

CriticizesComment from 16 Feb 2026 in “OpenClaw, OpenAI and the Future”

“roll our own solution on top of Letta or Mastra”

RecommendsComment from 16 Feb 2026 in “OpenClaw, OpenAI and the Future”

“it's allowed me to maintain more consistent workflows”

RecommendsComment from 3 Feb 2026 in “Qwen3-Coder-Next”

“use mastra, get acquired!”

RecommendsComment from 24 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“Our mission with Mastra is to make sure users can get further faster with the standard primitives of AI engineering!”

RecommendsComment 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.”

RecommendsComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“opinionated when you don't fit into an existing pattern it is difficult to keep being productive”

MixedComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“Strands documentation seems very underwhelming compared to Mastra”

RecommendsComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“I'm a happy Mastra user and I'm biased to their success.”

RecommendsComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“fantastic work, congratulations on the launch!!!!”

RecommendsComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“Looks like a cool framework regardless of that”

RecommendsComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“Nice UI, cool systems, hope to play with it more and build something”

RecommendsComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“it felt clunky working with workflows and branching logic”

MixedComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“Mastra is more integrated with storage powering our studio, evals, memory, workflow suspend/resume etc.”

RecommendsComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“your docs search is broken”

CriticizesComment from 21 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“The landing page looks dope.”

RecommendsComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“teams that started rolling their own shift over to Mastra so they can focus on the agent”

RecommendsComment 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!”

RecommendsComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“here's Brex CTO talking about Mastra in their AI engineering stack”

RecommendsComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“you likely are locked in to a platform. This DX and convenience just shifts within the stack where the lock in occurs”

MixedComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“Someone told me that you have an excellent product but I don't have a need for it yet.”

RecommendsComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“We wanted something that felt like it was made for us.”

RecommendsComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“We're TypeScript-first, TypeScript-only so a lot of the teams who use us”

RecommendsComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“Been using Mastra for some side projects for months and it's just phenomenal.”

RecommendsComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“production-grade framework (with no vendor lock in)”

RecommendsComment from 20 Jan 2026 in “Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs”

“I personally have moved to a pattern where i use mastra-agents in my project to achieve this”

RecommendsComment from 27 Dec 2025 in “Show HN: Mysti – Claude, Codex, and Gemini debate your code, then synthesize”

“Mastra is Next.js -- mostly saving you boilerplate.”

RecommendsComment from 26 Dec 2025 in “All I Want for Xmas Is Your Secrets: LangGrinch Hits LangChain (CVE-2025-68664)”

“my goto SOTA solution for these kind of LLM flow coordinations”

RecommendsComment from 25 Nov 2025 in “Launch HN: Onyx (YC W24) – Open-source chat UI”

“spins up a server for your agent”

CriticizesComment from 22 Nov 2025 in “Agent design is still hard”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.