ToolLoopAgent and optionally an accepts for payment gating.
Exports
| Export | Type | Required | Description |
|---|---|---|---|
default | ToolLoopAgent | Yes | The agent instance |
accepts | Accepts | No | Payment config — gates the A2A /agent route |
accepts is exported, the /agent endpoint requires x402 payment. Without it, the agent is not registered on the A2A endpoint.