blueprint · agent infrastructure CLI

Orchestrate a fleet of AI agents in tmux.

One small binary to connect, observe, coordinate, and supervise long-running CLI agents across a server.

curl -fsSL https://github.com/tunapro1234/blueprint/releases/latest/download/install.sh | sh -s -- --local
Linux & macOS · signed native releases · npm distribution coming later

A fleet of agents in tmux — opened, messaged, queued, branched into worktrees, usage-governed. Ordinary messages wait while an agent is busy or its composer contains user input.

Concepts

Agent

A CLI such as Claude or Codex living in its own named tmux session.

Subagent

An agent spawned inside a CLI through Task, a workflow, or codex exec.

tmux is the fabric

Sessions keep agents alive, addressable, observable, and easy to reconnect to.

mosh makes remote sweet

For explicitly configured remote sessions, bp uses mosh when installed and SSH otherwise. A failed mosh connection is reported.

Quickstart

01 · INSTALL

Install locally

Install and sign in to your preferred agent CLI first. Use the signed installer above, then open a new terminal.

bp doctor
02 · ONBOARD

Set up your coordinator

Choose a CLI. A main agent receives portable guidance to help configure this machine.

bp onboard
03 · WORK

Use your usual commands

Existing aliases are preserved. Continue a Claude conversation without creating another bp owner.

claude -c

Command reference

bp onboard · bp book --jsonSet up the coordinator and inspect agent records.
bp doctor · bp update --checkDiagnose installation and check signed releases.
bp treeShow the agent hierarchy with live state.
bp statusCompare live tmux sessions with the agentbook.
bp open <name> <dir> [--worktree t]Start an agent, optionally inside a fresh git worktree.
bp close <name>Close an agent session; its history is kept.
bp msg <name> <message>Send now, or queue safely when the agent is busy.
bp q · bp qstat <id> · bp qcancel <id>List, inspect, or cancel queued messages.
bp announce <message>Broadcast down the sender's agent hierarchy.
bp peek <name> [n]Read the latest lines from a session.
bp usage · bp monitorModel-usage snapshot; full dashboard in the terminal.
bp policy status|overrideInspect or pause the usage policy engine.
bp serviceHealth of every supervised job.
bp con [name]List sessions or attach locally / over mosh.
bp dashServe the monitoring dashboard locally.
bp imgShip a clipboard image to the server; path comes back on your clipboard.

Desktop integration

Image paste over SSH

Copy an image on your laptop and run bp img. It uploads to the server, prints the saved path, and puts that path back on your clipboard. One-key kitty launcher:

map ctrl+shift+i launch --type=background bp img

Clipboard & scroll

Local bp sessions enable mouse scrolling and apply their own status bar. Existing tmux prefix settings are preserved; clipboard support depends on your terminal.

Architecture

Local sessions.
Optional server jobs.

Local installations run with tmux and per-session queue workers; systemd is not required. Configured servers can run bp daemon for shared queues and scheduled jobs.

blueprint.servicebp daemonscheduled jobs