Skip to content

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 | sh

macOS and Linux · amd64 and arm64 · MIT license

fleetstudio · gpu-box · 4 agents

Migrate orders to the v2 schema

claude-api-1 · Claude Code · Opus · high

● 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?

Answer claude-api-1, or open any other session.

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.

  1. 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
  2. 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
  3. 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 7421 on 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?
  4. 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. 1. Yes
  2. 2. Show the SQL
  3. 3. No

Enter to confirm · Esc to cancel

claude-api-1 · studioCtrl-\ detach

fleet attach claude-api-1 opens the real Claude Code, in its tmux pane on studio.

  • fleet attach claude-api-1

    Attach from any paired machine. Detach with Ctrl-\ and the agent keeps going.

  • fleet attach codex-web-1 --read-only

    Watch 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.

Your network · LAN or tailnet · no relaySelect a machine or a device for its details.

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 pair prints a one-time code and the server's fingerprint. fleet connect checks both and pins the certificate.
Several machines, one dashboard
Run fleet start --join KEY on 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.

Every command in the README
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 --worktree
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 --docker
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."
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-skill
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 --env
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 --squash
Usage-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 tasks
Agents outlive the daemon

Restarts re-adopt running agents; tmux sessions are always cleaned up.

fleet stop && fleet start
Updates itself

The daemon installs new releases and restarts on them once no agent is working.

fleet update --auto off

Install 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 | sh

The 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

  1. fleet start

    Start the daemon in the background. It logs to ~/.fleet/daemon.log.

  2. fleet roots add ~/code --trust

    Allow agents in ~/code and skip the trust prompts.

  3. fleet run claude code:api --attach

    Start 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

  1. fleet pair

    On the server: print a one-time code and the server's fingerprint.

  2. fleet discover

    List the daemons on your network.

  3. fleet connect studio --code KQ7M-3XHT --fingerprint 3b4405b1be5c9a1f

    Pair with studio, once.

  4. fleet -H studio ls

    List 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

  1. fleet web

    On 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 ~/code

Updates

The daemon installs new releases itself, once no agent is working. To turn that off:

fleet update --auto off

Questions

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