#6767th of 142 in Agent frameworks and SDKs

agency-swarm

Python multi-agent framework built on the OpenAI Agents SDK

Stars
4.6k
License
MIT
Last commit
Nov 2026
Last release
Aug 2026
Language
Python
Stars, last 29 weeks+451
22 Apr 2026: 4,185 stars29 Apr 2026: 4,204 stars6 May 2026: 4,251 stars13 May 2026: 4,328 stars20 May 2026: 4,362 stars27 May 2026: 4,375 stars3 Jun 2026: 4,388 stars10 Jun 2026: 4,399 stars17 Jun 2026: 4,411 stars24 Jun 2026: 4,417 stars1 Jul 2026: 4,426 stars8 Jul 2026: 4,437 stars15 Jul 2026: 4,447 stars22 Jul 2026: 4,463 stars29 Jul 2026: 4,477 stars5 Aug 2026: 4,493 stars12 Aug 2026: 4,499 stars19 Aug 2026: 4,514 stars26 Aug 2026: 4,523 stars2 Sept 2026: 4,535 stars9 Sept 2026: 4,543 stars16 Sept 2026: 4,555 stars23 Sept 2026: 4,566 stars30 Sept 2026: 4,577 stars7 Oct 2026: 4,586 stars14 Oct 2026: 4,596 stars21 Oct 2026: 4,606 stars28 Oct 2026: 4,617 stars4 Nov 2026: 4,629 stars11 Nov 2026: 4,636 stars

4,185 on 22 Apr 20264,636 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Agency Swarm is a Python framework for building multi-agent applications on top of the OpenAI Agents SDK and Responses API. Agents get roles, instructions and Pydantic-typed tools, and an Agency object defines which agents may start conversations with which using directional communication flows (`ceo > dev`). Thread persistence is handled through save/load callbacks, and agencies can be run via a web demo, a terminal UI or async code.

Who it is for: Python developers building multi-agent systems with role-based agents

Strengths

  • Explicit directional communication_flows control which agents can message each other
  • Tools can be written with @function_tool, BaseTool or generated from OpenAPI schemas
  • Non-OpenAI models (Claude, Gemini, Grok, OpenRouter) reachable through LiteLLM
  • Built-in web demo, terminal UI and async API for running agencies

Weaknesses

  • Tied to the OpenAI Agents SDK and Responses API; other providers go through LiteLLM
  • Requires Python 3.12 or newer
  • v1.x is a breaking rewrite from v0.x; existing projects need migration
  • Persistence is manual: you implement the load and save thread callbacks

What it needs

  • no GPU
  • Needs OpenAI API key, OpenAI Agents SDK, LiteLLM (for non-OpenAI models)
  • Models: OpenAI GPT-5 family, GPT-4o, Anthropic Claude via LiteLLM, Google Gemini via LiteLLM, xAI Grok via LiteLLM

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Agent frameworks and SDKs

See all 142
Also in Agent frameworks and SDKs
RankProjectScore
1ppt-masterAgent skill that turns documents into natively editable PowerPoint decks Live demo ↗ (opens in a new tab)76.2k stars+15,031 (+25%) in 30 daysMIT96 out of 100
2openai-agents-pythonPython SDK for multi-agent workflows with handoffs, guardrails and tracing30.6k stars+692 (+2.3%) in 30 daysMIT92 out of 100
3mastraTypeScript framework for building AI agents, workflows and MCP servers29.5k stars+778 (+2.7%) in 30 dayscustom license92 out of 100
#4browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)120.8k stars+3,334 (+2.8%) in 30 daysMIT90 out of 100
#5copilotkitReact and Angular SDK for adding agent chat and generative UI to apps38.7k stars+757 (+2.0%) in 30 daysMIT90 out of 100