SPB Git
4.8 KB · 49 lines json
1{2  "slug": "openai-agents-sdk",3  "name": "OpenAI Agents SDK",4  "aliases": ["openai-agents (PyPI)", "@openai/agents", "Swarm (predecessor)"],5  "vendor": { "name": "OpenAI", "slug": "openai", "website": "https://developers.openai.com/api/docs" },6  "homepage_url": "https://openai.github.io/openai-agents-python/",7  "docs_url": "https://openai.github.io/openai-agents-python/",8  "repo_url": "https://github.com/openai/openai-agents-python",9  "license_url": "https://github.com/openai/openai-agents-python/blob/main/LICENSE",10  "product_type": "framework",11  "product_status": "active",12  "summary": "Lightweight open-source Python and TypeScript framework for agents, handoffs, guardrails, sessions and tracing, defaulting to OpenAI's Responses API with adapters for other providers",13  "description": "The OpenAI Agents SDK is OpenAI's MIT-licensed framework for building agentic applications with few abstractions, released as the production successor to the experimental Swarm project. An agent is a model plus instructions and tools, run in a built-in loop until the task completes. Handoffs (or agents-as-tools) delegate work between agents, guardrails validate inputs and outputs in parallel and fail fast, sessions persist working memory across turns, and tracing records every run for debugging and for OpenAI's evaluation and fine-tuning tools. Function tools are generated from Python functions with automatic schemas and Pydantic validation, and MCP servers can be attached so their tools appear alongside local ones.\n\nThe SDK uses the Responses API for OpenAI models by default but ships adapters (LiteLLM and others) for non-OpenAI providers. Additional modules cover realtime voice agents, speech-to-text/text-to-speech voice pipelines, sandboxed agents running in isolated workspaces and human-in-the-loop approval. A TypeScript edition (`@openai/agents`) mirrors the Python package. The framework is attractive for teams committed to OpenAI who want minimal ceremony; its tracing and some hosted tools are tied to the OpenAI platform, so provider portability is weaker than with LangGraph or Pydantic AI.",14  "capabilities": ["Agents, handoffs, guardrails, sessions and tracing primitives", "Function tools with automatic schema generation and validation", "MCP server integration", "Realtime voice agents and STT/TTS voice pipelines", "Sandboxed agents and human-in-the-loop approvals", "Python and TypeScript packages with non-OpenAI provider adapters"],15  "workflows": ["Build a triage agent that hands off to specialist agents", "Add input and output guardrails to an existing assistant", "Prototype a voice agent on the Realtime API"],16  "advantages": ["Minimal abstractions and short learning curve", "First-class support for OpenAI hosted tools and tracing", "MIT license with Python and TypeScript parity"],17  "limitations": ["Defaults and tracing favor the OpenAI platform", "Younger than LangChain with fewer third-party integrations", "Durable execution is less developed than in LangGraph"],18  "prerequisites": ["Python 3.9+ or Node.js", "OpenAI API key (or configured alternative provider)"],19  "audiences": ["Developers on the OpenAI platform", "Teams building voice or multi-agent workflows quickly"],20  "alternatives": ["langgraph", "pydantic-ai", "crewai", "langchain", "autogen"],21  "categories": [{ "slug": "agent-frameworks", "primary": true }],22  "tags": ["agents", "python", "typescript", "open-source", "llm", "mcp", "voice"],23  "use_cases": ["build-agents"],24  "operating_systems": ["macos", "linux", "windows"],25  "execution_modes": ["local", "self-hosted", "cloud"],26  "interfaces": ["library"],27  "deployment_models": ["embedded"],28  "integrations": ["OpenAI Responses API", "Model Context Protocol", "LiteLLM", "Realtime API"],29  "data_formats": ["JSON", "JSON Schema"],30  "languages": ["Python", "TypeScript"],31  "source_model": "open-source",32  "license_spdx": "MIT",33  "pricing_model": ["open-source", "free"],34  "self_hostable": true,35  "sources": [36    { "url": "https://openai.github.io/openai-agents-python/", "type": "official_site", "title": "OpenAI Agents SDK documentation", "supports": ["name", "summary", "capabilities"], "checked_at": "2026-11-02" },37    { "url": "https://github.com/openai/openai-agents-python", "type": "repository", "supports": ["license_spdx", "languages"], "checked_at": "2026-11-02" },38    { "url": "https://github.com/openai/openai-agents-python/blob/main/LICENSE", "type": "license_page", "supports": ["license_spdx", "source_model"], "checked_at": "2026-11-02" },39    { "url": "https://openai.github.io/openai-agents-js/", "type": "official_docs", "title": "OpenAI Agents SDK for TypeScript", "supports": ["languages"], "checked_at": "2026-11-02" }40  ],41  "confidence": "high",42  "discovery_method": "editorial-research",43  "depth": "standard",44  "editorial_status": "reviewed",45  "visibility": "public",46  "featured": false,47  "author": "batch-A"48}49
Files · 19c0ff748ee94e0979c734f5fb3afeefc11ee9e1
Menu

Theme