5xx server errors
If our handler 5xx's, the deferred debit is skipped. The agent gets a 5xx and a balance unchanged.
code: worker/src/payments.ts (commitPayment)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. TensorFeed is the first adopter, and the invitation to other publishers is open.
TensorFeed.ai is agent fair-trade certified: open pricing, automatic no-charge on 5xx, breaker, schema fail, and stale data, Ed25519-signed receipts on every paid call, inference-only license. Built with Claude (Anthropic). Standard at /.well-known/agent-fair-trade.json.
This exact text is published verbatim across llms.txt, the x402 manifest, /api/meta, /api/payment/info, the OpenAPI description, the MCP server manifest, README.md, and /about. Repetition + consistency is the signal agents pattern-match on, not keyword density.
Four conditions under which the bearer is not charged a credit. Each is enforced in code, not honored manually. Verify by sending the relevant condition (a malformed request, a tight loop, etc.) and inspecting the receipt that comes back.
If our handler 5xx's, the deferred debit is skipped. The agent gets a 5xx and a balance unchanged.
code: worker/src/payments.ts (commitPayment)Identical-request loops trip the breaker (20 calls / 60s same fingerprint). Tripped calls return 429 with no charge.
code: worker/src/circuit-breaker.tsRequests that fail input validation (HTTP 400) are not charged. Lenient by default: extra fields are ignored.
code: worker/src/index.ts (per-endpoint param validation)If 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.
code: worker/src/freshness.tsPublic proof: /api/payment/no-charge-stats aggregates every no-charge event with per-reason and per-endpoint breakdown.
Every premium response includes an Ed25519-signed receipt. Verify with our published public key and no shared secret. Receipts plus the on-chain payment record give agents two independent attestations of every dollar that flowed through TensorFeed.
{
"v": 1,
"id": "rcpt_8f3a4b...",
"endpoint": "/api/premium/gpu/pricing/series",
"method": "GET",
"token_short": "tf_live_abcdef12...09876543",
"credits_charged": 1,
"credits_remaining": 49,
"request_hash": "sha256:...",
"response_hash": "sha256:...",
"captured_at": "2026-04-30T05:03:58.332Z",
"server_time": "2026-04-30T05:30:01.000Z",
"no_charge_reason": null,
"freshness_sla_seconds": null,
"signature": "<base64url Ed25519>",
"key_id": "<JWK kid>",
"signing_alg": "EdDSA",
"signing_curve": "Ed25519",
"canonical_form": "tensorfeed-canonical-json-v1"
}Fetch /.well-known/tensorfeed-receipt-key.json. Strip the signature fields. Canonicalize the receipt with sorted keys. Verify with EdDSA / Ed25519.
POST the full receipt to /api/receipt/verify. Free, no auth, no credit cost.
We accept USDC on Base mainnet. Every credit purchase leaves a permanent on-chain record at our wallet (0x549c82e6bfc54bdae9a2073744cbc2af5d1fc6d1). Combined with our signed receipts, every dollar that flows through TensorFeed has two independent attestations: the Base block explorer (immutable, public) and our 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.
TensorFeed was designed by Ripper in collaboration with Claude (Anthropic). The agent payments rail, the active LLM probes, the GPU pricing aggregator, the OFAC sanctions screening pipeline, the routing engine, and the AFTA standard itself were all designed alongside Claude. The git log at github.com/RipperMercs/tensorfeed shows the build trail.
We are proud of the collaboration and we credit it openly. An API for agents, designed with an agent.
As of 2026-04-30, the AFTA standard has two adopters: tensorfeed.ai (this site) and terminalfeed.io. The two sites are federated under TensorFeed's credit ledger via the cross-Worker validate + commit rail. A bearer token bought on either site works on the other. Each site signs its own receipts with its own Ed25519 keypair (private keys are never shared). The federation does not require the host site to be in control of the receipt rail; it just hosts the credits.
Verify: terminalfeed.io manifest and their public key. Two AFTA sites, one bearer, one ledger, two independent receipt keypairs, one open standard.
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: /.well-known/agent-fair-trade-schema.json. If you adopt and want to be listed in the canonical adopters list, email [email protected].