{"data":{"kind":"file","path":"README.md","version_id":"tc38zfn96zaht0brmv8oa514","entry":{"name":"README.md","path":"README.md","is_directory":false,"size":5902,"modified_at":"2026-11-18T21:24:19.822000","content_hash":"482e7abb8026eca3ffc611b2f3558e10f361c90e9f582bd10040678f34ce6632"},"entries":[],"content":"# arc-agi-3\n\nA single-agent, one-game-per-task Verifiers v1 environment for the 25 bundled public ARC-AGI-3 games. Package version: **0.4.0**. The package is based on the local `arc-ttc-eval` offline corpus/broker and the public [`arc-agi-3-prime-agent`](https://github.com/PrimeIntellect-ai/arc-agi-3-prime-agent) client/broker protocol. This is not team@3: each task has one game and one agent session.\n\n## Method\n\nThe wheel carries a manifest of 25 ARC-AGI-3 game IDs with pinned version hashes, not game source. During trusted task setup, `fetch_game.py` uses `arc-agi==0.9.9` to download only the selected game from ARC Prize's official Arcade API: `https://three.arcprize.org/api/games/{game_id}-{version}/source`; metadata comes from `https://three.arcprize.org/api/games/{game_id}`. The downloader uses the API client's anonymous-key flow; a local probe fetched a pinned game without a user-managed `ARC_API_KEY`. The downloaded source is loaded by the broker, then the temporary source directory and bootstrap are removed before the agent starts. The agent can interact only through `/workspace/game/client.py` and a local Unix socket. During the agent phase, `TaskData.network` is explicitly `NetworkPolicyConfig(allow=[])`; Verifiers applies this policy after trusted setup. Thus setup needs access to `three.arcprize.org`, but the agent has no external egress. A missing/retired pinned version fails setup rather than silently switching game content.\n\nThe downloaded game Python files include the full MIT license text and ARC Prize Foundation (2026) copyright notice; the downloader does not modify them. The API metadata JSON has no license field and is not bundled in the wheel; its observed fields are `game_id: str`, `title: str`, `default_fps: int`, `tags: list[str]`, `baseline_actions: list[int]`, `local_dir: str`, and `date_downloaded: ISO-8601 str`. Titles are uppercase game IDs; tags are input-mode labels; the remaining values are IDs, frame-rate/configuration values, human-action counts, a relative path, and a download timestamp. The JSON contains no images, gameplay descriptions, or other third-party content. The ARC Prize Agent GitHub repository's MIT license covers that repository's own source, not this downloaded corpus; the game files carry their own notices. This package makes no blanket license claim for the metadata or for the package as a whole.\n\nEach game starts a fresh offline Arcade instance. The broker enforces a **global 2500 counted-action limit per game**, including explicit `RESET` and game-over automatic reset. Action batches are capped at 20. Exhaustion is terminal and scores zero unless the game has already reached WIN. A task-level stop function ends the episode as soon as the agent observes a terminal game state, so a finished game does not idle to the wall clock. The task score is the official ARC-AGI-3 RHAE environment score expressed as a 0..1 fraction (binary solve is kept as a separate metric): per completed level `min((human_baseline_actions / actions_taken) ** 2 * 100, 115)`, weighted by level index across every level and capped by the completed-level weight fraction, matching the `arc_agi` scorecard calculator, divided by 100; games without published baselines score 0. A task-level stop function ends the episode as soon as the agent observes a terminal game state, so a finished game does not idle to the wall clock. The broker has no separate 100/120-minute cutoff. The task has a finite four-hour timeout to bound runs while allowing more than the old two-hour deadline; timeouts score zero and are not treated as solved.\n\nFull ACP/Prime Agent event history remains in the normal Verifiers trace; this environment does not truncate or replace it. The final trace stores the broker result summary and an embedded game replay under `trace.info[\"arc3_replay\"]`: the replay keeps every counted action with its result state; game frames are decimated in-sandbox to at most 200 with a doubling stride, because a fast model can write a recording that exceeds runtime read limits. The Arcade game also writes the full JSONL recording with every action and frame under `/workspace/recordings`; the task collects that directory as the optional `arc3-recordings` artifact. Prime Traces has no artifact-file viewer, so the embedded `recording` in the trace info is the in-platform replay view; the artifact preserves full-fidelity bytes on the runner side.\n\n## Long-run configuration\n\nThe task sets a four-hour wall timeout. Verifiers v1 `AgentConfig.max_turns` defaults to `None` (no turn cap); keep it `None` in the evaluation configuration. Prime Agent autonomous mode itself defaults to only 12 turns, 3 continuations, 80,000 tokens, and 30 minutes, so merely enabling `autonomous` is not enough for this task.\n\nThis package includes `Arc3PrimeAgentHarness` in `arc_agi_3_acp_harness`. Select it as the Verifiers harness (id `arc-agi-3-acp-harness`) instead of the stock `prime_agent` harness. It enables autonomous mode and explicitly sets max turns and continuations to 4,294,967,295, max tokens to 9,007,199,254,740,991, and Prime Agent's autonomous timeout to 23 hours, effectively above any task timeout so the task's own wall limit (agent_timeout_sec) is the enforced bound. The action cap remains the primary game limit. The harness only adapts stock Prime Agent ACP command-line flags; it does not change Prime Agent.\n\nIf a hosted runner pins its own harness or sets a shorter `AgentConfig.timeout.rollout`, this package cannot override those run-level settings. Verify the selected harness, `max_turns=None`, and a run-level timeout of at least four hours before running. No hosted evaluation is launched here.\n\n## Local checks\n\nInstall the dev requirements and run `pytest`. No evaluation is launched by these checks. Each taskset stream has one independent task per configured game (all bundled games by default).\n","encoding":"utf-8","truncated":false,"total_bytes":5902},"status":null}