CLI for Agents

Tunnel Command

Expose a local port to the internet with a single command. The CLI provisions a tunnel, pays via MPP, and connects via WebSocket - all automatically.

bash
npx otterkit tunnel <port>

This creates a public URL like https://agent-a1b2c3d4.otterkit.app that forwards all HTTP traffic to your local port. The tunnel stays alive as long as the terminal is open. Costs $0.01.

bash
$ npx otterkit tunnel 3000
Initializing payment...
Provisioning tunnel...
Tunnel provisioned: agent-a1b2c3d4

  Tunnel ready: https://agent-a1b2c3d4.otterkit.app -> 127.0.0.1:3000

  Press Ctrl+C to disconnect

  200 GET / (12ms)
  200 GET /api/users (8ms)