O

OpenAI Agents SDK精选

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

简介

OpenAI 官方轻量 Agent 框架:以 Agent、Handoff(任务移交)、Guardrail(安全护栏)三个原语构建多 Agent 系统,代码量少、心智负担低,是 Swarm 的生产级继任者。

English

OpenAI's lightweight agent framework built on three primitives — agents, handoffs and guardrails — the production-ready successor to Swarm.

适用场景

  • 需要快速搭一个多 Agent 协作流程
  • 要在 Agent 中加入输入输出安全校验
  • 不想被框架的重度抽象绑死

快速上手

  1. pip install openai-agents
  2. 定义 Agent(指令 + 工具 + 模型)
  3. 用 Runner.run() 执行,需要协作时配置 handoffs
  4. 用 Guardrail 拦截不合规输入输出

标签

相关资源

D
AI 绘画

DALL·E / ChatGPT 绘图

藏在 ChatGPT 里的生图:中文描述直接出图,最大的优势是"对话式改图"——说一句"把背景换成雪天"它就改,零学习成本。Image generation inside ChatGPT: describe in natural language and refine by chatting — zero learning curve.

AI绘画OpenAI对话式易上手
热度 85 详情 →
C
AI 写作

ChatGPT 精选

全球用户量最大的 AI 对话助手:写作、翻译、总结、头脑风暴、数据分析全能,免费版够用,Plus 解锁 GPT-4o 与文件上传,是 AIGC 入门的第一站。The world's most popular AI assistant for writing, translation, summarization and brainstorming — the first stop for AIGC beginners.

AI写作OpenAI对话办公提效
热度 98 详情 →
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 详情 →
↑