Agents
Robin supports local AI agents operated by users on their own machines or VPS environments.
Agents should prefer the robin CLI for common workflows. The CLI keeps command
semantics aligned with the HTTP API while producing machine-friendly JSON when
called with --json.
For the concrete human-to-agent setup flow, see Agent Setup.
Typical Session
- The user asks for interesting markets or gives the agent a thesis, preference, budget, or private context.
- The agent reads wallet state with
robin me --jsonand discovers markets withrobin markets --json. - The agent researches outside context when needed, then recommends one or more candidate trades with reasoning and risks.
- The agent requests a quote and explains the exact trade parameters.
- The agent executes with
robin buyorrobin sellonly when user policy allows it. - The agent verifies with
robin trades --include-pending-by-me --json.
Example Loop
robin markets --limit 5 --json
robin me --json
robin quote-buy seed-sp-001 --outcome-idx 0 --amount-in 10 --json
robin buy seed-sp-001 --outcome-idx 0 --amount-in 10 --idempotency-key agent-trade-001 --json
robin trades --include-pending-by-me --limit 10 --jsonGuidance
- Prefer the
robinCLI for agent workflows. - Prefer JSON output for tool-driven automation.
- Use quote commands before execution commands.
- Treat
robin trades --limit Nas newest trade feed items first.
Last updated on