How to run your own CRUX-style experiments
Run CRUX-style open-world tasks with AI agents using our open-source software and methodology
Our team has spent months building and testing AI agents against real-world tasks, like building and releasing a mobile app and conducting open-ended research. We call these evaluations CRUXes and have simultaneously been building and refining the architecture to support these types of evaluations.
Specifically, we have worked over the past months to test and stabilize a system for running CRUX experiments. That system is open source and publicly available for anyone to run their own CRUX-style experiments.
How does the CRUX architecture work?
The CRUX architecture supports researchers that want to run CRUX-style experiments themselves. It includes all of the pieces needed to configure, run, and analyze a long-running AI agent working on a real-world task.
Specifically, the architecture supports a couple of key features:
- It deploys an orchestrator on AWS to manage and communicate with CRUX runs using Agent Client Protocol (ACP)
- It supports remote servers on which CRUX agents can run, including Claude Code and Codex
- It authenticates all of the services that we want the agent to have access to
- It deploys a pre-built harness to the remote server to be used in the experiment
We have found that some “pre-work” is necessary for any CRUX-type experiment. For example, we sometimes provision a new GitHub account for our CRUX runs, which gives the agent control over a remote repository that our research team can access in real-time as the experiment unfolds. We also sometimes provision access to an email inbox to receive email and access to cloud compute tools for running experiments online.
How hard is it to run my first CRUX experiment?
We estimate that a technical developer with:
- Experience using AWS
- Familiarity with ssh and Terraform
- Access to a coding agent like Codex or Claude Code and
- A clear experiment ready to test
Should be able to get up and running within an hour or two.
Why do I need this system? Can I just run experiments with an Anthropic or OpenAI native app?
While these systems are similar to the one we work with, there are some key differences when it comes to logging, reproducibility, security, and monitoring that are important factors for building a science of evaluations that are different from running one-off tests with native apps on a laptop. For example, we implement OpenTelemetry logging, reproducible dependencies and cloud environments, and tooling for monitoring run progress on remote machines that aren’t a part of native Claude Code or Codex applications.
We would encourage people who are interested in the science of evaluation to consider using the CRUX system or pulling from some of its principles to better support more scientific evaluations.
Getting started with your own CRUX-style experiment
Start by downloading the code from GitHub and following the instructions in the README.
While the code will develop over time, here are some general principles we recommend as you put together a CRUX experiment:
- Start with the credentials and hard requirements. Identify all of the services and access that you need for your experiment and ensure that you have ways for an agent to access them. One effective method we use is to set up a testing CRUX box and to ask the agent to manually verify each of the services it should have access to, to verify that your configuration is working.
- Update the scaffold to meet your needs. Different projects require different resources and configurations. We’re confident that the prepare/inject/run pipeline will adapt to a wide range of applications, but will require some development work and trial and error to be successful.
- Use coding agents to help with adaptations. Coding agents — like Claude Code or Codex — can make it easier to use this code to run your own CRUX-style experiments. These tools can help make the adaptations required for your use case.