First flight
boarding
A first flight usually means “start a session, ask an agent to change a file, approve the diff”. That flight is not available yet. It lands in the engine phase (P2). You can do pre-flight today: open the terminal UI and read the contract. The UI hosts the daemon when none is running.
Pre-flight (works now)
Section titled “Pre-flight (works now)”acpilot tui probes GET /v1/health. When nothing answers, it runs the daemon’s
core in its own process (P6-11). The client spawns nothing and writes nothing.
This is why the block needs no second terminal:
cargo build --bins # acpilot and acpilotd; the client starts the sibling, not one on PATHcargo run -p acpilot-cli -- tuiThe same daemon answers curl. You can read the contract without opening a
window. The TUI stays attached until you quit it. The daemon outlives it. The
daemon listens on a socket, so point curl at the socket:
SOCK="$XDG_RUNTIME_DIR/acpilot/acpilot.sock" # $TMPDIR on macOScurl -s --unix-socket "$SOCK" http://localhost/v1/health | jqcurl -s --unix-socket "$SOCK" http://localhost/v1/openapi.json | jq '.info'That is the whole cockpit at the moment: a healthy daemon and a contract with nothing behind it yet. Short flight. Good landing.
The flight you will actually take
Section titled “The flight you will actually take”When the engine phase (P2) lands, the sequence below is the target. We wrote it down now because we design the API and the permission flow backwards from it. If this feels like too many steps, the design is wrong, not the documentation.
# 1. Point Acpilot at a directory and an agentacpilot workspace open ~/code/thing --agent claude-code
# 2. Ask for a changeacpilot session new --prompt "add a --dry-run flag to the CLI"
# 3. Watch it work, from here or from another terminalacpilot watch @last
# 4. Approve or refuse the writeacpilot permissions lsacpilot permissions allow 4f2a --onceWhere to look while you wait
Section titled “Where to look while you wait”- Agents and ACP — what the daemon actually speaks.
- Permissions — the part that stops a bad turn from becoming a bad day.
- Flight status — the current altitude, without euphemism.
Vibecoded, on purpose. While I am a software developer, I lack the time to hand-code all my ideas, and as a result this project is vibecoded withFreebuff.