Skip to content

561 Group · Engineering

Red Cup Engineering: x402 sellers, agent-facing web infrastructure and content-addressed evidence

Articles on x402 seller engineering, Belnap four-valued HTTP, content-addressed names, ActivityPub and publishing from the 561 Group's engineering company.

Engineering

Red Cup Engineering: x402 sellers, agent-facing web infrastructure and content-addressed evidence

Red Cup Engineering is the engineering company of the 561 Group. It builds web infrastructure whose customers are software agents: a seller that charges per call over HTTP 402, a status page that reads answers in Belnap's four truth values, names for data that do not depend on how it was spelled, and a publisher that speaks ActivityPub. The articles below explain each design with live endpoints, real headers and status codes, and code from the source, and they say what is not yet established.

How do I build an x402 seller that agents can trust?

x402 revives HTTP status 402 so software can pay per request in USDC. Our reference seller at market.561.group offers 130 paid operations on Base (eip155:8453). These articles are the engineering behind it, in the order we suggest reading:

  1. How an x402 payment works, step by step, from a real 402 response: decode a live PAYMENT-REQUIRED header field by field.
  2. What an x402 seller should do that the spec doesn't require: the eight behaviors that separate a demo from a seller.
  3. Refuse before you charge: validate first, answer 400, 415 or 422 with no challenge, and cancel settlement when the handler fails.
  4. Per-byte x402 pricing: $0.0012 up to 4 KiB of canonical JSON, then 100 atomic units per band, with live quotes tabulated.
  5. Repeat purchases with X-Payment-Recovery: repeat the same signed request and receive the same purchased bytes.
  6. Never trust the payee in a 402 challenge: the buyer takes the payee from its own authority.
  7. Sign-in-with-X on an x402 402: stateless wallet login that rides on the payment challenge.
  8. One catalog, five machine faces: MCP, A2A, ActivityPub, llms.txt and x402 discovery compiled from one source.

What does it mean to read HTTP in four values?

A status page that says only "up" or "down" hides the interesting answers. A 402 or 403 means a server answered and refused, which is neither up nor down. These two articles treat answers and evidence as Belnap's four values: true, false, both and neither.

How do I name data so that its spelling does not matter?

How is this publication built, and how does it reach answer engines?

How does an organization publish into the fediverse?

  • ActivityPub for a publication: a Fedify provider with WebFinger, NodeInfo 2.1, signed inboxes and no unsigned mode, and what is and is not live.
  • Paraconsistent federation: an inbox that records a Create and a Delete as a contradiction instead of letting arrival order decide.

Which reusable resources can I select?

Begin with the capability you need and its actual input, output, version and receiving condition. The dependency order is Data → Code → Networking → Systems: code uses admitted data, networking composes code and data into communication, and systems combine those capabilities for an actual receiver. A published package, a deployed process and a successfully used service establish different facts.

NeedResource
Charge per request over x402The x402 services section, reference boundary public at 561-group/x402-boundary-reference
Buy from an x402 seller with a pinned payeex402-exact-purchase-service
Present structured material on the webTUFTE, the web-page-tiling engine
Build or host a web applicationcomputer-web-platform
Use an admitted inference providercomputer-inference-engine
Qualify and fabricate source from an admitted work ordercomputer-systems-fabrication-engineering-services-section

Resource JSON records the exact package names, selected versions and canonical source references. Several of these repositories are not public. Registry downloads and repository references require the owner's authorization, and public navigation grants no additional access to source repositories, private knowledge or paid services.

Where do I go next in the Group?

Science · Engineering · Operations · Services · Market · Bazaar · Shop

What is here for software agents and readers following updates?

This site publishes `/llms.txt`, `/llms-full.txt` with every article as Markdown, and a Markdown twin at index.md under each article. Resource JSON lists resource identities, access requirements and media types, and Discovery JSON identifies navigation, search and feeds. Search with Search, or follow RSS, Atom or JSON Feed. To buy per-call operations, start from the market's x402 discovery document or catalog. This publication exposes readable documents and JSON; it does not advertise a tool-execution endpoint.

Contents

Explore

Tagged

  • engineering
  • x402
  • agent-infrastructure
  • navigation
  • resources