crash lab

Crash tests for robots: AI builds test worlds, and bounties pay engineers to fix what fails.

crash lab

Created At

ETHGlobal Mumbai

Project Description

CrashLab is crash testing for robots. Pick a robot and describe its job in chat, and an AI agent builds a test world for it, such as a glass tower for a window cleaning robot or an industrial plant for an ANYmal inspection robot. Change the world in plain words, like "add snow" or "add an antenna on the roof".

The agent then lists the test scenarios: wind, wet glass, low suction, obstacles and more. One click runs them all in simulation on a live grid. A red square is a failure. Click it to replay the run, see why it failed, and open the robot's code. Fix the code yourself or ask AI to fix it, then run the same worlds again.

When the AI cannot fix a failure, the company posts it as a bounty and locks the pay in a smart contract on Arc. Engineers submit fixes. A fix must pass the failing worlds and hidden worlds the engineer never sees. Then the CrashLab agent pays the engineer on chain.

How it's Made

The app is a Vite and TypeScript website with Three.js for the 3D view, MuJoCo compiled to WebAssembly in the browser, and CodeMirror for the code tab. Python servers behind it handle chat sessions, simulation runs, accounts and the bounty board. Each simulated run is its own child process. The window cleaning robot runs in MuJoCo, and the ANYmal inspection robot runs in Newton through a separate robot pack, so new robots plug into the same flow.

The AI agent never writes code into the world. It can only call typed engine functions, like adding a part or changing the wind, and code validates every call. Text-to-3D objects come from Qwen-Image and Hunyuan3D on a RunPod GPU. Claude writes the AI code fixes and is one option in the chat's AI picker.

The bounty is a Solidity contract, FailureBounty, built and tested with Foundry and deployed on Arc testnet, paid in USDC. The company deposits from a browser wallet through viem. The full check runs a fix in a sandbox on public and hidden worlds. The agent holds its own keys, proposes on chain, waits out the dispute window, then pays. Code decides from the result, not an AI.

Partner tech: World ID (IDKit) signs engineers in, so bounties go to verified accounts instead of throwaway ones. 0G Private Computer can run the agent that builds worlds, on GLM-5.3 in private mode, and we call 0G's SDK ourselves to check the provider's signature on each reply. Hedera settles a pay-per-crash-test API through x402: a server answers 402 with a price, and an agent pays by itself within a spending budget.

Hosting: the website is on Vercel, which forwards API calls to Python servers on Railway. Simulation stays on your Mac, because it needs real compute.

Hacky parts: The blueprint animation is view-only. Each object draws as blue lines, then fills in from the bottom with a clipping plane, and it never touches the physics. Scenario lists are stored AI replies replayed on the current world, so a list appears in about a second but still fits the world you changed.

background image mobile

Join the mailing list

Get the latest news and updates

crash lab | ETHGlobal