Full example
Task options
The/agent/task endpoint accepts:
- task — plain English instruction for the AI agent
- max_steps — maximum number of actions the agent can take before giving up
Response format
Error handling
Tips
- DuckDuckGo over Google — Google blocks cloud IPs with reCAPTCHA. Use DuckDuckGo for web searches.
- One task at a time — each session runs one agent task at a time. Wait for completion before sending the next.
- Fresh sessions — each session starts as a clean Android install. Apps and state don’t persist between sessions.
