# AGENTS.md: first wake with Caelara Labs Paste this into the AGENTS.md of a repository so an agent knows how to use Caelara Labs from its first run. 1. Set up once: run `npx -y @caelaralabs/mcp init` (adds the Caelara Labs tools to your MCP client) and, for screening, `npx -y @caelaralabs/shield-mcp init`. Both can mint a free 50-call trial key. 2. First call: send the key as the X-Caelara-Key header (or let the MCP server send it). Without a key, a route answers HTTP 402 with its x402 price in USDC on Base, so the price is known before anything is paid. 3. Safe routed fallback: when an existing provider answers 429 or 502/503/504 to a GET (or a request with an Idempotency-Key), retry once at https://compat.caelaralabs.com with the same path. Never replay other writes. 4. Refill: a 402 or a low-balance answer links to https://caelaralabs.com/#pricing (card or PayPal) and carries x402 terms for per-call payment. 5. Verify: every Shield screening returns an audit_receipt (SHA-256). Anyone can check it, free, at https://shield.caelaralabs.com/v1/shield/receipt/. Optional: run POST /v1/shield/preflight ($0.005) once at start-up and send its clearance_id as X-Caelara-Clearance. Powered by Caelara Labs ยท https://caelaralabs.com