Demo #2 — Commons Flow Composer

Compose multi-step Commons flows and inspect Ajv-validated receipts.

Wire up to three Commons verbs (analyze, summarize, classify, clean, convert, describe, explain, format, parse, fetch) into a single flow. The backend calls /api/commons-flow and returns per-step receipts with x402, trace, status, result, and usage that are validated with Ajv against the shared receipt.base v1.0.0 schema.

10 Commons verbs wired Ajv-validated receipt.base

Pick verbs, send a flow, inspect the receipts

Under the hood this calls /api/commons-flow on Vercel and returns receipts aligned with the shared receipt.base v1.0.0 schema used in Commons. For this demo, up to three steps share a single trace_id and each step’s receipt is validated with Ajv before it’s returned.

Build a Commons flow

Step 1

Step 2 (optional)

Step 3 (optional)

10 Commons verbs Ajv-validated receipt.base v1.0.0 Shared trace_id across steps

Flow output

Trace + steps
// Configure your steps on the left and hit "Run Commons flow"…