Hand real tasks to an AI without trusting it.
fleet triggers an agent from the tools your team already uses — Jira or a GitHub /agent PR comment — works inside a locked-down sandbox on your own hardware, and delivers a change as an ordinary pull request for human review.
The agent never holds a GitHub token, never gets open network access, and cannot widen its own permissions.
the path of every task
A fail in verify triggers a bounded retry; delivery only ever happens through a pull request.
threat model
What it defends against
Every risk maps to a concrete, centrally-controlled mitigation — no trust required in the agent or the repo.
Prompt injection
An issue, PR comment, or repo file weaponizes the agent → it runs in a disposable sandbox with only the task repo mounted. Tokens and host are out of reach, and every change is still a human-reviewed PR.
Malicious repo
Egress is an allowlist, and COI domains/caps come from the trusted registry — never the repo. Untrusted repos get a hardened profile by default.
Repo widens its own sandbox
A repo manifest may request policy but can never exceed central coi caps or the domain allowlist. The gate fails closed.
Compromised agent
The agent gets no GitHub token. A separate trusted publisher stage uses a scoped token to commit and push only to the task branch.
Bare-metal escape
Native runs are fail-closed: an OS sandbox (Seatbelt/PF, Windows wrapper) plus explicit repo and node allowlists — or they do not run.
Forged webhooks
Webhooks are token-authenticated. PR-comment triggers are restricted by author association/allowlist and only ever update an existing PR branch.
Runaway activity
A bounded setup → agent → verify loop with timeouts and registry caps. Every run is recorded in the ledger and ingest log; delivery is only via PR.
built on established tooling
Standing on the shoulders of giants
fleet is deliberately glue, not a new platform. It composes tools you already run and can inspect.
There is no bespoke container runtime, secret store, or agent protocol. Routing is a versioned YAML registry, per-repo behavior is a declarative .fleet/ contract, and the same fleetctl commands run on a laptop and in CI.
Jenkins
Webhook ingress (Generic Webhook Trigger), node routing, and per-run credential binding.
Incus + COI
Containers-on-Incus, plus native Seatbelt/PF and Windows wrappers for allowlisted bare-metal nodes.
Git + gh CLI
Checkout, scoped pushes, and pull requests — with no bespoke VCS layer.
Headless agents
Existing CLI agents (claude, codex, opencode, …), each given only the LLM key it needs.
Python fleetctl
Stdlib-first, dependency-light, unit-testable and runnable outside Jenkins.
Phoenix LiveView
Run ledger, ingest log, manual trigger, and GitOps config PRs in real time.
architecture
Dependencies and trust boundaries
How the pieces depend on each other, and where credentials cross — or never cross.
concepts
Small surface, sharp edges
A handful of names cover the whole system — routing, contract, dispatcher, backends, and the panel.
| Concept | What it is |
|---|---|
| registry.yaml | Trusted routing and policy: which project maps to which repo, what is allowlisted, and the sandbox caps. |
| .fleet/ | The per-repo contract: the prompt, the setup and verify steps, and PR metadata. |
| registry.local.yaml | A git-ignored overlay for deployment-specific routing on top of the tracked registry. |
| fleetctl | The dispatcher core: normalize, resolve, plan, run the bounded loop, publish, notify. |
| Runner backends | Sandboxed runners — containers on Linux and native OS controls on macOS/Windows, both fail-closed. |
| PR-comment trigger | Comment on a pull request to iterate on the change; policy decides who may trigger. |
| Admin panel | Run ledger, ingest log, manual trigger, and GitOps config — a Phoenix LiveView app. |
Why a Python core?The logic lives in the dependency-light fleetctlCLI, so it is unit-testable and runs the same on a laptop and in CI. Jenkins stays a thin trigger.
basic setup
Clone, install, run
The dispatcher core and the panel run without Jenkins. The webhook → pipeline → PR flow needs a Jenkins you operate yourself.
Development defaults are placeholders. Review the security docs before exposing a host.
documentation
Read the fine print
Installation, triggers, and the deeper references — all versioned with the code.
managed solution
Want fleet run for you?
Prefer not to operate the Jenkins orchestration, sandbox hosts, and credential plumbing yourself? We can host and maintain the whole pipeline for your team, on infrastructure you control.