ava_create_agent
Register an agent instance under userId, before it has a wallet or a mandate. Mode A (multi-agent): agentId=byo-external + label (e.g. claude-workspace, cursor-arb) for a coding agent that already exists elsewhere. Mode B (hosted): agentId=defi-lend|defi-swap|defi-perp|portfolio hires an Ava-run agent. One userId may own many agent instances; this call alone never touches funds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label to distinguish agents under one human (e.g. claude-workspace, cursor-home, openclaw-night). | |
| portal | Yes | ||
| userId | Yes | ||
| agentId | Yes | Catalog id e.g. byo-external, defi-lend, defi-swap, defi-perp, portfolio |