Run your coding agents on your own machines.
Answer them from anywhere on your network.
fleet is an open-source control plane for coding agents. One Go binary runs Claude Code, Codex, Gemini CLI or a plain shell in tmux, and puts every session on your laptop and your phone. No account, no relay.
curl -fsSL https://raw.githubusercontent.com/floscom/fleet/main/install.sh | shmacOS and Linux · amd64 and arm64 · MIT license
Migrate orders to the v2 schema
claude-api-1 · Claude Code · Opus · high
code:api · worktree fleet/claude-api-1
● Read 4 files, searched twice, ran 2 commands · 38s
migrations/0042_orders_v2.sql+118 −0
internal/orders/store.go+41 −27
Passed: go test ./internal/orders/... ok 2.1s
claude-api-1 needs you
The migration script is ready and the tests pass against a copy of production. Run the migration on staging?
When an agent needs you, its line turns amber.
An agent that stops to ask goes to the top of your list, and your phone buzzes. You answer, and it carries on.
Four agents, two machines
Three work on studio, one on gpu-box. You are on the sofa with your phone, and none of them needs you.
studio
3 agents
gpu-box
1 agent
Sessions4 working
- codex-web-1 · studioworkingCheckout form on the new API
- claude-docs-1 · studioworkingDocument the v2 endpoints
- claude-api-1 · studioworkingMigrate orders to the v2 schema
- gemini-data-1 · gpu-boxworkingRetrain the ranking model
claude-api-1 stops and asks
“Run the migration on staging?” Its line turns amber, and it moves to the top of the list on every dashboard of the fleet. The app's badge counts the agents that wait.
studio
3 agents
gpu-box
1 agent
Sessions1 needs you
- claude-api-1 · studioneeds you“Run the migration on staging?”
- codex-web-1 · studioworkingCheckout form on the new API
- claude-docs-1 · studioworkingDocument the v2 endpoints
- gemini-data-1 · gpu-boxworkingRetrain the ranking model
Your phone buzzes
fleet sends a push when an agent needs input, finishes or fails, and tapping it opens that session. The daemon signs the push itself: no Apple developer account, no relay.
Push needs HTTPS. With Tailscale, run
tailscale serve --bg 7421on the server and add the dashboard to your phone's home screen.Monday, November 30
22:40
claude-api-1 needs younowRun the migration on staging?You answer, and it carries on
Pick “Yes, staging only” on your phone, or answer from the laptop or the command line. The answer goes into the agent's terminal, and the migration runs on staging.
fleet send claude-api-1 "Yes, staging only"studio
3 agents
gpu-box
1 agent
Sessions4 working
- codex-web-1 · studioworkingCheckout form on the new API
- claude-docs-1 · studioworkingDocument the v2 endpoints
- claude-api-1 · studioworkingYou: “Yes, staging only”Running the migration on staging · 1,284 orders moved
- gemini-data-1 · gpu-boxworkingRetrain the ranking model
Real terminals, not a chat wrapper.
Each agent runs its own CLI in tmux. The dashboard shows it as a chat; fleet attach shows you the real thing, with the full TUI.
fleet attach claude-api-1
● Read 4 files, searched twice, ran 2 commands · 38s
migrations/0042_orders_v2.sql+118 −0
internal/orders/store.go+41 −27
✓ go test ./internal/orders/... ok 2.1s
Run the migration on staging?
- 1. Yes
- 2. Show the SQL
- 3. No
Enter to confirm · Esc to cancel
claude-api-1 · studioCtrl-\ detach
Migrate orders to the v2 schema
You
● Read 4 files, searched twice, ran 2 commands · 38s
migrations/0042_orders_v2.sql+118 −0
internal/orders/store.go+41 −27
Passed: go test ./internal/orders/... ok 2.1s
claude-api-1 needs you
The migration script is ready and the tests pass against a copy of production. Run the migration on staging?
- Yes, staging only
- Show me the SQL first
- No, stop here
fleet attach claude-api-1 opens the real Claude Code, in its tmux pane on studio.The dashboard reads the transcript Claude Code writes itself: nothing is reinterpreted.
fleet attach claude-api-1Attach from any paired machine. Detach with
Ctrl-\and the agent keeps going.fleet attach codex-web-1 --read-onlyWatch without typing into it.
Agents outlive the daemon: fleet stop leaves them running in tmux, and the next start picks them up again.
Your machines, your network. Nothing in between.
The daemon runs on the machine that holds your code. Laptops pair with it once, other machines join with a fleet key, and they all talk to each other directly.
studio
The desktop under the desk. It runs the daemon, and your laptop and phone reach it directly.
- System
- Linux 6.8 · 16 cores
- Load
- 2.4
- Memory
- 41 %
Agents · 3
- claude-api-1 · needs youClaude Code · Run the migration on staging?
- codex-web-1 · workingCodex · Updating the checkout form to the new API · 12 min
- claude-docs-1 · doneClaude Code · Opened PR #212: Document the v2 endpoints
- Pair once
fleet pairprints a one-time code and the server's fingerprint.fleet connectchecks both and pins the certificate.- Several machines, one dashboard
- Run
fleet start --join KEYon each machine, and every dashboard lists the sessions of all of them. - Away from home
- fleet is built for your LAN. From elsewhere, use Tailscale or WireGuard; don't expose its port to the internet.
A paired device can do on the server what you can. Pair one as you would hand out an SSH login. Read the security model.
Everything else fleet does.
Most of it is one command.
Git-aware isolation
Each agent gets its own worktree by default, or runs pinned in a shared folder; --clone starts from a fresh checkout of any repo.
fleet run codex code:web --worktreeDocker sandboxing
Run an agent in a container that only sees its own checkout, with your CLI logins shared in if you choose.
fleet run claude code:api --dockerAgents talk to each other
fleet msg hands work to the agent in another folder, or starts one there, and brings its answer back.
fleet msg ~/code/web "The orders endpoint now returns total_cents; update the checkout."Shared skills
Drop a skill into ~/.fleet/skills and every machine of the fleet has it, for Claude Code, Codex and Gemini CLI alike.
fleet skill add ./my-skillSecrets as files
Hand an agent an API key as a file on its machine: the chat only sees the name, and the file is deleted when the agent ends.
fleet secret claude-api-1 STRIPE_KEY --envPull requests
Start a project from one of your GitHub repositories, and list and merge the pull requests agents open, from the CLI or the dashboard.
fleet merge claude-docs-1 --squashUsage-limit auto-resume
Claude Code and Codex sessions that hit a plan limit resume themselves once it resets.
Automatic: nothing to type.
Work from a task tracker
Tickets assigned to an agent account in Rome come in batches, paced to the agents fleet has free, and start an agent in the project's folder.
fleet tasksAgents outlive the daemon
Restarts re-adopt running agents; tmux sessions are always cleaned up.
fleet stop && fleet startUpdates itself
The daemon installs new releases and restarts on them once no agent is working.
fleet update --auto off01 / 10
Git-aware isolation
Each agent gets its own worktree by default, or runs pinned in a shared folder; --clone starts from a fresh checkout of any repo.
fleet run codex code:web --worktree02 / 10
Docker sandboxing
Run an agent in a container that only sees its own checkout, with your CLI logins shared in if you choose.
fleet run claude code:api --docker03 / 10
Agents talk to each other
fleet msg hands work to the agent in another folder, or starts one there, and brings its answer back.
fleet msg ~/code/web "The orders endpoint now returns total_cents; update the checkout."04 / 10
Shared skills
Drop a skill into ~/.fleet/skills and every machine of the fleet has it, for Claude Code, Codex and Gemini CLI alike.
fleet skill add ./my-skill05 / 10
Secrets as files
Hand an agent an API key as a file on its machine: the chat only sees the name, and the file is deleted when the agent ends.
fleet secret claude-api-1 STRIPE_KEY --env06 / 10
Pull requests
Start a project from one of your GitHub repositories, and list and merge the pull requests agents open, from the CLI or the dashboard.
fleet merge claude-docs-1 --squash07 / 10
Usage-limit auto-resume
Claude Code and Codex sessions that hit a plan limit resume themselves once it resets.
Automatic: nothing to type.
08 / 10
Work from a task tracker
Tickets assigned to an agent account in Rome come in batches, paced to the agents fleet has free, and start an agent in the project's folder.
fleet tasks09 / 10
Agents outlive the daemon
Restarts re-adopt running agents; tmux sessions are always cleaned up.
fleet stop && fleet start10 / 10
Updates itself
The daemon installs new releases and restarts on them once no agent is working.
fleet update --auto offInstall fleet
One command on each machine: the one that runs your agents, and every laptop you want to reach it from.
curl -fsSL https://raw.githubusercontent.com/floscom/fleet/main/install.sh | shThe script checks the download against the release's checksums.txt and installs to /usr/local/bin if it can write there, else ~/.local/bin. Pin a release with FLEET_VERSION=v0.1.0 before sh, or pick another folder with FLEET_INSTALL_DIR. Archives on the releases page.
1 · server
On the machine with your code
fleet startStart the daemon in the background. It logs to ~/.fleet/daemon.log.
fleet roots add ~/code --trustAllow agents in ~/code and skip the trust prompts.
fleet run claude code:api --attachStart Claude Code in ~/code/api and attach to it. Detach with Ctrl-\.
claude-api-1 started in code:api on studio.
2 · laptop
On your laptop
fleet pairOn the server: print a one-time code and the server's fingerprint.
fleet discoverList the daemons on your network.
fleet connect studio --code KQ7M-3XHT --fingerprint 3b4405b1be5c9a1fPair with studio, once.
fleet -H studio lsList studio's agents from the laptop.
Compare the fingerprint with the one fleet pair printed: that check is what protects the pairing.
3 · phone
On your phone
fleet webOn the server: print the admin link. Open it once on your phone and add it to the home screen.
Push needs HTTPS. With Tailscale, run tailscale serve --bg 7421 on the server.
Requirements
- Linux or macOS · Linux is tested most; macOS works too.
- tmux · Tested with 3.4.
- git · For a worktree per agent.
- The agent CLIs you want to run · Claude Code, Codex, Gemini CLI, or just a shell.
After a reboot
Run the daemon as a service: a systemd user unit on Linux, a launchd agent on macOS.
fleet service install --root ~/codeUpdates
The daemon installs new releases itself, once no agent is working. To turn that off:
fleet update --auto offQuestions
What is fleet?
fleet is an open-source control plane for coding agents. It runs Claude Code, Codex, Gemini CLI or a plain shell in tmux on your own machines, and lets your laptop and phone start, watch, answer and stop them. The agents' own CLIs still do the work; fleet runs them and puts them on every screen you own.
Do I need an account?
No. There is no fleet account and no cloud relay: the daemon runs on your machine, and your devices pair with it using a one-time code. The agent CLIs sign in with their own logins, as they do without fleet.
Which agents does it run?
Claude Code, Codex, Gemini CLI and a plain shell, each in its own tmux session. fleet adapters shows which CLIs it found on a machine.
Where does my code go?
Nowhere new. Agents work in folders on the machine that runs them, and your laptop and phone talk to that daemon directly over your network. The agent CLIs reach their own providers as they always do.
Does it run on macOS?
Yes: macOS and Linux, amd64 and arm64. Linux is tested most, and the launchd service (fleet service install) has not run on a Mac yet.
Do I need Docker?
No. By default each agent gets its own git worktree. Docker is optional: --docker runs an agent in a container that only sees its own checkout.
Can I reach it when I'm away from home?
Through a VPN. fleet is built for your LAN; with Tailscale or WireGuard your phone reaches it from anywhere. Don't expose its port to the internet.
What happens if the daemon stops?
Your agents keep running in tmux. When the daemon starts again, it picks them up.
What does it cost?
Nothing. fleet is open source under the MIT license. Your agents run on your own CLI logins and plans.
Your agents. Your machines. Your call.
curl -fsSL https://raw.githubusercontent.com/floscom/fleet/main/install.sh | sh