{"status":"success","item":{"id":10,"slug":"openai-agents-sdk-openai-openai-agents-python-readme-md","label":"OpenAI Agents SDK [](https://pypi.org/project/openai-agents/)","repository_full_name":"openai/openai-agents-python","resource_kind":"framework","category":"agent-sdk","source_path":"README.md","repo_url":"https://github.com/openai/openai-agents-python","raw_url":"https://raw.githubusercontent.com/openai/openai-agents-python/main/README.md","portal_url":"/github-library/openai-agents-sdk-openai-openai-agents-python-readme-md/","summary":"The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows. It is provider-agnostic, supporting the OpenAI Responses and Chat Completions APIs, as well as 100+ other LLMs.","excerpt":"The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows. It is provider-agnostic, supporting the OpenAI Responses and Chat Completions APIs, as well as 100+ other LLMs. [!NOTE] Looking for the JavaScript/TypeScript version? Check out Agents SDK JS/TS. Core concepts: Agents**: LLMs configured with instructions, tools, guardrails, and handoffs Sandbox Agents**: Agents preconfigured to work with a container to perform work over long time horizons.","promotion_angle":"拿来做对比页、上手教程和案例专题，直接服务推广获客。","default_branch":"main","stars":24851,"forks":3797,"open_issues":68,"pushed_at":"2026-04-24T07:06:24+08:00","last_synced_at":"2026-04-24T08:30:27.787969+08:00","sync_status":"synced","sync_error":"","is_featured":true,"is_favorite":false,"publish_queue_status":"backlog","publish_target":"article","queue_priority":0,"operator_notes":"","metadata":{"description":"A lightweight, powerful framework for multi-agent workflows","language":"Python","topics":["agents","ai","framework","llm","openai","python"],"license":"MIT","homepage":"https://openai.github.io/openai-agents-python/","source_preview":"# OpenAI Agents SDK [![PyPI](https://img.shields.io/pypi/v/openai-agents?label=pypi%20package)](https://pypi.org/project/openai-agents/)\n\nThe OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows. It is provider-agnostic, supporting the OpenAI Responses and Chat Completions APIs, as well as 100+ other LLMs.\n\n<img src=\"https://cdn.openai.com/API/docs/images/orchestration.png\" alt=\"Image of the Agents Tracing UI\" style=\"max-height: 803px;\">\n\n> [!NOTE]\n> Looking for the JavaScript/TypeScript version? Check out [Agents SDK JS/TS](https://github.com/openai/openai-agents-js).\n\n### Core concepts:\n\n1. [**Agents**](https://openai.github.io/openai-agents-python/agents): LLMs configured with instructions, tools, guardrails, and handoffs\n1. [**Sandbox Agents**](https://openai.github.io/openai-agents-python/sandbox_agents): Agents preconfigured to work with a container to perform work over long time horizons.\n1. **[Agents as tools](https://openai.github.io/openai-agents-python/tools/#agents-as-tools) / [Handoffs](https://openai.github.io/openai-agents-python/handoffs/)**: Delegating to other agents for specific tasks\n1. [**Tools**](https://openai.github.io/openai-agents-python/tools/): Various Tools let agents take actions (functions, MCP, hosted tools)\n1. [**Guardrails**](https://openai.github.io/openai-agents-python/guardrails/): Configurable safety checks for input and output validation\n1. [**Human in the loop**](https://openai.github.io/openai-agents-python/human_in_the_loop/): Built-in mechanisms for involving humans across agent runs\n1. [**Sessions**](https://openai.github.io/openai-agents-python/sessions/): Automatic conversation history management across agent runs\n1. [**Tracing**](https://openai.github.io/openai-agents-python/tracing/): Built-in tracking of agent runs, allowing you to view, debug and optimize your workflows\n1. [**Realtime Agents**](https://openai.github.io/openai-agents-python/realtime/quickstart/): Build powerful voice agents with `gpt-realtime-1.5` and full agent features\n\nExplore the [examples](https://github.com/openai/openai-agents-python/tree/main/examples) directory to see the SDK in action, and read our [documentation](https://openai.github.io/openai-agents-python/) for more details.","site_use_cases":["Agent SDK 入门","Python 实战页","开发者教程"],"suggested_formats":["核心能力解读","接入教程","场景落地页"],"channel_plan":["wechat","x","topic_update"]}}}