Skip to main content
Use the CLI stack when you want automation without the desktop app.

Main commands

  • openwrk: headless orchestrator (OpenCode + OpenWork server + router)
  • openwork-server: filesystem-backed remote API server
  • opencode-router: Slack/Telegram bridge with directory routing
npm install -g openwrk
openwrk start --workspace /path/to/workspace --approval auto
Useful follow-ups:
openwrk status --openwork-url http://127.0.0.1:8787 --opencode-url http://127.0.0.1:4096
openwrk approvals list --openwork-url http://127.0.0.1:8787 --host-token <token>

openwork-server

npm install -g openwork-server
openwork-server --workspace /path/to/workspace --approval auto
Key env vars:
  • OPENWORK_TOKEN
  • OPENWORK_HOST_TOKEN
  • OPENWORK_APPROVAL_MODE

opencode-router

npm install -g opencode-router
opencode-router start
Pair it with bindings for deterministic routing by peer + directory.