代理构建模块
使用指令、工具、guardrails 和 handoffs 配置代理,以支持 JavaScript 或 TypeScript 中的多步骤工作流。
OpenAI Agents SDK(JavaScript/TypeScript)是一款用于在 JavaScript 和 TypeScript 中构建多智能体工作流的轻量级框架。仓库将其描述为与提供方无关,支持 OpenAI API 等更多服务。
该 SDK 围绕 agents、tools、guardrails、handoffs、sessions、tracing、sandbox agents 和 realtime agents 组织。README 还指向示例和文档,帮助学习 API 并运行不同工作流,包括可检查文件、运行命令和应用补丁的沙箱工作。
使用指令、工具、guardrails 和 handoffs 配置代理,以支持 JavaScript 或 TypeScript 中的多步骤工作流。
为需要文件访问或命令执行的长时间运行任务使用带有文件系统工作区和沙箱环境的沙箱代理。
当任务需要拆分为专业化步骤时,可通过将代理作为工具或使用 handoffs 在代理之间委派工作。
添加工具,让代理执行操作,包括函数、MCP 和托管工具。
使用内置 tracing 跟踪代理运行,以便查看、调试和优化工作流。
使用 Realtime Agents 构建语音代理,README 将其描述为具备完整功能。
构建一个使用指令、工具和 handoffs 完成跨多个步骤结构化任务的代理。
为需要仓库访问、命令执行或补丁应用的工作流使用沙箱代理,同时在运行期间保留工作区状态。
当工作流需要实时交互而不是纯文本交流时,使用 Realtime Agents 创建支持语音的代理。
添加 tracing 来检查代理行为,然后利用这些可见性持续调试和优化工作流。
README 说明可使用 `npm install @openai/agents zod` 安装 SDK。它还指出,要运行 README 中展示的示例,需要设置 `OPENAI_API_KEY` 环境变量。
README 将该包描述为一个用于多智能体工作流的 JavaScript/TypeScript SDK,并支持常规代理和沙箱代理。它还说明该 SDK 与提供方无关,支持 OpenAI API 等更多服务。
README 中列出的支持环境包括 Node.js 22 或更高版本、Deno 和 Bun。Cloudflare Workers 标注为实验性,并启用 `nodejs_compat`。
支持。README 突出介绍了 Realtime Agents,可用于构建具有完整功能的语音代理,仓库主题也包含 `realtime-api` 和 `openai-api`。
该仓库是一个采用 MIT 许可证的开源项目。GitHub 定价页面显示 GitHub 本身有免费套餐和付费计划,但并未为这个 SDK 提供单独定价。
AakarDev AI helps teams manage AI provider access, project-level setups, logs, and analytics from one dashboard. It supports BYOK workflows and lists providers including OpenAI, Google Gemini, Anthropic, Groq, Mistral AI, and Perplexity AI.
Devin Desktop is Windsurf’s desktop product for managing local and cloud agents from one workspace. It supports Mac, Windows, and Linux, with additional access through a JetBrains plugin and a local CLI.
Happycapy is a browser-based agent platform that lets users run Claude Code, manage skills, and delegate tasks inside a secure sandbox. It offers a free tier plus paid plans for more automation, email handoff, and larger workloads.
Dify is an agentic workflow builder for teams that need to develop, deploy, and manage autonomous agents, RAG pipelines, and related AI applications. It offers cloud, self-hosted, and enterprise-oriented options, plus a free Sandbox plan and paid tiers.
Tabnine is an AI code assistant for developers and engineering teams, with code completions, in-IDE chat, and enterprise deployment options. It emphasizes code privacy, governance, and context-aware AI grounded in the user’s codebase.
OpenAI is an AI research and deployment company centered on ChatGPT, the API, Platform tools, and Codex. The site helps individuals, developers, and businesses explore conversational AI, build with models, and follow product and research updates.