# SwarmState

> **Class** in `langgraph_swarm`

📖 [View in docs](https://reference.langchain.com/python/langgraph-swarm/swarm/SwarmState)

State schema for the multi-agent swarm.

## Signature

```python
SwarmState()
```

## Extends

- `MessagesState`

## Properties

- `active_agent`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph-swarm-py/blob/16ba1763421a5e6f1b496ba32a1e96ecdc4b1319/langgraph_swarm/swarm.py#L13)