M

Mastra

Agent 框架 / Skill 包 热度 78 收录 2026-11-01
访问官网 ↗ GitHub 仓库 ↗

简介

TypeScript 全栈 Agent 框架:Agent、工作流、工具、记忆、RAG、评估一体化,与 Next.js 生态深度集成,前端团队做 AI 应用的顺手选择。

English

A TypeScript-first agent framework with agents, workflows, tools, memory, RAG and evals integrated — a natural fit for Next.js teams.

适用场景

  • 前端/全栈 TS 团队要做 AI 功能
  • 需要在 Next.js 应用里内嵌 Agent 与工作流
  • 想要 TS 类型安全的工具定义

快速上手

  1. npx mastra init 初始化项目
  2. 定义 Agent 与工具(全 TS 类型提示)
  3. 用 Workflow API 串多步业务流程
  4. mastra dev 本地调试后部署到 Vercel/自托管

标签

Agent框架TypeScript全栈工作流

相关资源

L
Agent

LangChain 精选

最流行的 LLM 应用开发框架,提供链式调用、Agent 编排、工具调用与 RAG 全套能力,Python 与 JS 双语言生态,适合快速搭建各类 AI Agent 应用。The most popular framework for building LLM applications: chains, agent orchestration, tool calling and RAG out of the box, in both Python and JavaScript.

热度 86 详情 →
L
Agent

LangGraph 精选

基于图(状态机)的 Agent 编排框架,擅长多 Agent 协作、循环与人工介入流程,是 LangChain 官方推荐的复杂 Agent 生产方案。Graph-based agent orchestration from the LangChain team. Ideal for multi-agent collaboration, loops and human-in-the-loop workflows in production.

热度 86 详情 →
A
Agent

AutoGen

微软开源的多 Agent 对话框架,让多个 Agent 通过对话协作完成复杂任务,支持人机混合参与,学术与工业界应用广泛。Microsoft's open-source framework where multiple agents converse to solve complex tasks, with human-in-the-loop support.

热度 70 详情 →
↑