An API agents call before they waste context.

The CheapAgent Context API answers one question before an agent loads a document: is converting it to TOON worth it? Every response is a structured verdict — a decision with measurements, never prose. The verdict policy is frozen, versioned, and identical on every surface that emits it.

You can call it locally, today

The full /v1 contract already runs on your machine, where document bodies never leave your machine. No waitlist for any of this:

# MCP server (Claude Code, Cowork, any MCP client)
claude mcp add doc2toon -- npx -y -p doc2toon-registry@npm:doc2toon@0.4.x doc2toon-mcp

# Localhost HTTP — the same /v1 endpoints this page's spec describes
npx -y -p doc2toon-registry@npm:doc2toon@0.4.x doc2toon serve --port 8787
curl -s -X POST http://127.0.0.1:8787/v1/profile \
  -H "content-type: application/json" \
  -d '{"content": "# My agent doc\n\n..."}'

# CLI, same verdict object
npx doc2toon@^0.4 profile --json CLAUDE.md

# CI — comment on PRs when agent docs bloat
# uses: Profusion-AI/doc2toon@action-v1

Tools: profile, convert, validate, and plan — per-section context plans that say which parts of a mixed document independently earn conversion, under the same frozen policy.

The hosted API: same contract, explicit trust boundary

https://api.cheapagent.ai will expose the identical contract for the places local-first can't reach: CI at scale without per-runner installs, fleets of agents that can't ship a Node runtime, batch checks across many repos. Sending a document to the hosted API is an explicit opt-in — it is the one CheapAgent surface where a document body leaves your machine, and it is framed that way on purpose. The hosted posture is drafted and published before launch: no document body storage by default; report history only if you opt in.

We are deliberately not launching hosted until enough people need it. The contract is built and frozen; the spec below is the real one; early-access demand decides the launch. That honesty is cheaper for you than a half-run service.

The contract, published first

A third party could implement a compatible server from those two files alone. That is the definition of done we held the contract to.

Early access

Pro early access

Larger browser allowance, GitHub Action beta support, CI templates, and first hosted API keys when the beta opens. Saved and exportable reports are coming — listed honestly as coming, not promised.

Pro early access is paid through secure Stripe checkout; we turn on your larger allowance by hand from the receipt — there is no billing code on this site. How payments are handled.

Get Pro early access

Enterprise design partner

Private repo workflow, context-budget policy definition, no-document-storage-by-default posture, hosted API evaluation. Framed honestly as a design partnership, not month-one enterprise theater.

Talk design partnership

Clicking either button counts one anonymous interest click on our side (a server-side number — no cookie, no identity, no document), then forwards you on: Pro to secure checkout, Enterprise to the design-partner application — or to the waitlist below while a destination is being set up.

Join the hosted API waitlist

You're on the list. We'll email you when hosted early access opens — and only about that.

Submitting stores your email and your answers with our forms provider (Netlify) so we can email you about hosted early access — nothing else. No document content is asked for or wanted. Deletion on request, like everything we store: see the privacy page.

Prefer to just ask?

If you have a concrete need — a team, a fleet, a deadline — skip the form: email us with the subject “Hosted API early access”. Labeled subject lines are how we count direct asks, so keeping the subject helps us take the demand signal seriously.

The posture, restated

In the browser workbench, the CLI, MCP, CI, and doc2toon serve, your documents never leave your machine. The hosted API is the explicit, opt-in exception — and it launches when demand justifies running it properly, not before. CheapAgent does not promise TOON always saves tokens. It tells you when it does. The honesty benchmark is where we publish the losses.