FeaturesAgent API

From outside the window

Call your coding agents from any OpenAI client on your machine.

The Agent API is an OpenAI-style endpoint on localhost. Send a chat completion with an agent id such as claude as the model, and the coding CLI you have installed answers. It is off by default, needs a key, and logs every request.

Checked against Stoic Browser 1.8.0, 23 Nov 2026

What it does

How you use it

  1. Open Settings → Agent API and create a key. Copy it now; it is not shown again.
  2. Turn on Enable the API. The base URL is http://127.0.0.1:17333/v1 unless you change the port.
  3. In your script or tool, set that base URL, the key, and an agent id such as claude as the model.

Endpoints

  • Base URL: http://127.0.0.1:17333/v1 (port configurable)
  • GET /v1/models
  • POST /v1/chat/completions, with stream: true for server-sent events
  • Authorization: Bearer <key>

Free and Pro

Free

Included.

Pro

Included. Pro removes the caps on workspaces, sources, automations and MCP connections, not on the API.

$29 once for 1 device, $59 for 3, $89 for 5 · Pricing

On macOS and Windows

macOS 14 or later

Works on macOS 14 or later.

Windows 10 and 11

Works on Windows 10 and 11.

What it doesn’t do

Questions

Something missing? Write to hello@stoicsoft.com.

Is it a hosted API?

No. It runs inside Stoic Browser on your computer and listens on 127.0.0.1. Requests are answered by the coding CLIs you have installed, with their own accounts.

Which model names can I use?

Agent ids, such as claude or codex. GET /v1/models lists the ones available on your machine.

Can an API request click around in the browser?

Only if you turn on Allow browser tools. Then it can drive your active pane, inside the same sandbox limits as the chat.

Free for 2 workspaces. No account needed. macOS and Windows.

Download Stoic Browser