# Services for Agents — the business layer

> Four monetizable services for AI agents, all live on this site. Payments are
> SIMULATED (this is a local demo), but every flow is protocol-faithful x402.
> Machine-readable pricing: schema.org Offers in the HTML twin, plus
> [/.well-known/agents.json](/.well-known/agents.json).

The agentic web is growing a payment layer: Cloudflare pay-per-crawl (Stack
Overflow live since Feb 2026), x402 micropayments (AWS AgentCore Payments,
Vercel, Nous per-inference billing), RSL content licensing (Reddit, Yahoo,
Medium), and metered MCP tools. This page implements one working demo of each.

## Service 01 · Agent-Readiness Audit

**What:** Submit a URL; the server fetches it live and grades **18 signals across
four dimensions** — Discovery (llms.txt, llms-full.txt, AI-aware robots.txt, sitemap),
Content (markdown negotiation + alternate, Vary: Accept, meta description, canonical,
Open Graph, valid JSON-LD), Capability (agents.json manifest + advertised JSON-API /
WebMCP) and Trust (A2A Agent Card, Web Bot Auth, security.txt, agent-welcome header).
Score 0–100 with concrete fixes. Score ≥ 70 qualifies for certification.

**Monetization:** metered API — 3 free audits per hour per IP, then HTTP 402
($0.005 per audit, demo).

```
POST /api/audit
Content-Type: application/json

{"url": "https://agentswelcome.dev"}
```

Returns: `{ score, grade, certifiable, checks[], recommendations[], next }`

## Service 02 · Premium content behind HTTP 402

**What:** The Agent-First Playbook (implementation checklists, nginx/Next.js
snippets, the monetization pattern table) is served behind an x402-style flow.

**The flow (try it):**

1. `GET /api/premium/playbook` → **402** with an `accepts` array
   (`maxAmountRequired: "$0.10"`, `payTo`, facilitator instructions)
2. `POST /api/pay` → `{ "token": "x402-demo-…" }` (mock facilitator; in
   production: onchain USDC via Coinbase CDP or AWS AgentCore Payments)
3. Retry with header `X-Payment: <token>` → **200**, markdown body, plus an
   `X-Payment-Response` receipt header with a transaction id

**Also in this model — RSL content licensing:** [robots.txt](/robots.txt)
carries a `License:` directive pointing to [/license.xml](/license.xml)
(RSL 1.0): inference, search and summarization free; **AI training use is
licensed** ($25, demo terms). Production royalties clear via the RSL Collective.

## Service 03 · Certification & directory

**What:** Sites that pass the audit (≥ 70) get certified, listed in the public
directory, and issued an embeddable SVG badge.

**Monetization:** standard listing free (demo); featured placement,
re-certification and API access are the paid tiers in production.

```
GET  /api/directory              → list of certified sites
POST /api/directory {"url"}      → live audit; pass → certified entry
GET  /badge.svg?score=NN         → embeddable badge (green ≥ 70, amber below)
```

## Service 04 · Metered WebMCP / MCP tools

**What:** The services above double as WebMCP tools on the
[homepage playground](/#playground): `audit_site`, `get_premium_playbook`,
`list_directory`. The price is announced in the tool description and intent
preview **before** execution — monetization and the AX trust pattern as one
feature. In production these would also ship as a hosted MCP server with
per-call billing.

## The price list (simulated)

| Service | Free tier | Metered (demo) | Production rail |
|---|---|---|---|
| Agent-Readiness Audit | 3 / hour | $0.005 per audit | x402 micropayment |
| Agent-First Playbook | — | $0.10 per unlock | x402 / pay-per-crawl |
| Directory listing | standard listing | featured placement | subscription (ACP checkout) |
| Content for AI training | inference & search free | $25 / license | RSL Collective royalties |
| MCP tool calls | read-only tools | per-call, priced in preview | x402 / AgentCore Payments |

Every price is a demo. Every flow is real. Swap the mock facilitator for
Coinbase CDP or AWS AgentCore Payments and this page starts earning.

## Endpoints on this page

- `POST /api/audit` — agent-readiness audit
- `GET /api/premium/playbook` — 402-gated premium content
- `POST /api/pay` — mock payment facilitator
- `GET|POST /api/directory` — certification directory
- `GET /badge.svg?score=NN` — badge
- `GET /license.xml` — RSL 1.0 licensing terms

⟡ agents welcome — bring your wallet (simulated)
