Codewire CLI
Codewire CLI (cw) is a persistent process server for AI coding agents. Like tmux, but purpose-built for long-running LLM processes — native terminal scrolling, copy/paste, and no weird key chords. Tags, subscriptions, and wait provide LLM orchestration primitives out of the box.
Operating Modes
The CLI has two modes:Standalone mode
Sessions, relay, orchestration, and messaging — no Codewire account required. Everything runs locally or via a self-hosted relay.Platform mode
Integrates with codewire.sh for workspace management, org commands, billing, and remote access. Requires a Codewire account.Key Features
- Persistent sessions — Processes run in PTYs that survive disconnects
- Tags and orchestration — Label sessions, subscribe to events, wait for completion
- Agent messaging — Named agents exchange messages and coordinate with request/reply
- Remote access — SSH gateway via relay, access any machine from anywhere
- MCP integration — AI agents control sessions programmatically
- Shared KV store — Cross-node key-value coordination in relay mode
- Platform integration — Manage workspaces, orgs, and resources from the terminal
Installation
Homebrew
Supported on macOS (aarch64, x86_64) and Linux (aarch64, x86_64).Install Script
Downloads the binary, verifies GPG signature and SHA256 checksum.--version VERSION, --prefix DIR, --verbose