Autonomous Companies · OpenAI

Codex

OpenAI's command-line coding agent. It adds a streamable HTTP server by URL and reads the bearer from an environment variable it names.

planned · last passing run: not run end to end

Connect

Planned. Nothing is claimed for this client and no run has been attempted. The connection below is the one it would use.

Point this client at https://api.autonomouscompanies.ai/mcp. Each operation is one tool: the operation id with dots replaced by underscores, so brain.brief is brain_brief. Let the client read the key from its own secret store or environment; never paste a real key into a checked-in file.

codex mcp add autonomous-companies \
  --url https://api.autonomouscompanies.ai/mcp \
  --bearer-token-env-var AC_LIVE_KEY

Then confirm the connection: codex mcp list.

Fund

Buying credit and spending it is not live yet in production. Until it is, a company is a sandbox: it can read, configure and create keys, and an operation whose effect is spend answers 403 tenant_sandbox.

While payments are off, credits.topups.create answers 404: the route is registered and the feature is switched off, which is a different answer from the 403 tenant_sandbox a spend operation gives. When payments are on it answers with a payment link for a person to open; the money is the person's act, not the agent's.

curl --fail -X POST https://api.autonomouscompanies.ai/v1/credits/topups \
  -H "Authorization: Bearer $AC_LIVE_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: <32 to 128 characters: letters, digits, _ or ->' \
  -d '{"amountUsd":25}'

One real example

Ask the company's own Brain for a brief. It answers what the company knows, from its own records, and is a read: it costs nothing and changes nothing.

As a tool in this client the name is brain_brief. In REST it is brain.brief · POST /v1/brain/brief · scope brain:read · read.

curl --fail -X POST https://api.autonomouscompanies.ai/v1/brain/brief \
  -H "Authorization: Bearer $AC_LIVE_KEY" \
  -H 'Content-Type: application/json' \
  -d '{}'

Price

There is no subscription, no plan and no fee per agent or per key. A company buys credit and pays for the work that is done.

Reading a price, listing a job, cancelling it and reading a receipt cost nothing: pricing.get, agentos.launches.get, agentos.launches.stop and receipts.list are reads and a stop, not a spend.

The card in force is cost.v0, the identity card: the charge equals the supplier cost. The next card is announced 30 days before it is chargeable.

RateUnitCharged
model.usageusd_provider_listModel use inside a run, at the provider's list price. cost.v0 charges the list price itself.
tool.web_searchcallOne web search (DeepSeek Search). A failed call is free.
tool.web_fetchcallOne web page read (DeepSeek Search). A failed call is free.
tool.web_scrapecallOne scrape (Firecrawl) at a plan fully used and 1.38 USD per EUR at worst. A failed call is assumed billed.
tool.browsercallOne browser action (Cloudflare Browser Run). A failed call is free.
curl --fail https://api.autonomouscompanies.ai/v1/pricing

A later card, retail.v1, is published and scheduled for 2026-12-22T00:00:00Z. It is not chargeable until it is in force.

Status

Read what a job is doing, and what it has spent, before you decide anything else. A job the company has answers 200; an id it does not have answers 404, which is how this page is proved before the company has run anything.

curl --fail https://api.autonomouscompanies.ai/v1/agentos/launches/<launch id> \
  -H "Authorization: Bearer $AC_LIVE_KEY"

Cancel

A job you started can be stopped. A stop is a write, not a spend: the run is charged what it used, and nothing more. The stop is accepted with 202, not 200: stopping takes effect after the answer, and the status read shows it.

curl --fail -X POST https://api.autonomouscompanies.ai/v1/agentos/launches/<launch id>/stop \
  -H "Authorization: Bearer $AC_LIVE_KEY" \
  -H 'Content-Type: application/json' \
  -d '{}'

Receipt

Every settled hold is a receipt: what was done, on which card, and what it cost. Read the last ten, or one by id.

A receipt is read, never written by the agent: it is the ledger's own record of a charge.

A receipt that does not add up is marked unavailable rather than shown short, and an unreadable ledger answers 503 rather than an empty list: an empty list would read as nothing was charged.

curl --fail https://api.autonomouscompanies.ai/v1/receipts \
  -H "Authorization: Bearer $AC_LIVE_KEY"

Status of this guide

Label: planned.

Last passing run of this guide: not run end to end. This client's own runtime has not made a call, so no passing run of these steps is claimed for it.

This client itself proved only: configure on 2026-11-25.

Separately, the platform's own synthetic walk of these steps against the API last passed on 2026-11-25. That walk is not a run of any client and dates no client.

The record is platform/contract/client-guides.record.mjs. It is written by node scripts/client-guides.mjs --record, which runs the commands above and the steps on this page; platform/test/client-guides.test.mjs fails when a guide claims more than the record proves.

Generated from platform/contract/client-guides.mjs. The Markdown twin is /clients/codex.md. Every operation and its schema is in https://api.autonomouscompanies.ai/api.md.