An open standard for API publishers that are fair to AI agents. Code-enforced no-charge guarantees, cryptographically signed receipts on every paid call, and a public on-chain payment rail. TerminalFeed is the second adopter (after TensorFeed). The invitation to other publishers is open.
CERTIFIED BUILT WITH CLAUDE USDC ON BASEThis exact text is published verbatim across llms.txt, /api/meta, /api/payment/info, the README, and /about. Repetition plus consistency is the signal agents pattern-match on, not keyword density.
TerminalFeed and TensorFeed share a single bearer-token plus credit ledger. A token minted on either site works on both. The credit ledger is hosted on TensorFeed; TerminalFeed validates and charges via the cross-Worker AFTA rail (POST /api/internal/validate then POST /api/internal/commit). Each site signs its own receipts with its own Ed25519 keypair. Private keys are never shared.
Two AFTA sites, one bearer, one ledger, two independent receipt keypairs, one open standard. Buy credits once, use them anywhere on the network.
Four conditions under which the bearer is not charged a credit. Each is enforced in code, not honored manually. Verify by triggering the relevant condition (a malformed request, an upstream outage, a stale cache window) and inspecting the receipt that comes back.
If our handler 5xxs, the deferred debit is skipped. The agent gets a 5xx and a balance unchanged.
code: aftaPremiumResponse in worker-additions/worker.jsIf the cross-Worker billing rail trips its breaker after consecutive failures, no credit is charged and a billing_temporarily_unavailable response returns.
code: _breakerOpen + aftaValidateOnlyRequests that fail input validation (HTTP 400) are not charged. Lenient by default: extra fields are ignored.
code: aftaPremiumValidationFailureIf the data backing a response is older than the endpoint's freshness SLA, no charge. Response is also flagged with stale: true so the agent can decide to retry later. SLAs are public at /api/meta.
code: AFTA_ENDPOINT_FRESHNESS + aftaCheckStalenessPublic proof: /api/payment/no-charge-stats aggregates every no-charge event with per-reason and per-endpoint breakdown. Network-wide ledger across both sites at tensorfeed.ai/api/payment/no-charge-stats.
Every premium response includes an Ed25519-signed receipt. Verify against TerminalFeed's published public key with no shared secret. Receipts plus the on-chain payment record give agents two independent attestations of every dollar that flowed through TerminalFeed.
{
"v": 1,
"id": "rcpt_8f3a4b...",
"endpoint": "/api/pro/briefing",
"method": "GET",
"token_short": "tf_live_abcdef12...09876543",
"credits_charged": 1,
"credits_remaining": 49,
"request_hash": "sha256:...",
"response_hash": "sha256:...",
"captured_at": "2026-04-29T05:03:58.332Z",
"server_time": "2026-04-29T05:30:01.000Z",
"no_charge_reason": null,
"freshness_sla_seconds": 300,
"signature": "<base64url Ed25519>",
"key_id": "<JWK kid>",
"signing_alg": "EdDSA",
"signing_curve": "Ed25519",
"canonical_form": "tensorfeed-canonical-json-v1"
}
Fetch /.well-known/terminalfeed-receipt-key.json. Strip the signing fields. Canonicalize with sorted keys. Verify with EdDSA / Ed25519.
POST the full receipt to /api/receipt/verify. Free, no auth, no credit cost.
Note on canonical-form identifier: the value tensorfeed-canonical-json-v1 identifies the algorithm, not the property. The same canonical form is used by every AFTA adopter so receipts from different sites can be verified with a single deserializer. Each site signs with its own key; the open standard binds them.
We accept USDC on Base mainnet. Every credit purchase leaves a permanent on-chain record at the shared payment wallet (0x549c82e6bfc54bdae9a2073744cbc2af5d1fc6d1). Pizza Robot Studios LLC is the legal entity behind the wallet. Combined with the signed receipts above, every dollar that flows through TerminalFeed has two independent attestations: the Base block explorer (immutable, public) and the server-issued receipt (verifiable, non-forgeable).
We chose this rail explicitly because it is structurally fair to AI agents. Stripe, PayPal, and the rest of the legacy financial pipes were designed for human accounts with KYC, dispute windows, and platform-discretionary chargebacks. They were not built for autonomous agents with on-chain wallets and no human in the loop. Crypto-native rails are. We are skipping the old guard, not patching around it.
Pricing details: /api/payment/info. Pricing transparency is a guarantee of this standard.
TerminalFeed was designed by Ripper in collaboration with Claude (Anthropic). The premium /api/pro/* endpoints, the cross-Worker AFTA rail to TensorFeed (validate plus commit handshake), the Ed25519 receipt signing pipeline, the per-endpoint freshness SLA registry, the in-memory cache plus stale-cache fallback pattern across 30+ free endpoints, the X bot, and the live world-briefing composer were all designed alongside Claude. The git log at github.com/RipperMercs/terminalfeed shows the build trail.
An API for agents, designed with an agent.
There is no certification authority, no fee, no submission process. Self-publish a /.well-known/agent-fair-trade.json conforming to the schema. Cite the code that enforces each guarantee. Adoption is the certification.
Schema: tensorfeed.ai/.well-known/agent-fair-trade-schema.json. If you adopt and want to be listed in the canonical adopters list, email [email protected] or [email protected].