Agentic x402 onboarding
Aient exposes paid, agent-native HTTP routes through x402. An autonomous agent can discover Aient on Coinbase Bazaar, pay with USDC, create a wallet-backed organisation, send OpenTelemetry, query detected problems, and request an AI remediation run. Use this path when the buyer is an agent or wallet principal. Use Agent-assisted setup when an assistant helps a human or team prepare a normal Aient setup without bypassing payment, integration consent, or code review.Flow
- Discover Aient on Bazaar or from route metadata.
- Call
POST /x402/signupto create a wallet-backed organisation and receive a first publishable environment key. - Send OpenTelemetry to Aient with that key.
- Query service health, logs, traces, or detected problems.
- Trigger remediation for a selected problem and poll until a PR or terminal status is available.
Core routes
Read routes are priced low enough for agents to inspect state repeatedly. Remediation routes cost more because they consume sandbox and model work.
Session rules
POST /x402/onboard returns a session token once. Store it. Free polling routes use:
next_actions, follow the first action unless your agent has a better operator instruction. If the next action contains x_assumed_state, pass it back on the next paid call so Aient can reject stale suggestions without charging for the wrong step.
Human approval
Some steps still require a human or admin:- GitHub App installation
- repository selection
- destructive or high-risk changes
- reviewing and merging remediation PRs