# OpenAI Agents SDK

> **TL;DR.** OpenAI Agents SDK is a lightweight open-source framework for building multi-agent workflows on top of OpenAI models.

- **Category:** AI / Developer Tools / Agent Frameworks
- **Stage:** established
- **Age:** 462 days
- **Origin date:** 2025-03-11
- **First detected:** 2026-04-21
- **Canonical URL:** https://earlyterms.com/term/openai-agents-sdk
- **Sources:** 8 primary URLs

## Definition

OpenAI Agents SDK is a lightweight open-source framework for building multi-agent workflows on top of OpenAI models. It ships four primitives — Agents, Handoffs, Guardrails, and Sessions — plus built-in tracing, replacing the experimental Swarm project with a production-ready package for Python and TypeScript.

OpenAI released it on [March 11, 2025](https://github.com/openai/openai-agents-python) alongside the Responses API, then extended it at DevDay 2025 with a JavaScript port, realtime voice agents, and the broader AgentKit bundle (Agent Builder, ChatKit, Connector Registry). The Python repo has 23.8k GitHub stars and is the default starting point for OpenAI-native agent code.

## Example

A support-automation agent uses the Python SDK's `Agent` primitive with three tools (order lookup, refund API, human handoff), wraps them in a `Guardrail` that blocks PII leakage, and hands off to a billing sub-agent via `Handoffs` — all traced in the OpenAI dashboard with zero extra instrumentation code.

## Analogy

If LangGraph is a freight yard of tracks and switches, Agents SDK is a bicycle: four parts, you're moving in minutes.

## Why it's emerging now

OpenAI shipped the Agents SDK on March 11, 2025 as the production successor to Swarm, added a TypeScript port in May, and folded it into the AgentKit bundle at DevDay 2025. Thirteen months in it's the default 'hello world' for OpenAI-native agent code, with 23.8k stars and an autocomplete tail dominated by 'vs langgraph'.

## Related terms

- *competitor:* claude-agent-sdk
- *competitor:* LangGraph
- *competitor:* CrewAI
- *competitor:* AutoGen
- *parent:* Swarm
- *parent:* AgentKit
- *related:* managed-agents
- *related:* agent-loop
- *related:* agent-harness
- *related:* model-context-protocol
- *related:* parallel-agents
- *related:* agentic-coding

## Sources

1. [OpenAI Agents SDK — Python documentation](https://openai.github.io/openai-agents-python/)
2. [OpenAI Agents SDK — TypeScript documentation](https://openai.github.io/openai-agents-js/)
3. [openai/openai-agents-python on GitHub](https://github.com/openai/openai-agents-python)
4. [openai/openai-agents-js on GitHub](https://github.com/openai/openai-agents-js)
5. [InfoQ: OpenAI Launches New API, SDK, and Tools to Develop Custom Agents](https://www.infoq.com/news/2025/03/openai-responses-api-agents-sdk/)
6. [OpenAI: Introducing AgentKit (DevDay 2025)](https://openai.com/index/introducing-agentkit/)
7. [Composio: OpenAI Agents SDK vs LangGraph vs AutoGen vs CrewAI](https://composio.dev/content/openai-agents-sdk-vs-langgraph-vs-autogen-vs-crewai)
8. [Hacker News launch thread](https://news.ycombinator.com/item?id=43334818)

---
_Generated by EarlyTerms · https://earlyterms.com/term/openai-agents-sdk_
