> Discover all available pages from the documentation index: https://mastra.zisheng.pro/llms.txt # 使用 TypeScript 构建你的第一个 AI Agent 本课程将为你提供一条成为 AI Engineer 的清晰路径。 在 90 分钟内,你将使用 Mastra 和 TypeScript 构建并部署自己的第一个 Agent。在此过程中,你会了解 Agent loop 的底层工作方式、Tool 如何让 Agent 与其他系统交互、MCP 如何接入外部资源,以及上下文工程和 Memory 如何影响整个对话中的行为。 课程结束时,你不仅会交付第一个 Agent,更重要的是,你将掌握独立构建下一个 Agent 的方法。这里实践的模式可以直接运用到今后的各类项目中。 AI Agent 正在带来新一轮平台变革。掌握其构建方法已成为工程师的核心技能,先行者也将拥有更多机会。如果你期待探索 AI Agent 的可能性,并希望通过清晰、实用的路径入门,这门课程正适合你。 [前往第一课](https://mastra.zisheng.pro/learn/what-is-an-agent) ,跟随 Guil 开始构建。 ### Agent [什么是 Agent?5 分钟](https://mastra.zisheng.pro/learn/what-is-an-agent)[运行你的第一个 Agent5 分钟](https://mastra.zisheng.pro/learn/run-your-first-agent)[项目结构4 分钟](https://mastra.zisheng.pro/learn/project-structure)[创建 Agent5 分钟](https://mastra.zisheng.pro/learn/create-an-agent) ### Tool [创建 Tool7 分钟](https://mastra.zisheng.pro/learn/create-a-tool)[借助 AI 构建3 分钟](https://mastra.zisheng.pro/learn/build-with-ai)[获取实时数据7 分钟](https://mastra.zisheng.pro/learn/fetch-live-data)[连接 MCP7 分钟](https://mastra.zisheng.pro/learn/connect-to-mcp) ### Workflow [构建 Workflow7.5 分钟](https://mastra.zisheng.pro/learn/build-a-workflow)[Agent 与 Workflow 的区别3 分钟](https://mastra.zisheng.pro/learn/agents-vs-workflows)[在 Workflow 中使用 Agent9 分钟](https://mastra.zisheng.pro/learn/agents-in-workflows) ### Memory [Memory 的工作方式5.5 分钟](https://mastra.zisheng.pro/learn/how-memory-works)[Observational Memory5 分钟](https://mastra.zisheng.pro/learn/observational-memory)[使用 Processor 设置 Guardrail5 分钟](https://mastra.zisheng.pro/learn/guardrails-with-processors) ### 生产环境 [部署到 Mastra 平台4 分钟](https://mastra.zisheng.pro/learn/deploy-to-mastra-platform)[在 Slack 中与 Agent 对话9 分钟](https://mastra.zisheng.pro/learn/chat-with-agent-in-slack)