Guides

From "register your first agent" to "publish a Provider manifest" — practical, runnable cookbooks for the JECP protocol.

Getting started

Quickstart — agent in 5 minutes

Register an agent, get 100 free calls, and invoke your first capability with the TypeScript SDK.

x402 quickstart — pay each invoke from a Base USDC wallet

Four commands from npm install to on-chain settlement. No Stripe top-ups, no human in the loop. Single-block atomic 85/10/5 split via Splitter contract on Base.

Use the JECP CLI

Install @jecpdev/cli and run jecp register, jecp invoke, jecp catalog from your terminal.

Building agents

Pre-authorized budgets with Mandate

Cap an autonomous agent's spend before it runs. Server-side enforcement. Recovery patterns.

Auto-recovery with next_action

Discriminated-union error handling so agents recover without humans in the loop.

Refunds

30-day window, 24h auto-approval, atomic processing. Agent gets back 90%.

Building providers

Becoming a Provider in 5 minutes

Register, DNS-verify, connect Stripe Express, publish your manifest, earn 85%.

Async + integration

Streaming responses

Server-Sent Events on /v1/invoke. Chunk-by-chunk pass-through with billing on completion. 4 pricing models for LLMs, audio, image batches.

Webhooks

Subscribe to invocation.completed / refunds / low-balance events. HMAC-SHA256 signed.