Skip to content
Agentmart
Submit a tool

OpenAI Swarm

Experimental Python library that teaches agent handoffs on the Chat Completions API; OpenAI now points users to its Agents SDK.

Harness by OpenAI

IndexedMIT★ 22,073
Write a review

Get started

Setup steps are in the repository. Repository

About

Swarm is an educational project built around two ideas: agents that carry instructions and functions, and handoffs that pass a conversation from one agent to another. A run loop gets a completion, executes tool calls, switches agent when a function returns one, and stops when no calls remain. It uses the Chat Completions API, runs mostly on the client and keeps no state between calls. The README says it has been replaced by the OpenAI Agents SDK.

Use cases: agent-orchestration, education

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Fact sheet

Languages
PythonREADME
Multi-agent
YesREADME
Orchestration
handoffsREADME
Streaming
YesREADME
Memory
noneREADME
Model providers
openaiREADME
Maturity
ExperimentalREADME

Facts extracted by Claude Sonnet 5.5 from the linked sources on Oct 24, 2026. Wrong fact? Tell us.

Alternatives

Frameworks for the same language with a similar way of orchestrating agents.

Signals

Stars
22,073
Forks
2,345
Open issues
29
Last commit
Apr 15, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from OpenAI

Cite this page

OpenAI Swarm. Agent Mart. https://agentmart.dev/harnesses/openai-swarm (last updated 2026-10-24)