How it works
A small service that runs your jobs, and a command that asks questions.
Two parts
The Pipe
A small service that runs on your computer. You send it jobs. It queues them, runs each one through Claude Code or Codex signed in as you, and keeps a record. It listens only on your own computer (127.0.0.1), and every request needs its token.
The huntaway command
Asks one question and tells you plainly what happened: it ran, it certainly didn't run (so you can send it again), or it may have run. It can use the Pipe, or your own API key with dollar caps.
Most people use the Pipe through an assistant: Claude Code, OpenClaw, or anything that speaks MCP. You can also drive it from the command line or its local HTTP API.
A job, field by field
A job is one request to the Pipe. These are the fields you'll use most:
| Field | What it says |
|---|---|
prompt | What to do. |
provider, model, effort | Which tool and model run it, and how hard it should work. The Pipe never picks a model for you. |
reason | Why you're running it. It's kept in the record. |
kind | code for work that may change files, chat for a
question. |
mutating | Whether the job may change files. A job that may gets its own worktree. |
cwd, pinnedStartCommit | The repository, and the exact commit to start from. |
priority | interactive jobs run before background
ones. |
requester, project | Who sent it, and what it's for, so the record can be sorted. |
The Pipe's README lists every field and option.
The commands you'll use
$ pipe() { node ~/huntaway/pipe/src/cli.ts "$@" --config ~/pipe-data/config.json; } $ pipe accounts # your login, its allowance and whether it's available $ pipe models # the models your config allows $ pipe submit < request.json $ pipe list # recent jobs, with no prompt or result # ID is the job's id, from what pipe submit printed: ID=… $ pipe status "$ID" # one look at a job $ pipe wait "$ID" # waits until it's completed, failed, cancelled or start_mismatch $ pipe card "$ID" # a short card: how it ended and where its work was saved $ pipe cancel "$ID" --by me $ pipe drain # lets running jobs finish, then stops the service
When your plan is out of room
- Before a job starts, a busy or limited account makes it wait instead of failing.
- Once it has started, a limit can still end it. A job that may already have changed files isn't re-run automatically: look at its worktree before you send it again. If it stopped on a limit or a sign-in problem before it used any tool, and its worktree is untouched, it waits and runs again.
- A read-only job waits and tries again after a limit or sign-in failure.
- Both kinds of retry have a cap: after 20 such failures by default, the job fails.
- It runs on the model you chose, or it fails. A mismatch is never recorded as a success.
- A nearly full disk makes jobs wait too.
Where code changes go
- A job that changes files runs in its own git worktree, on a
pipe/…branch. The record names the path, the branch and the commit. - Its card says what happened to the work:
saved(with the branch and commit),no_changes,not_saved,unknown, or stillpending. Count on a saved commit only when the card sayssaved. - A finished job's worktree is normally kept for 72 hours (
worktreeKeepHours); when the disk is short of space it can go sooner, down to 15 minutes. Then any uncommitted work is committed on its branch, and the folder is removed. The branch stays. A worktree the Pipe can't save cleanly is kept. - Still using a worktree? Lock it to keep it:
git worktree lock /path/to/the/worktree, with the path from the job's record. - Claude jobs that change files run inside Claude Code's sandbox. Read-only Claude jobs get only the Read, Grep and Glob tools, and read-only Codex jobs run in Codex's read-only sandbox.
Your login, kept apart
The Pipe gives your account its own login folder and refuses the tools' default folders, so its jobs never share your own Claude Code or Codex sessions. You sign in to that folder yourself. The Pipe never reads your provider credentials: it points each tool at its folder and runs it.
Running it all the time
You can start the Pipe by hand, or have it start when you log in (launchd on macOS, your own service manager
on Linux). It keeps running jobs after you close your assistant, while the computer is on and awake. To
upgrade, pipe drain lets running jobs finish first.
The Pipe runs on one computer. From another Mac, pipe remote install sets up an SSH entry point,
so your assistant there can send jobs here. The jobs still run on the first Mac.
What it doesn't do
- It doesn't run across several machines, or accept remote workers.
- It doesn't share or resell plans, and it doesn't buy capacity.
- It doesn't install, update or sign in Claude Code or Codex for you.
- It doesn't support Gemini in this release.
Next: install it, or read about two-company reviews.