Command reference

oko-cli proxy-serve

Serves an authenticated loopback chat-completions proxy backed by Stado.

Invocation

oko-cli proxy-serve [--port N] [--router URL]

Inputs and options

  • --port selects a UInt16 port; the default 0 requests an ephemeral port.
  • --router falls back to STADO_MODEL_ROUTER_URL.

Output and state effect

  • Binds loopback, prints its endpoint and generated client capability, and runs until stopped.

Refusals and safe exits

  • Refuses a missing router, a non-UInt16 port, or missing dedicated Oko model identity/secret; bind/proxy failures exit unsuccessfully.