# Agency Swarm

Python framework for specialized agents with explicitly defined communication paths and custom tools.

Canonical profile: https://ki-agentenkompass.de/en/agents/agency-swarm/
Editor: [Michael Meierhoff](https://ki-agentenkompass.de/en/about/)
Sources reviewed: 2026-11-16
Basis: provider documentation. Examples are editorial suggestions, not hands-on product tests.

## Overview

The current line extends the OpenAI Agents SDK. Devid and BrowsingAgent from older lists are components or examples in the product family.

- Provider: VRSEN / Arsenii Shatokhin
- Product family: Agency Swarm
- Profile type: Multi-agent orchestration framework.
- Environment: Python 3.12 or later on macOS, Linux and Windows.
- Connections: OpenAI Agents SDK and Responses API; additional models through LiteLLM.
- Setup: Install the package, configure model keys and define agents, tools and communication paths.
- Pricing model: Software under MIT without a licence fee; model use and self-hosting incur additional costs.

## Key features

### Define communication paths

Directed connections determine which agents can send each other messages.

Source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

### Persist histories yourself

Callbacks load and save conversation histories using custom files or databases.

Source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

### Define roles

Each agent receives its own instructions, tools and model.

Source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

### Typed tools

Pydantic models validate tool arguments.

Source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

### Additional model providers

LiteLLM adds providers beyond the native OpenAI integration.

Source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

## Example workflows

### Build a specialized agent team

- Your input: Roles, tools and permitted handoffs.
- Possible result: A custom workflow with directed collaboration.
- What to check: Test communication boundaries and tool side effects.

### Persist team history

- Your input: An agent workflow and a custom persistence callback.
- Possible result: A saved history for later sessions.
- What to check: Test user isolation and correct loading.

## Requirements and limits

### Programming required

Requirement: Tools, persistence callbacks and roles are configured in Python.

Source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

### Version changes

Limitation: Older 0.x projects require migration to the SDK-based line.

Source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

### Domain review

Requirement: Outputs and actions that modify data require review appropriate to the use case.

Source: https://agency-swarm.ai/

## A good fit if …

- you want explicit control over agent roles and collaboration
- you want to model directed communication paths between specialized agents
- you want to store conversation histories in your own files or databases

## Less suitable if …

- you expect a ready-made domain product without programming
- you want to run older 0.x projects on the current line without adaptation

Editorial assessment based on provider documentation. Not a product test.

## Usable AI models

Open choice

OpenAI models run natively through the Responses API; LiteLLM connects providers including Anthropic, Google, xAI, Azure OpenAI and OpenRouter. The model is set per agent as a name or object. Local framework deployment is distinct from local model inference.

- Model families named: OpenAI (GPT), Anthropic (Claude), Google (Gemini), xAI (Grok) · Other models can be connected freely
- Model choice: You choose
- Your own API key: Yes
- Router or custom endpoint: Yes
- Local models: Not stated

Partly documented · Sources accessed on: 2026-11-16

- [Offizielle Modellkonfiguration](https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md)

- [Offizielle Modellkonfiguration](https://agency-swarm.ai/core-framework/agents/overview)

## Europe & regional availability

Access and data processing are assessed separately.

Reviewed scope: Agency Swarm · documented product access
Reviewed on: 2026-11-16

### Access and regional conditions

With requirements

Source code and documented installation are publicly available. With self-hosting you choose storage locations; model and tool providers have separate terms and data flows.

Region covered: EU/EEA, United Kingdom and Switzerland

Documented reason: Deployment, licence and terms of connected services govern access.

Official source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

## Accounts & permissions

Based on provider documentation. Permissions depend on the account, integration and organization policies. Review the permissions actually requested before use.

Configuration covered: Agency Swarm · Account and permissions
Sources reviewed: 2026-11-16

### Account used

Documented with conditions: The operator configures their own model and tool credentials.

Evidence: https://agency-swarm.ai/core-framework/agents/overview

### Admin approval

Documented with conditions: Approval rules for tools that write data must be set when configuring the specific agent.

Evidence: https://agency-swarm.ai/core-framework/agents/overview

### Data access & team sharing

Documented with conditions: The scope of action follows from configured tools and their credentials.

Evidence: https://agency-swarm.ai/core-framework/agents/overview

## Prices and included usage

Pricing checked: 2026-11-16

Software under MIT without a licence fee; model use and self-hosting incur additional costs.

### Self-operation

USD 0 licence fee

Software under MIT; compute, model calls and external services are separate.

Price source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

Pricing details: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

## Operation & oversight

Based on public provider documentation. Assessments are editorial inferences from the stated properties. Actual time requirements and reliability have not been measured.

Deployment covered: Agency Swarm · Execution and continuation
Sources reviewed: 2026-11-16

### Files and working state

Documented with conditions: Persistence callbacks store conversation histories in a file or database of your choice.

Evidence: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

### Sign-ins

Documented with conditions: Credentials must be available for the chosen model and tool providers.

Evidence: https://agency-swarm.ai/core-framework/agents/overview

### Starting further runs

Open in reviewed sources: Schedules and external triggers belong to the implementation; an end-to-end operational guarantee remains unspecified.

Evidence: https://agency-swarm.ai/core-framework/agents/overview

### Human intervention

Documented with conditions: Human review and cancellation points must be configured for the tools used.

Evidence: https://agency-swarm.ai/core-framework/agents/overview

### Detecting errors

Documented with conditions: The implementation must handle external-service failures and validate domain results.

Evidence: https://agency-swarm.ai/core-framework/agents/overview

### Resuming after failures

Open in reviewed sources: Persistent context must be assessed separately from resuming external actions.

Evidence: https://agency-swarm.ai/core-framework/agents/overview

### Editorial assessment

Editorial assessment of documented access. Operational responsibility and open points are given per criterion.

## Memory and conversation continuity

Scope: Agency Swarm · documented access
Sources accessed: 2026-11-16

Conversation histories are persisted through custom load and save callbacks.

### Storage and scope

Documented: Persistence callbacks store conversation histories in a file or database of your choice.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md)

### Selection and timing

Partly documented: The application implements load and save callbacks; autonomous fact collection remains unspecified here.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md)

### Inspect, edit and delete

Partly documented: Editing and deleting stored histories belong to the storage implementation.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md)

### Agent and channel boundaries

Partly documented: Agents and their connections are configured; tenant isolation must be implemented by the application.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md)

### Retrieval

Documented: Loaded conversation histories can be reused across sessions.

- [Offizielle Dokumentation](https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md)

### Session reset and compaction

Partly documented: The ModelSettings docs describe automatic truncation and server-side compaction for OpenAI; persistence remains separate.

- [Offizielle Dokumentation](https://agency-swarm.ai/core-framework/agents/overview)

## Context

Tools, persistence callbacks and roles are configured in Python.

Official product documentation reviewed. Workflows and assessments are editorial; hands-on product tests are outside the scope of this directory.

## Sources

- https://agency-swarm.ai/

- https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

- https://agency-swarm.ai/core-framework/agents/overview

- https://github.com/VRSEN/agency-swarm

## Provider

The project initiated by Arsenii Shatokhin develops a framework for collaboration between specialized agents.

- Operator: VRSEN / Arsenii Shatokhin
- Organization: Software project
- Website: https://agency-swarm.ai/
- Reviewed: 2026-11-16

- Repository: https://github.com/VRSEN/agency-swarm
- GitHub-Stars: 4638 (2026-11-16)
- License: MIT

- Provider source: https://raw.githubusercontent.com/VRSEN/agency-swarm/main/README.md

- Provider source: https://github.com/VRSEN/agency-swarm

[Sources and method](https://ki-agentenkompass.de/en/sources/)
