Verification

Brody AI does not just do work — it checks its work. Every agent run goes through a verify/fix loop before changes are considered done.

How verification works

Compile gate

After writing or editing scripts, the agent reads the compiler output (get_compile_errors) and only proceeds when the project compiles. Failures feed the auto_fix loop.

Scene hash & rollback

Multi-step runs capture a scene snapshot first (capture_scene_snapshot). If a step fails, the scene is restored (restore_scene_snapshot) instead of leaving a half-built state.

Gameplay verify

verify_gameplay_loop enters play mode and exercises the core loop with simulated input (simulate_input), reporting PASS/FAIL with evidence per task.

Assertions

Programmatic pass/fail assertions on task outcomes are in flight — turning "looks done" into "checked done" for more tool categories.

The verify/fix loop

  1. Verifier sub-agent inspects each completed task read-only — confirming files exist, scenes match the plan, and the project compiles. It reports PASS or FAIL per task with evidence (file path, sizes, GameObject names).
  2. ErrorHandler sub-agent takes the FAIL list and fixes it — reading logs, analyzing scripts, applying auto_fix, and healing the scene graph.
  3. The loop repeats until every task passes. Orchestration reports All verified only when verification passed for every task; otherwise it returns the unverified list.

What "verified" honestly means

"Verified" means the agent confirmed, with evidence:

  • The project compiles after the change (compile gate passed).
  • The scene state matches what was planned — and if a step failed midway, the scene was rolled back rather than left broken.
  • The core gameplay loop runs and behaves as expected under simulated input.

Verification is evidence-based, not taste-based: it does not judge art direction, fun, or design quality — only that what was asked for is present, compiles, and runs.

Failures never cost you

A call that fails at the system level — outage, timeout, cancellation — is refunded in full automatically. See the pricing page for the refund policy details.