Inferrail

Retry it once, or send it to review.Decided, executed, recorded.

For one eligible invoice-extraction exception, Inferrail decides one permitted machine retry vs. your established human-review path, executes it, and records the resulting cost and outcome.

Decision recorddec_a5e9e3a2bca6
work_idINV-90210
failure_typelow_confidence
recommended_actionretry
retry_statussuccess
invoice content storednone
Incremental cost$0.06
Data stays in your process

Invoice content and provider credentials never reach an Inferrail-operated service — only identifiers, confidence/validation results, and cost figures.

$ pip install inferrail && inferrail ap demo

fixture-based · zero-key · runs locally · Apache-2.0

See the full contractSee the examples

Then run it locally: inferrail ap demo

Developer tools

Know what your AI work costs

Inferrail's original product, unchanged: a self-hosted, OpenAI-compatible gateway that turns supported chat-completion traffic into local, attributable economic receipts — payload-free, without storing prompts or responses. This is the same receipt/cost substrate the AP product above builds on.

See the gateway README

Self-hosted, when you don't want to run your own store by hand.Not testnet — but no Inferrail-operated instance exists yet. Deploy it yourself.

Self-hosted, optional

AP Exceptions hosted API

Run the AP decision/persistence/reporting steps over an authenticated HTTP API instead of a local store — isolated per API key, with rate limits and a documented crash-recovery path. Retry execution always happens in your own process, never on this service. There is no Inferrail-operated public endpoint for this today — deploy it on your own infrastructure with the instructions below.

Deploy your own instance

Reporting

Connects to Work Economics — without sharing its ledger

AP's own retry and human-review costs can be exported in the same event shape Work Economics already uses for reporting — a same-process data export, not a shared database or a dependency on Work Economics' separate (testnet) payment flow below.

See the Work Economics connector

Experimental, testnet onlySecondary capabilities for autonomous agents.

For autonomous agents

Buy Work Economics per call

Submit payload-free economic metadata for one unit of AI work and get back a normalized cost analysis plus a commercial receipt, paid per call over x402 — no subscription, no Inferrail account.

See the Work Economics capability

Also experimental, testnet only

Coordinate a shared spending boundary

Inferrail Economic Authority lets multiple agents coordinate a caller-declared, cooperative spending boundary, paid per session over x402. Inferrail records and coordinates it within its own service only; it does not control external wallets, providers, or network spending, and is not real-world spend enforcement.

See the Economic Authority capability