A command line for coding agents.

Start Claude Code or Codex, inspect a session and queue its next prompt. OH Router keeps sessions running on your machine after you close the terminal.

Apple Silicon / Intel macOS · Linux x86_64 / arm64 · v0.1.6

Terminal preview

List

oh-router ps --json | 
jq -r '.sessions[] | [.state, .title] | @tsv'
idle	Build the sample
idle	Draft the release note
idle	Review the test output

List the sessions the supervisor is holding. Add --project to narrow the result.

Inspect

oh-router inspect term_486b90312396 --json | 
jq '{title, state, screen_state}'
{
  "title": "Build the sample",
  "state": "idle",
  "screen_state": "empty_input_box"
}

Read the session state and the screen the router recognized before sending input.

Queue

oh-router queue list term_486b90312396
{
  "queued_prompts": []
}

Read the pending prompts for one session. Add a follow-up with oh-router queue add.

Install OH Router

Shell

curl -fsSL https://ohputer.com/install.sh | sh

Installs the three commands in ~/.local/bin and verifies the archive before extraction.

Homebrew

brew install hraness/tap/oh-router

Install the CLI with Homebrew on Apple Silicon or Linux.

Mac app

oh-router --version

In OH for Mac, choose Help → Use with Coding Agents and link the bundled command.

Your first session

Start the supervisor and check which sessions it can see. On a new installation the list will be empty.

Local supervisor
$ oh-router daemon start
$ oh-router ps --json

With a signed-in provider, run oh-router codex or oh-router claude from your project folder. Use the returned session ID to inspect the terminal or send a prompt.

Router guides

OH for Mac

The Mac app uses the same supervisor. Open it to read agent turns, see which sessions need you and manage your board in one window.

Download OH for Mac