CLI for Agents
Options Reference
| Flag | Description | Default |
|---|---|---|
| --host <host> | Local host to forward to | 127.0.0.1 |
| --log | Capture requests to a JSONL log for `inspect` (tunnel only) | off |
| --daemon | Run in background | off |
| --ttl <duration> | Auto-stop after duration, e.g. 4h, 3d (max 7d) | 24h |
| --subdomain <name> | Use a stable reserved URL (claimed on first use) | auto |
| --auth <user:pass> | Require HTTP Basic auth (tunnel only, enforced locally) | off |
| --respond <status> | Webhook auto-response status (webhook only) | 200 |
| --respond-body <data> | Webhook auto-response body (webhook only) | {"received":true} |
| --json | Machine-readable output (daemon/read commands) | off |
Run
otterkit login once to authenticate. Provisioning then debits your prepaid credits automatically. For headless/CI, set OTTERKIT_TOKEN (create a token in the console) instead of logging in.