Mastra

TypeScript agent framework with memory, tools, MCP and observability.

Visit Mastra ↗

Pricing

Model
freemium
Starting price
Not listed — check the vendor site

Best for

Build an AI agent in code

▸ Top choice for TypeScript developers.

Mastra alternatives

Other tools we list for the same jobs, closest match first.

LangChain / LangGraph

Open-source frameworks for LLM apps and stateful agents, plus the LangSmith platform.

freemium

OpenAI Agents SDK

Lightweight open-source SDK for multi-agent workflows.

free (open source)

Claude Agent SDK

SDK exposing the Claude Code agent harness for custom agents.

free (pay for API usage)

Pydantic AI

Type-safe Python agent framework from the Pydantic team.

free (open source)

Vercel AI SDK

TypeScript toolkit for AI apps and agents.

free (open source)

Google ADK

Google's open-source Agent Development Kit.

free (open source)

Related use cases

Connect an agent to your apps and APIsAdd long-term memory and knowledge to an agentBuild a full-stack web app from a promptBuild agent workflows without coding