Agent framework (code)

Mastra

Agent framework from Mastra. Supports MCP servers.

Checked 2026-10-31

Loading poll...

Mastra is a TypeScript agent framework with MCP support. Its core is described on mastra.ai/pricing as free and Apache 2.0 licensed, for building and hosting agents anywhere, and a hosted cloud sits beside it. On 31 October 2026 the cloud Starter plan was $0 a month with 100,000 observability events and 24 CPU hours, then metered, while Teams was $250 a month with 1 million events and 250 CPU hours, six months of data retention, multiple teams, SSO and a SOC 2 report on request. We would suggest it to JavaScript and TypeScript teams who want an agent framework in their own language and a hosted option for tracing and deployment. The main limit is language fit: if your stack is Python, the Python frameworks in our list are the closer match, and the metered cloud rates mean a busy deployment needs a cost check. Our data lists the licence as other, so read the repository file. This is a documentation read, not a build.

Mentioned here

  • Pydantic AI

    Pydantic AI is an MIT-licensed Python agent framework from the team behind Pydantic.

    • Agent framework (code)
    • Open source
    • MCP

    Free · 20,962 stars

  • LangGraph

    LangGraph is an MIT-licensed framework from LangChain for building agents as graphs with state, with MCP support through an adapter we could not confirm in detail.

    • Agent framework (code)
    • Open source
    • MCP

    Free tier + paid · 44,183 stars

  • CrewAI

    CrewAI is an MIT-licensed Python framework for teams of cooperating agents, with MCP support, plus a hosted product called AMP.

    • Agent framework (code)
    • Open source
    • MCP

    Free tier + paid · 60,313 stars

  • Agent Development Kit (ADK)

    Agent Development Kit, or ADK, is Google's open-source, code-first framework for building, evaluating and deploying agents.

    • Agent framework (code)
    • Open source
    • MCP

    Free · 22,051 stars

  • OpenAI Agents SDK

    The OpenAI Agents SDK is an MIT-licensed Python framework for multi-agent workflows, with a JavaScript and TypeScript version alongside.

    • Agent framework (code)
    • Open source
    • MCP

    Free · 30,399 stars

  • Claude Agent SDK

    The Claude Agent SDK is Anthropic's library for building agents on the same loop that powers Claude Code.

    • Agent framework (code)
    • Open source
    • MCP

    Free · 8,394 stars

Questions

How much does Mastra cost?

Pricing: Free tier + paid, checked 31 October 2026.

Is Mastra open source?

No, it is other.

Does Mastra work with MCP servers?

Yes.

Loading poll...

Reviews

Loading reviews…

Write a review

Your rating

Up to 1000 characters. Stars alone are enough.

Alternatives

  • AutoGen

    AutoGen is Microsoft's framework for multi-agent applications, and its repository now carries an archived notice: Microsoft says it is not providing bug fixes, security fixes, new features or support, and tells new users to start with Microsoft Agent Framework, described as the production-ready successor with stable APIs.

    • Agent framework (code)
    • MCP

    Free · 61,642 stars

Part of the Wbcom Designs family

The all-in-one WordPress community stack

Also ours: wbcomdesigns.comvapvarun.combrndle.com