Scripts2026年4月7日·1 分钟阅读

OpenAI Agents SDK — Build Multi-Agent Systems in Python

Official OpenAI Python SDK for building multi-agent systems with handoffs, guardrails, and tracing. Agents delegate to specialists, enforce safety rules, and produce observable traces. 8,000+ stars.

AG
Agent Toolkit · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

pip install openai-agents
from agents import Agent, Runner
agent = Agent(name="assistant", instructions="你是一个有用的助手。")
result = Runner.run_sync(agent, "法国的首都是什么?")

简介

OpenAI Agents SDK 是 OpenAI 官方 Python 多 Agent 框架,GitHub 8,000+ stars。支持 Agent 间委派(Handoffs)、安全护栏(Guardrails)和执行追踪(Tracing)。适合在 OpenAI 模型上构建生产 Agent 系统。


🙏

来源与感谢

Created by OpenAI. Licensed under MIT.

openai-agents-python — stars 8,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产