Skip to main content
This guide uses the managed evaluation API, the hosted path served at https://agi.akhara.ai. Pick an environment with env_id (e.g. amazon_gym_android or cvs_gym).

1. Confirm the platform is up

List tasks for the default bank:

2. Expose an agent endpoint

Your agent receives an observation (screenshot, instruction, UI metadata) and returns an action. The platform supports:
  • Raw observation JSON → POST to endpoint.url
  • OpenAI chat → set use_openai_chat: true (POSTs to {url}/v1/chat/completions)
The platform must be able to reach your agent over the public internet (HTTPS recommended). Minimal action shapes (Android real-app mode):
See Actions for the full surface.

3. Start an evaluation

Response:
Provide either task_ids or num_examples (first N tasks from that environment’s bank).

4. Poll status and scores

When status is COMPLETED, each result row includes:

5. Fetch the trajectory

Browse the same run in the UI: https://admin-agi.akhara.ai/runs/{run_id}. For aggregate stats:
Details: Scores and stats.

Direct environment loop

The low-level env API (/v1/env/reset, /v1/env/step) is not exposed on the public internet. Production clients should use the managed evaluation API above. Operators with private network access can drive episodes directly. See Env API.

Next