Plan, fly and prove drone missions with a whole squad, from one seat.
Suite Β· Activities Β· Architecture Β· Roadmap Β· Documentation Β· Getting started Β· Tickets
Swarm is a software suite for drone operators who fly several drones on one mission. A Mission planner designs the mission, a Pilot launches and supervises the whole Squad as one, and the Client receives deliverables backed by a signed, tamper-evident evidence record. Each drone in a Squad keeps its own model, payload and role, and Swarm flies them together whatever their maker.
π°οΈ Ground control: the Pilot supervises a Squad of four drones, with live Telemetry, video and the Co-pilot.
- π§β
βοΈ The Pilot stays in command. Swarm automates the flying, never the decision. Hold, manual control and abort are one action away, at every moment. - π‘οΈ Safety never waits for the network. The flight engine and its safety loop run at the edge, next to the drones. A Mission keeps flying, and keeps its fail-safes, when the cloud is out of reach.
- π§· Hardware-agnostic. One Squad can mix drones from several makers: MAVLink (PX4, ArduPilot), DJI, Skydio and Parrot, each through a Drone adapter that passes a compatibility test.
- π¬ AI agents that propose, people that decide. The Mission assistant drafts missions, the Co-pilot explains alerts and proposes re-plans, the Report writer drafts reports. Nothing they propose flies without a person's approval.
- π Evidence you can prove. Every flight log and deliverable is signed and chained, then anchored with a timestamping authority (eIDAS, RFC 3161) or a blockchain, as the Operator chooses.
- ποΈ Built for the rules. Authorisations, pilot qualifications, geofences and airspace requests follow EU (EASA, U-space) and US (FAA, LAANC) rules.
- π Sovereign by design. Run it in a European cloud (OVHcloud, Scaleway), self-hosted on Kubernetes, or fully on premises: the same software everywhere.
| Part | For | What it does |
|---|---|---|
| ποΈ Mission studio | Mission planner | Designs a Mission: area, routes or choreography, Squad, rules. Simulates it before it flies |
| π°οΈ Ground control | Pilot | Runs the Pre-flight check, launches, supervises the Squad live, approves re-plans, takes control |
| ποΈ Back office | Fleet maintainer, Swarm administrator | Fleet and readiness, Authorisations, people and access, flight logs and evidence records |
| π¦ Client portal | Client, Site agent | Order a Mission, follow it live, receive alarms, download deliverables |
| πΉοΈ Simulator | Pilot, Instructor | Flies a virtual Squad with the real flight software of each drone model, to test and to train |
ποΈ Mission studio: a Mission planner designs an Inspection inside its Authorisation.
| Activity | What Swarm brings |
|---|---|
| π Inspection | Coverage plans over solar farms, structures and sites; processing into orthomosaics and defect reports |
| π¨ Patrol | Docked drones that take off on an alarm from the site's security system, with live video for the Site agent |
| πΎ Agriculture | Fields and prescription maps turned into doses, with spray drones, refills and campaigns |
| β¨ Light shows | Choreographies of up to 5,000 drones, imported or designed, flown by a partitioned edge |
Swarm is built in two halves that never wait for each other while a Squad flies.
flowchart LR
D[("πΈ Drones")] -- "MAVLink or vendor link" --> E[["π°οΈ Edge: Ground control and flight engine"]]
E -- "NATS leaf node, mTLS" --> C["π² Cell: gateway, missions, fleet, planner, processing, agents, evidence"]
C -- "REST and WebSocket" --> W["π₯οΈ Web front ends and desktop apps"]
C -- "routing" --> G["π Global layer: identity, Operator directory"]
- The edge runs next to the drones: on the Ground control machine, in an operations centre or on a dock site. It holds the flight engine, written in Rust for the hot path, which talks to every drone and runs the safety loop.
- The core runs in cells: independent copies of the platform, each serving a set of Operators. More Operators mean more cells, never a bigger one.
| Layer | Technology |
|---|---|
| Services | Python 3.12, FastAPI, Pydantic; Rust crates through PyO3 for the hot path |
| Messaging | NATS, with leaf nodes at the edge |
| Data | PostgreSQL with PostGIS, TimescaleDB for Telemetry, object storage, Valkey |
| Front ends | React and TypeScript, with a Tauri desktop shell for Mission studio and Ground control |
| Platform | Kubernetes with KEDA, k3s at the edge and on premises, Terraform, Argo CD, OpenTelemetry |
| Dimension | Target |
|---|---|
| Operators | 10,000 |
| Missions in flight at once | 2,000 |
| Drones connected | 50,000 |
| Drones per Mission | up to 50, up to 5,000 in a light show |
| Telemetry | 20 Hz per drone (50 Hz in light shows), about 1,000,000 frames per second |
| People connected | 50,000, of which 5,000 watching live video |
Every hot path has a performance budget, checked by load tests that fail the build when missed. See π Scalability and performance.
Note
Swarm is in pre-release. The Foundations phase is under way; general availability is planned for the end of 2028.
| Phase | When | Delivers |
|---|---|---|
| P0: Foundations | Jan to Feb 2027 | Mono-repo, CI/CD, shared packages, identity, the first cell, simulator, design tokens |
| P1: First flight | Mar to Jul 2027 | Flight engine and safety loop, MAVLink adapter, Ground control, Pre-flight check, fail-safes |
| P2: Inspection product | Jul to Dec 2027 | Processing, deliverables, Back office, Client portal, evidence ledger, debrief |
| P3: Patrol | Dec 2027 to Apr 2028 | Docks, Parrot adapter, alarms and webhooks, Site agents, video at scale |
| P4: Agriculture | Mar to Jun 2028 | Fields, prescription maps, dose computation, spray drones |
| P5: AI agents | May to Aug 2028 | Mission assistant, Co-pilot, Report writer, MCP and A2A behind the human gate |
| P6: Light shows | Jul to Nov 2028 | Choreography designer, partitioned edge, 5,000-drone load test |
| P7: Scale and reach | Sep to Dec 2028 | Production cells, US cell, on-premises bundle, DJI and Skydio adapters, general availability |
The full plan, with the regulatory track, flight test campaigns, partners and risks, is in the π£οΈ Roadmap.
| Document | Holds |
|---|---|
| π Specifications | 22 features, 30 use cases and 27 business rules, each use case with its flow chart and a screen for every state |
| π Glossary | The one name for every persona, entity, system and state |
| π¨ Visual identity | Design tokens in light and dark mode, components and screen layouts |
| π οΈ Technical specifications | Architecture, data models, storage, engine, API, security, scalability, observability, deployment, front ends |
| π Landscape | The market: drone makers, multi-drone software, open autopilots, EU and US rules |
| ποΈ Product decisions | The product decisions behind the specifications |
| βοΈ Technical decisions | The technical decisions and their reasons |
- uv, which installs Python 3.12 for the project.
- A stable Rust toolchain, selected by packages/rust/rust-toolchain.toml.
- Node LTS, with corepack to provide pnpm.
- Terraform 1.10 or later, only to provision a cell.
uv sync
cargo fetch --manifest-path packages/rust/Cargo.toml
corepack enable && pnpm installEach command installs one workspace: uv for Python (one uv.lock), Cargo for Rust and pnpm for TypeScript.
uv run ruff check services packages tests
uv run mypy services/gateway/src
uv run pytest services/gateway/tests -n 2
uv run pytest tests/conventions
uv run mypy packages/python/swarm-lifecycle/src packages/python/swarm-catalog/src packages/python/swarm-logging/src packages/python/swarm-nats/src
uv run pytest packages/python/swarm-lifecycle/tests packages/python/swarm-catalog/tests packages/python/swarm-logging/tests packages/python/swarm-nats/tests
pnpm turbo run buildTerraform creates a cell's machines, network and k3s cluster. Follow deploy/terraform/README.md.
The roadmap's tickets are built by Claude Code agents under the rules of .claude/rules/tickets.md. Each ticket is a GitHub issue of the project Swarm roadmap, under its epic and its phase. You approve each plan, review the code before it is pushed, and GitHub merges it once CI passes.
- Every running ticket works in this checkout, on the branch
feature/ticketsthat they all share. Its documents are indocs/tickets/<ID>/:TICKET.md,PLAN.md,PROGRESS.md, thenEXPLAIN.md,IMPLEMENTATION.mdandREVIEW.md. - A ticket's work stays uncommitted until it is done. VS Code's Source Control shows every running ticket's changes
at once;
python3 .claude/scripts/tickets/ticket_tree.py diff --ticket <ID>shows one ticket's own files. - When a ticket is done and you have reviewed it, it becomes one commit on
feature/ticketsholding only its own files, pushed with the branch's pull request todevelop(Closes #<issue>). GitHub merges it once CI passes, the issue closes and its card moves to π Done. - Two tickets never change the same service, front end or package at the same time (area locks), and a ticket starts only once the tickets it builds on are done.
/ticket-plan T0.10 writes docs/tickets/T0.10/TICKET.md and PLAN.md, then stops
read PLAN.md, change its status line to "**Plan:** π’ Approved"
/ticket-run T0.10 runs the agents, checks, reviews, writes EXPLAIN.md, then stops for your code review
read the code, change "**Push:** π‘ Awaiting code review" to "**Push:** π’ Approved"
/ticket-run T0.10 checks again, commits, pushes, opens the pull request
/ticket-run T0.10 --force starts a ticket even though the start rule would hold it back (logged in PROGRESS.md).
A group is named by references: #12 (a ticket issue, or an epic or phase issue with every ticket under it),
T0.10, E0.4, P1, several separated by spaces.
/issue-plan #12 plans every ticket of issue #12 and its child issues at once, then stops
python3 .claude/scripts/tickets/tickets.py approve #12
approves every plan of the group that passes its check, in one go
/issue-run #12 starts every approved ticket the start rule allows, the others as soon as they may
/issue-plan P1 T2.04 #57 a group mixing a phase, a ticket and an issue
Each ticket of a group still stops for your code review before its push. Sub-issues already done (merged, or closed
on GitHub) are left out: running /issue-plan or /issue-run again never plans or starts them twice.
A ticket that changes a front end lists every screen it shows in its TICKET.md, and captures them from the app as
πΈ screenshots, in light and dark mode, before it is done (rule TKT-21).
| Where | Shows |
|---|---|
| The 2-minute reports in Claude Code | Every ticket of the group, or every agent of a run, with its state, tokens and checks |
/board or python3 .claude/scripts/github/board.py show |
The Kanban board in the terminal |
| The Claude Code status line | The branch, the running tickets and the board's counts |
| The project on GitHub | The board, the issues and their links |
python3 .claude/scripts/tickets/tickets.py resolve <refs> |
A group's tickets, in order, with their state and what they wait for |
python3 .claude/scripts/tickets/tickets.py list |
The running tickets and the files each one owns |
Once every running ticket is merged, python3 .claude/scripts/tickets/tickets.py prune puts this checkout back on develop.
It then deletes, locally and on GitHub, every branch whose work develop already holds, with its worker worktree,
after saving them all to a bundle in .git/swarm/backups/ (TKT-25); prune --dry-run only lists them.
python3 .claude/scripts/tickets/tickets.py branches gives every branch its verdict: only a π± live branch is rebased onto
develop, and develop and master are never rebased, reset, force-pushed or deleted.
On a new clone, run python3 .claude/scripts/tickets/tickets.py setup once to turn on the GitFlow git hooks.
A release reaches master by itself (TKT-26). Start it from Claude Code with /release, or from a terminal:
gh workflow run release.yml --ref develop # the next minor version after the last v* tag
gh workflow run release.yml --ref develop -f version=1.0.0| Step | Done by | What happens |
|---|---|---|
| 1. Test | release.yml |
Every suite of CI runs on the commit of develop, with everything selected; each keeps its report |
| 2. Write | release.yml |
On release/<version>: CHANGELOG.md, docs/releases/v<version>/RELEASE_NOTES.md, TEST_REPORT.md and the raw reports in tests/ |
| 3. Merge | automerge.yml |
The pull request to master is merged once every check passed, tagged v<version> and published as a GitHub release |
| 4. Back | automerge.yml |
release/<version> comes back to develop by its own pull request, then is deleted |
Nobody commits or merges by hand. The repository needs, once, the secret RELEASE_TOKEN: a fine-grained token of
gpbcom/swarm with Contents, Pull requests, Issues and Workflows in read and write
(gh secret set RELEASE_TOKEN -R gpbcom/swarm). It lets the release's pull requests start CI and its merge carry
.github/workflows/, which GitHub's own token may not.
| Path | Holds |
|---|---|
| services/ | The backend services, one folder and one Docker image each, starting with the gateway |
| packages/ | Shared code: python/ (uv), rust/ (Cargo and PyO3) and ts/ (pnpm) |
| frontends/ | The front ends, one folder and one image each, with their Playwright tests, and desktop/, the Tauri 2 shell that wraps Ground control and Mission studio |
| deploy/terraform/ | One module per building block, one root per cell |
| tests/ | The convention tests, run against every service and every Python package |
| docs/ | The specifications, the research and the tickets |
The front-end workspace is packages/ts/, a pnpm workspace: packages/ts/tokens (@swarm/tokens) holds the CSS
variables generated from the visual identity, and packages/ts/ui (@swarm/ui) the
components and the frames of each part of Swarm. The desktop shell, frontends/desktop, is built on Windows, macOS and
Linux by .github/workflows/desktop.yml.
Swarm is specified before it is built, and every rule is checked by a tool rather than by memory.
- Specifications first. Each feature links to its business rules and use cases, every name comes from the glossary,
and
python3 .claude/skills/write-specs/scripts/specs.py checkprints nothing before a change to them is done. - Code conventions are in AGENT.md and enforced by the tests of
tests/conventions/. - Tickets come from the roadmap. Each one is planned as a task graph, approved by a person, then built in parallel by AI coding agents in separate worktrees, verified, reviewed and merged. The rules are in .claude/rules/tickets.md, and each ticket's plan, progress and evidence are in docs/tickets/.