Skip to main content
A fleet is a group of agent sessions that you run at the same time. Each session on one task is a worker. A receipt is the text that a command prints to tell you what it did. Start with one worker, and add more after you trust its result. After this page, you have a worker that answered a read-only question. You also know how to choose a lane and how to attach.

Before you begin

Install F[no] through the quickstart. You need an authenticated coding harness and a Git repository that your harness trusts.
  • A harness is the agent program, such as Claude Code, Codex CLI, OpenCode or pi.
  • A lane is the way that the worker runs. The next section compares the lanes.
The CLI reference lists the launch options.

Choose a lane

Your agent compares thread, pane, and headless lanes for this task. You see whether a session stays available.

What the agent runs

Add --as to choose a lane. If you add no --as, the worker uses thread. --once gives the same result as --as headless: one answer and no session. You cannot mail, peek at or attach to a headless worker. By default, F[no] keeps no record of it. To see a headless run in the mux while it runs, add --mux. The run then keeps a row in the session list. --mux needs --once or --as headless. The claude, opencode and pi harnesses keep the row.
The answer prints in your terminal, as with any headless run. In F[no] 0.4.9, the row stays in the list after the run ends. To remove it, see Clean up. Not every harness has every lane. The harness reference lists the lanes for each harness. If a harness has no thread lane, add --as pane or --as headless.

Reserve names before launching

What the agent runs

In F[no] 0.4.6, names.reserved excludes names from worker and lead naming. The latest release is 0.4.5. Your agent edits the global user config, normally ~/.fno/config.toml:
Replace the example with your chosen names. Keep this list outside the repository. The configuration reference describes matching rules, config paths, and reservation refusals.

Start a worker

Your agent starts a read-only worker named t-docs-example. You see its receipt and session name.

What the agent runs

Warning: This starts a persistent coding session. It can incur model costs. Use a repository that you trust.
Your agent runs this from the repository root:
The worker uses your default harness. To use another harness, add -H and its name. The worker runs in the main checkout of the project, not in your current worktree. To choose the directory, add --cwd <PATH>. The command returns after the launch, and a thread worker keeps running in the background.
Reading spawn usage, showing the spawn command, and listing registered sessions
The launch usage and the session list, recorded in a disposable environment. The launch itself ran on a real machine to make the receipt below. If the launch prints a refusal, go to a refused launch.

Read the launch receipt

Your agent explains the receipt fields and identifies the name to reuse. You see which fields do not prove progress.

What the agent runs

The launch prints one line of JSON. This is a real thread receipt, formatted for reading, with four values masked:
Save name. The next commands use it. If your prompt is a command, a receipt can also have effective_message, command_fired and command_marker. Your terminal can also show notes above the receipt, such as a slot note line about model limits. These notes do not stop the launch.

Watch the worker

Your agent reads the worker row. You see status, reachability, and progress as separate facts.

What the agent runs

In a terminal, this prints a table with one row for each session. Find the t-docs-example row. If you pipe the output, the command prints JSON. Three readings tell you about the worker. They can differ. To show only one kind of worker, filter the list:

Find workers that need input

These mux controls ship in F[no] 0.4.6. The sideline is the panel that lists your sessions.
  1. In your terminal, start the mux with fno mux.
  2. In the sideline’s Agents view, click the N need input count to open the pinned Needs input section.
  3. Select an agent row to open its session. Remote rows appear here too, with other machines enabled.
  4. Click the count again to close the section.
  5. To answer an open question, click the bell in the tab bar. Select Questions and open the question there.
The count includes blocked agent rows on this machine and remote machines. The pinned section contains only agent rows. Those rows also stay in their usual groups. Questions stay in the bell’s Questions tab and do not add to this count. Sideline with a need input count in the top bar and a pinned Needs input section above the project groups If F[no] recognizes your terminal on macOS, done notifications use that terminal app’s icon.

Read the result

Your agent peeks at the transcript without waking the worker. You see its answer and whether it changed files.

What the agent runs

peek reads the transcript. It sends nothing and it does not wake the worker. The answer is in the worker’s own words, so it changes from run to run. This is a shortened example from a real run:
You have a worker that read a file and reported the result.

Attach to the worker

Your agent attaches to the worker session. You see its pane or harness screen and can type to it.

What the agent runs

To type to the worker yourself, attach to it:
What happens next depends on whether a mux is running. To check, run fno mux ls. The worker keeps running after you leave. Each harness has its own keys to leave, so read the harness footer or its docs. In Claude Code, for example, ← goes back to the agent list and Ctrl+Z goes back to your shell. If the harness has no attach path, the command refuses and names the reason. If the worker has stopped, the command prints portal reach: no live row answers t-docs-example. To continue, use resume.

Read and type to a running worker

Your agent opens a pane that shows the worker’s live screen, reads it, and types your instruction. You watch the worker without leaving your shell.

What the agent runs

A thread worker stays interactive while it runs in the background. On Claude Code, F[no] runs the lane with claude --bg. The worker keeps its row, takes mail, and shows its screen in a pane. Only the headless lane is one-shot: one answer and no session (Choose a lane). A thread worker starts with no pane. One command opens one:
The thread, read and send commands need a running mux. To check, run fno mux ls. The command page guide shows how to start one. The command opens a portal, a pane that shows the worker’s live screen. With no flag, the command focuses the worker’s portal and opens one for a worker with none. To open the portal at launch, add --portal new to fno agents spawn. List the panes. Each line starts with the pane id:
Find the worker’s line by its name: the line for t-docs-example carries name=t-docs-example.
Listing panes, submitting text to a pane, and reading the pane screen
The pane commands on a scratch pane, recorded in a disposable environment. On a worker’s portal, read shows the harness screen, and send types at its prompt. Read the screen with the id from the list:
Type at the worker’s prompt, with the same id:
Without --submit, the command types the text and leaves it at the prompt. When the prompt takes the text, the command prints submitted. If the pane shows an option prompt with numbered choices, the command refuses and types nothing. To answer that prompt yourself, add --raw: fno mux pane send <PANE_ID> --text 1 --raw --submit types the digit 1. Mail reaches the same worker. If the worker is mid-turn (while it works on an earlier message), your message waits in its message queue, or steers the live turn. The receipt says which. When the turn ends, the worker reads a queued message. To work in the session yourself, attach.
Note: Claude Code shows the same session in its agent view. Run claude agents to list sessions. Run claude attach <ID> to open one in your terminal, with the id that claude --bg printed at launch.

Take a screen capture from a worker

Your agent takes one screen capture through a mux pane. You see the absolute path of the PNG file.

What the agent runs

On macOS, a worker shell often has no Screen Recording permission, so screencapture fails in it. The mux server runs under your terminal app, which can hold that permission. fno mux pane run --shot runs the capture in a new pane on that server:
The command needs F[no] 0.4.9 and a running mux server. It does not start a server. The output folder must exist. Each run replaces an old file at the same path. Use --rect or --window-id, not both. Give no command after the options: --shot writes its own command. When the capture ends, the pane closes.
A pane run shot that prints the PNG path, then the refusals for no mux server and for a command after the options
Real output from a disposable F[no] home with its own mux server. The capture area was one pixel. A success prints the absolute path and exits 0. Exit 2 means the options are wrong. Exit 1 means no capture. The message names the cause and the server: --window-id takes the macOS window number, the value that screencapture -l takes.

Add parallel work

Your agent splits the discussed project task into separate worker assignments. You see each end state and file scope before any worker starts.

What the agent runs

Give each worker a separate end state and separate files. Keep tasks that edit the same files together until you resolve the dependency. For implementation work, point a worker at a backlog node and its plan. Ship a change shows the command. Work organization explains ownership and worktrees. If open PRs exceed agents.max_open_prs (default 20), the spawn gate can hold a new target seat in F[no] 0.4.6. The refusal names open_pr_cap and the count. Close or merge PRs before retrying. Existing-PR work stays exempt. A build worker below agents.min_free_disk_gb (default 20.0 GB) gets a disk_floor refusal naming free space and the floor. Free disk space before retrying. To change either limit, ask your agent to set the global values as shown in fleet spawn limits. --force bypasses neither check. With 36 open PRs and the default cap, the gate prints:

Clean up

Your agent removes the finished practice worker. You see the removal result while its transcript stays available.

What the agent runs

Keep this worker for Message agents. After that page, Recover a worker shows how to remove it. If you skip messaging, remove the worker now:
A headless row that you kept with --mux is removed the same way. In F[no] 0.4.9, rm removes a finished headless row without --force:
The command exits 0 and prints a removed: line with the name.

Next steps