orchestrating-multi-agent-systems
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOrchestrating Multi Agent Systems
多Agent系统编排
Overview
概述
This skill provides automated assistance for the described functionality.
本Skill可为上述功能提供自动化协助。
Prerequisites
前提条件
Before using this skill, ensure you have:
- Node.js 18+ installed for TypeScript agent development
- AI SDK v5 package installed ()
npm install ai - API keys for AI providers (OpenAI, Anthropic, Google, etc.)
- Understanding of agent-based architecture patterns
- TypeScript knowledge for agent implementation
- Project directory structure for multi-agent systems
使用本Skill前,请确保您已具备:
- 安装Node.js 18+用于TypeScript Agent开发
- 安装AI SDK v5包()
npm install ai - 各AI供应商的API密钥(OpenAI、Anthropic、Google等)
- 了解基于Agent的架构模式
- 具备TypeScript知识以实现Agent开发
- 已搭建多Agent系统的项目目录结构
Instructions
操作步骤
- Create project directory with necessary subdirectories
- Initialize npm project with TypeScript configuration
- Install AI SDK v5 and provider-specific packages
- Set up configuration files for agent orchestration
- Write agent initialization code with AI SDK
- Configure system prompts for agent behavior
- Define tool functions for agent capabilities
- Implement handoff rules for inter-agent delegation
See for detailed implementation guide.
{baseDir}/references/implementation.md- 创建包含必要子目录的项目目录
- 初始化npm项目并配置TypeScript
- 安装AI SDK v5及供应商专属包
- 配置Agent编排的配置文件
- 使用AI SDK编写Agent初始化代码
- 为Agent行为配置系统提示词
- 定义Agent能力对应的工具函数
- 实现Agent间任务委派的移交规则
请查看获取详细实现指南。
{baseDir}/references/implementation.mdOutput
输出内容
- TypeScript files with AI SDK v5 integration
- System prompts tailored to each agent role
- Tool definitions and implementations
- Handoff rules and coordination logic
- Workflow definitions for task sequences
- Routing rules for intelligent task distribution
- 集成AI SDK v5的TypeScript文件
- 针对各Agent角色定制的系统提示词
- 工具定义与实现代码
- 移交规则与协调逻辑
- 任务序列的工作流定义
- 智能任务分发的路由规则
Error Handling
错误处理
See for comprehensive error handling.
{baseDir}/references/errors.md请查看获取全面的错误处理方案。
{baseDir}/references/errors.mdExamples
示例
See for detailed examples.
{baseDir}/references/examples.md请查看获取详细示例。
{baseDir}/references/examples.mdResources
参考资源
- AI SDK v5 official documentation for agent creation
- Provider-specific integration guides (OpenAI, Anthropic, Google)
- Tool definition and implementation examples
- Handoff and routing pattern references
- Coordinator-worker pattern for task distribution
- AI SDK v5官方Agent创建文档
- 各供应商专属集成指南(OpenAI、Anthropic、Google)
- 工具定义与实现示例
- 移交与路由模式参考
- 用于任务分发的协调者-工作者模式