跳到內容

Agent Framework

mastra-ai/mastra

mastra-ai/mastra· TypeScript

TypeScript 優先的 Agent 框架,整合 workflow、RAG、evals

GitHub 數據

Stars
23,425
Forks
1,980
Watchers
91
Open issues
392

meta

License
NOASSERTION
主要語言
TypeScript
最後 commit
2026-04-29
數據抓取時間
2026-04-29

Mastra 是 Gatsby 團隊打造的開源 TypeScript Agent 框架,把 agents、workflow(圖形化步驟、可分支與暫停恢復)、RAG、memory、evals、MCP 整合在同一套 stack 裡。底層跑在 Node.js,可部署到 Vercel、Cloudflare 或 serverless 環境,與 Next.js、Vercel AI SDK 無縫銜接。用 `npm create mastra@latest` 即可起專案。

編輯試用心得

如果你的團隊在 TypeScript/Next.js 生態,又想要 LangGraph 等級的 workflow 能力但不想跳到 Python,Mastra 是首選。可暫停恢復的 workflow 加上內建 evals,比單純包一層 Vercel AI SDK 強很多。但如果你本來就用 Python,去用 LangGraph 更直接;只做單輪 chatbot 也用不到這麼大的 surface area。

最後更新: 2026-04-29

We use cookies

Anonymous analytics help us improve the site. You can opt out anytime. Learn more