Navigation and interface are shown in English; some tool descriptions or article bodies remain in their original language.

Navigation

AI Products
Ranking Types
Language · English
AI Office

Mastra

用于构建、部署和观测 AI 智能体的 TypeScript 框架

免费版 / Starter $25/月 / Team $250/月Editor Score UnratedSite Online🏆 AI Office #38CN DirectOpen SourceFreemium
Visit Website ↗

Product Information

Platforms
Web
Languages
Unspecified
Last Updated
2026-12-02
mastra.ai
Mastra 产品截图Enlarge ↗
Mastra ScreenshotImage source ↗Website Preview

core competencies

11 items
  • TypeScript AI 智能体框架
  • 支持模型、指令、工具、记忆和运行时行为的智能体
  • 支持分支、重试、并行执行和人机协同的类型安全多步骤工作流
Show all 11 items
  • TypeScript AI 智能体框架
  • 支持模型、指令、工具、记忆和运行时行为的智能体
  • 支持分支、重试、并行执行和人机协同的类型安全多步骤工作流
  • 持久化记忆,包括对话历史、语义召回、观察记忆、线程感知存储
  • 内置可观测性,包括日志、指标、追踪、评估、数据集、实验和评分器
  • Mastra Studio:用于协作开发、测试、评估和迭代智能体的工具
  • 支持 90 多个模型提供商以及数千种模型的模型路由
  • 支持 MCP 服务器和工具
  • 智能体运行框架,支持共享状态、多种模式、线程和存储
  • 支持 Mastra Cloud、Node.js、Vercel、Netlify、Cloudflare 和自托管环境等部署方式
  • 企业功能,包括 RBAC、SSO、审计日志、IAM 集成、网络策略、SLA 和 VPC 部署

Typical usage scenarios

6 items
  • 构建可在 Slack 和企业系统中运行的内部自动化智能体
  • 创建能够回答问题并完成产品任务的面向客户的助手
  • 开发供其他产品团队使用的 AI 开发者平台和共享智能体基础能力
Show all 6 items
  • 构建可在 Slack 和企业系统中运行的内部自动化智能体
  • 创建能够回答问题并完成产品任务的面向客户的助手
  • 开发供其他产品团队使用的 AI 开发者平台和共享智能体基础能力
  • 自动化订单履行、配送等持久化业务流程
  • 构建编程智能体、AI SRE、研究助手和特定领域的智能副驾
  • 使用追踪、指标、数据集和自定义评分器评估和监控生产环境中的智能体

Get started quickly

1 items
  • Get started quickly

    使用 CLI 创建 Mastra 项目,设置项目名称并选择 OpenAI、Anthropic、Google 或 xAI 等支持的模型提供商。定义包含指令、模型、工具和记忆的智能体,然后通过类型安全的步骤、分支、重试和人工审批来组合工作流。在 Mastra 服务器上注册智能体和工作流,运行本地开发服务器,并打开 Mastra Studio(地址为 http://localhost:4111)来构建、测试、评估和管理它们。之后,Mastra 应用可以部署到兼容 Node.js 的环境、云平台或自托管基础设施中。

View full description
  • Get started quickly

    使用 CLI 创建 Mastra 项目,设置项目名称并选择 OpenAI、Anthropic、Google 或 xAI 等支持的模型提供商。定义包含指令、模型、工具和记忆的智能体,然后通过类型安全的步骤、分支、重试和人工审批来组合工作流。在 Mastra 服务器上注册智能体和工作流,运行本地开发服务器,并打开 Mastra Studio(地址为 http://localhost:4111)来构建、测试、评估和管理它们。之后,Mastra 应用可以部署到兼容 Node.js 的环境、云平台或自托管基础设施中。

Detailed IntroductionLearn more about Mastra features and how to use itExpandCollapse

Mastra 是一个开源 TypeScript 框架,用于构建、部署、观测和改进 AI 智能体及 AI 应用。它提供智能体开发工具、类型安全工作流、记忆、工作区、MCP 支持、人机协同功能、模型路由和内置可观测性。开发者可以在 React、Next.js、Node.js、Hono 及其他 JavaScript 或 TypeScript 环境中使用 Mastra,创建内部自动化智能体、面向客户的助手、开发者平台和多步骤工作流应用。Mastra 项目可基于 Apache 2.0 许可证自行托管,也可以通过 Mastra Platform 使用包含托管基础设施、监控、存储和企业功能的托管服务。

Suitable for the crowd

  • TypeScript 开发者
  • AI 应用开发者
  • 机器学习工程师
  • 后端工程师
  • 全栈开发者
  • 平台工程师
  • DevOps 工程师
  • AI 产品团队
  • 企业工程团队
  • 自动化专家
  • 研究团队
  • 创业公司创始人

产品优势

  • 专为 TypeScript 和现代 JavaScript 应用打造
  • 将智能体、工作流、记忆、MCP、部署和可观测性整合在一个框架中
  • 核心开源代码采用 Apache 2.0 许可证
  • 通过统一的模型路由器支持众多 AI 模型提供商
  • 提供支持持久化执行和人工审批步骤的类型安全工作流
  • 内置完善的调试、追踪、评估和监控功能
  • 同时支持托管云部署和自托管
  • 免费的 Platform Starter 计划支持不限数量的用户、部署和项目

使用注意

  • 需要具备 TypeScript 或 JavaScript 开发经验
  • 托管平台的使用可能会因事件、CPU 时间、存储、记忆和数据传输而产生额外费用
  • Gateway 模型用量按市场价格计费,并额外收取 5.5% 的费用
  • 高级企业功能需要定制化定价
  • 对于简单的聊天机器人项目而言,该框架可能比轻量级库更复杂
  • 用户需要配置外部模型提供商及相关凭证

Pros, Cons & Quick Verdict

Aggregated from live multi-source checks & community signals

Key Strengths

  • recent surgeClimbed 50,165 spots globally in the last 30 days with strong momentum.
  • Open source and transparentGitHub 开源收获 3.0万 Stars,支持代码审计与社区扩展
  • Real discussions are active10 verified community reviews indexed.
  • Low threshold to get startedOffers a free tier plus 4 official plans — try free before upgrading.
  • Domestic direct connectionVerified directly reachable from China without proxy (~271 ms).

Limitations & Notes

  • English interfaceThe official website defaults to an English interface. The native Chinese version has not been detected yet and can be used with browser translation.
Best for: Developer/technical team (supporting API integration or open source secondary development) Individual creators and early adopter users (including free quota, zero-cost verification effect)
MULTI-SOURCE LIVE INSIGHTS

Mastra Multi-Source Analytics

Public sources: Tranco Top 1M · Google CrUX · GitHub API · Site Online / RDAP · Synced 2026-12-05

UC AI Popularity Score 热门
AI Office #38 · Top 98.9%
Tranco Global Rank
#177,048
↑ Up 51,167 vs last month
Google CrUX Tier
Top 1,000,000
Real Chrome user traffic · 15/15
GitHub Stars
3.0万
Fork 3,171 · TypeScript
Real-time ranking in the same category
第 38 名
Outranks 98.9% in category

Tranco Global Domain Rank Trend

Higher on the chart means a better global rank · Hover points for exact figures
Period Peak#180,501 Period Low#730,879 Period average#417,467 Latest MoM↑ +49,678
#180,501 #417,467 #730,879 2026-01 · Tranco #730,879 · 首期基线 26-01 2026-02 · Tranco #594,607 · 较上月上升 136,272 位 26-02 2026-03 · Tranco #546,570 · 较上月上升 48,037 位 26-03 2026-04 · Tranco #540,297 · 较上月上升 6,273 位 26-04 2026-05 · Tranco #468,400 · 较上月上升 71,897 位 26-05 2026-06 · Tranco #446,366 · 较上月上升 22,034 位 26-06 2026-07 · Tranco #379,708 · 较上月上升 66,658 位 26-07 2026-08 · Tranco #327,243 · 较上月上升 52,465 位 26-08 2026-09 · Tranco #297,071 · 较上月上升 30,172 位 26-09 2026-10 · Tranco #267,782 · 较上月上升 29,289 位 26-10 2026-11 · Tranco #230,179 · 较上月上升 37,603 位 26-11 2026-12 · Tranco #180,501 · 较上月上升 49,678 位 26-12
统计月份 Tranco Global Rank 较上月变动 Status
2026-12 #180,501 ↑ +49,678 Ranking improvement
2026-11 #230,179 ↑ +37,603 Ranking improvement
2026-10 #267,782 ↑ +29,289 Ranking improvement
2026-09 #297,071 ↑ +30,172 Ranking improvement
2026-08 #327,243 ↑ +52,465 Ranking improvement
2026-07 #379,708 ↑ +66,658 Ranking improvement

五维产品竞争力雷达

多源公开指标量化评估
global popularity International coverage Open source and community Ecology and reputation Credibility and stability 全球热度:42/100(Tranco #177,048) 国际覆盖:65/100(CrUX 覆盖 15 国) 开源与社区:46/100(★ 3.0万) 生态与口碑:33/100(综合分 50) 可信与稳定:75/100(官网在线)
global popularity42
Tranco #177,048
International coverage65
CrUX 覆盖 15 国
Open source and community46
★ 3.0万
Ecology and reputation33
综合分 50
Credibility and stability75
Site Online
GitHub 开源活跃度 mastra-ai/mastra ↗
Stars3.0万 Forks3,171 Issues799 LanguageTypeScript 最近提交2026-12-01
官网正常在线 · 响应 673ms HTTPS 加密传输
最近巡检 2026-12-01

说明:数据由服务端采集调度器自动同步自 Tranco、Google CrUX、GitHub、Hugging Face、应用商店与 ICANN RDAP 等公开数据源;暂无记录的维度自动隐藏,不作估算或虚构。

Pricing

Freemium
参考价格核验于 2026-12-01 价格与权益可能随产品版本迭代调整,仅供参考

Free

Get started for free
免费$0
  • Build and test your first agents.
Personal reference positionVerified 2026-12-01

Team

Team / Company
$250/月
  • 3 Projects and SOC 2 report.
Team/Enterprise reference positionVerified 2026-12-01

Enterprise

Team / Company
定制报价
  • RBAC, SSO and audit logs.
Team/Enterprise reference positionVerified 2026-12-01

Mastra Guides & Related News

1 related articles

FAQ

9 个问题
什么是 Mastra?

Mastra 是一个开源 TypeScript 框架,用于构建包含智能体、工作流、记忆、工作区、MCP 和可观测性的 AI 应用及智能体。

开发者可以使用 Mastra 构建什么?

开发者可以使用它构建客户支持助手、内部自动化智能体、特定领域的智能副驾、编程智能体、AI SRE、研究工具以及多步骤工作流自动化应用。

Mastra 支持哪些 AI 模型提供商?

Mastra 通过统一的模型路由接口连接 90 多个模型提供商,包括 OpenAI、Anthropic、Google Gemini、xAI 等。

Mastra 支持记忆功能吗?

支持。Mastra 支持对话历史、语义召回、观察记忆、持久化应用状态和线程感知存储。

什么是 Mastra 工作流?

Mastra 工作流是基于图的类型安全流程,支持顺序执行、分支、并行执行、重试、持久化状态和人工审批。

如何监控 Mastra 应用?

Mastra 提供日志、指标、追踪、评估、数据集、实验和评分器,用于检查和改进智能体性能。

Mastra 可以自托管吗?

支持。Mastra 核心框架采用 Apache 2.0 许可证,应用可以托管在兼容 Node.js 的环境中,也可以部署到私有基础设施上。

Mastra 的价格是多少?

Mastra Platform 提供免费的 Starter 计划,包含 100,000 条可观测性事件、24 个 CPU 小时、15 天数据保留期,以及不限数量的用户、部署和项目。Teams 计划每月 250 美元,Enterprise 计划采用定制化定价。自托管 Mastra 提供免费的 Apache 2.0 计划,授权企业功能采用定制化定价。

什么是 Mastra Studio?

Mastra Studio 是用于构建、测试、评估和管理智能体、工作流及工具的界面。

Reviews and Ratings

Rate the tool
Please select

Loading comments…

10 条全网公开评论
2pointsomone 2025-02-20 English
Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby:I think the agent part is deciding how to navigate the web on its own and when it is convinced (and you haven't told it specifically deterministically) it found what it wanted, to come back and work with your prompts. You can't really logic code this into a workflow.
Aman Kumar 2026-10-18 English
Using Mastra Agents With a Custom OpenAI-Compatible API: the url Model Config, the Silent…:I'm Aman Kumar. Mastra is a TypeScript framework for agents and workflows, and most of its examples...
tough 2025-02-22 English
Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby:in npm there's a mastra/composeio package that might work, they also seem to have some mcp support
SparkyMcUnicorn 2025-02-21 English
Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby:Same as any other open source framework or library. Calling that "lock in" is a stretch, but you're free to write everything from scratch if that's the way you roll.
dstroot 2025-02-20 English
Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby:Congrats! Side question - is the website OS as well? I'd like to "borrow" the Nav Bar code. I looked on GitHub and couldn't find it in the repos and 300+ branches. Cheers!
jmkni 2025-02-20 English
Show HN: Mastra – Open-source JS agent framework, by the developers of Gatsby:Is any of the voice stuff in any way 'natural' sounding, I'd love to be able to recreate the ChatGPT app voice experience in my own app with a custom agent, but it just sounds robotic and crap

Real member comments will be publicly displayed after review. No duplicate responses will be included in the scoring.

Explore related topics & tools

More Similar Tools

AI Office

DeepL

★ 4.4

An AI tool known for high-quality translation and rewriting, suitable for cross-language conten

Translation and writing assistantDetails →
AI Office

Otter.ai

★ 4.4

A sophisticated meeting assistant with real-time transcription, summarization, and action item

Meeting transcripts and summariesDetails →
AI Office

Hermes-Agent

An open source autonomous agent framework that supports growing, learning, and automating tasks

Details →
AI Office

JamGPT

Jam simplifies bug reporting with automated data capture and team integration.

Details →
AI Office

Apify

Apify is a complete platform for web scraping, data extraction, and automation.

Details →

Security verification

Please complete the verification before proceeding.