Introduction
Running AI evaluations is hard. As models become increasingly capable, so too must the environments we evaluate them in.
Internally, we’ve been using a platform called Valkyrie, and today, we’re making it public. Valkyrie is the infrastructure we built at Vals AI to run agentic evaluations at scale: we designed it to stay flexible as agentic evaluations grow in number and scope. Vals AI covers evaluations in both depth and breadth, with detailed benchmarks across many domains, so we needed one system that could handle every kind of benchmark we run.
Valkyrie is a hosted platform that manages the datasets, agents, and sandboxes we use to run evaluations. Anyone in our organization can log in and run a benchmark without repeated setup, so teams can share playbooks and scoped credentials.
Users can run any combination of agent, model, and dataset, such as one agent against several models or one model across every benchmark, while Valkyrie handles sandboxing, scoped access, and monitoring.
Since we built it, Valkyrie has run hundreds of thousands of evaluations and allowed us to standardize how we run them, format the results, and export them to our site.
Though Valkyrie is built for scale, it is equally suitable for individual researchers who want a complete evaluation system that works out of the box. In this post we cover the problems we ran into before we built our own evaluation framework, and how Valkyrie solves each one.
Problems with previous infrastructure
Redundant harnesses
When we first started running agentic evaluations, we added SWE-bench Verified, Finance Agent Benchmark, and Terminal-Bench to vals.ai. Each benchmark had its own harness, the code that runs an agent on each task and grades the result. Each harness ran locally and needed constant monitoring. SWE-bench Verified alone kept an EC2 instance busy for up to 12 hours every day, running the benchmark and rerunning tasks that hit infrastructure errors.
On Valkyrie, SWE-bench Verified now runs in less than an hour.
No standardization or shared resources
Separate harnesses also meant nothing was, or could be, shared. Each new benchmark needed more EC2 instances. Each native harness kept its logs and secrets on its own machine, which made it hard to keep an audit trail or back up run artifacts. It was even harder months later when we wanted to find old results to compare against newer models.
Each benchmark also had its own agent implementation, so integrating our model library to support more model providers meant long reviews and alignment tests for every benchmark. Documentation, artifact storage, and the export format for vals.ai differed across every harness too, so each benchmark needed its own expert to run it.
Local-only execution
The harnesses we used ran tasks in Docker containers on the same machine as the harness itself. Containers share one kernel, so isolation was weak—definitely not strong enough for modern agents. The only way to scale was a bigger machine.
With no hosted option, sharing a proprietary harness with customers was hard, too. Our only options were insecure channels like zip files and Slack.
Unclear task states and progress
It was also hard to see task states or how far a model had gotten. A task would often freeze inside its container, a problem we wouldn’t notice for hours, because there was no easy way to see what was running or when it last wrote a log.
Inefficient scheduling
Vals AI has more than 40 benchmarks on its site and keeps adding more, but the harnesses those benchmarks shipped with weren’t built for our volume. We run hundreds of thousands of tasks a month, so we need to schedule sandboxes around provider capacity, with a queue that grows and shrinks the number of running sandboxes.
Solution: Valkyrie
To fix these problems we built our own platform, Valkyrie. It separates what every benchmark shares from what makes each one different, so any component can be swapped out as long as it adheres to a declarative contract. Agents are defined with a YAML contract and datasets (conveniently) use the Harbor TOML task format.
Before every benchmark run, we used to spend hours making sure an agent could reach its model provider and survive network failures, that we could track its spend, logs, and network traffic, and that we could recover the run if it failed. Valkyrie now handles all of that for us. It also lets us run any combination of agent, model, and dataset, and run many benchmarks in parallel with each task isolated in its own sandbox.
Valkyrie is a single managed platform/harness combination that allows us to focus on designing benchmarks, rather than running them. We hope it will allow you to do the same!
Other Benefits of Valkyrie
We also built our own model gateway, which connects to more than a dozen of the largest model providers through a single interface. Agents call the gateway instead of carrying their own client for every provider. This means adding a provider doesn’t require changing a single agent, and it makes internal cost tracking incredibly easy!
Importantly, Valkyrie is a hosted platform: everyone in an organization shares one managed environment, meaning nobody has to worry about provisioning sandboxes with proper safety boundaries. It also means one team member can start a run while another monitors it. Teammates can open each other’s results with just the run ID.
Running benchmarks is expensive, so Valkyrie tracks spend by project. At Vals AI, every project has a spend limit. Once its sandbox and model spend reaches that limit, our gateway cuts off its model access; a runaway run stops instead of showing up as six surprise figures on next month’s bill.
Error handling was one of the biggest pain points in our old harnesses, so we spent a lot of time designing Valkyrie to safely and prudently retry transient errors. Now a transient error during grading resumes grading from where it stopped, without rerunning the entire task.
Architecture
Valkyrie scales horizontally. Instead of one large EC2 server, it spreads both runs and the tasks inside them across many small machines. Tasks run in cloud sandboxes so we can run more benchmarks in parallel with stronger, kernel-level isolation between tasks.
We kept the design simple: each component does one job.
Valkyrie at a glance
As the diagram shows, the API launches a small job for each benchmark run. That job manages the run from start to finish. A run is one agent and model on one dataset. The job starts a sandbox for each task in the dataset, up to the run’s concurrency limit (Valkyrie manages provider rate limits, sandbox rate limits, and task rate limits. No extra setup.).
On the sandbox pools we manage, tasks from every run wait in one queue ordered by priority. A sandbox only starts once the provider has the capacity to run it. That way a large run can’t crowd out urgent work. It also keeps us under the provider’s limits on how fast sandboxes can be created.
This design needs no long-lived worker fleet or middleware. It lets us deploy infrastructure changes at any time, because runs in progress keep their job. The code is open source on GitHub under AGPL-3.0. You can also run Valkyrie on your own machine. For most people, our hosted instance is the easier way to start.
Valkyrie comes with a CLI and a TUI, plus a Python SDK for CI integrations. Bring your own keys, or use our hosted instance for peace of mind. Valkyrie runs datasets in Harbor’s task format, so you can install a dataset straight from the Harbor registry and run it.
Future goals
Running evaluations at scale is hard and requires deep domain knowledge. A CLI exposes a lot of that complexity, so we are building a web platform that streamlines it.
We believe that to keep AI fair and accountable, people must be able to run their own independent evaluations of the models the world depends on. We are committed to building fast and simple infrastructure to empower that—the web platform for Valkyrie will be powered by the same infrastructure we use internally, including our model gateway and team collaboration tools.
We also hope to grow the benchmarking community. Soon you will be able to share datasets and get community benchmarks onto vals.ai, so anyone can contribute and get their work seen.
Conclusion
Valkyrie is available to everyone today through a CLI, TUI, and SDK. Install it with uv tool install valkyrie-cli, sign in with valk login, and follow the quickstart to run your first benchmark. For now, you must bring your own keys. Later, we’ll offer passthrough pricing so you don’t have to. As Valkyrie grows internally, we’ll keep releasing new features to the public.
Running evaluations used to be extremely complicated. With Valkyrie handling the infrastructure, we spend our time building benchmarks and evaluating frontier models. Now you can too.
