Vals AI Opens Valkyrie to Run Agent Benchmarks 12x Faster
Vals AI open-sources Valkyrie, the distributed harness that cut SWE-bench Verified runs from 12 hours to under one.
Takeaways
- Vals AI open-sourced Valkyrie, a distributed platform for running agentic benchmarks at scale.
- SWE-bench Verified runtime dropped from up to 12 hours on EC2 to under one hour.
- Agents defined in YAML, datasets in Harbor TOML format, any agent/model/dataset combination is swappable.
- Tasks run isolated in Daytona or Modal cloud sandboxes with a shared priority queue.
- Built-in retries, resumable grading, per-project spend caps, and a unified model gateway across providers.
- Ships as CLI, TUI, and Python SDK under AGPL-3.0; hosted web platform is coming next.
Agentic coding benchmarks ask models to navigate repositories, use tools, and produce patches that pass automated tests. Running those evaluations reliably requires orchestration, isolation, logging, secrets management, grading, and cost controls. Vals AI, the team behind the Vals Index leaderboards, has released Valkyrie, its internal evaluation platform, under the AGPL-3.0 license.
SWE-bench Verified illustrates the workload. Its 500 tasks are drawn from real GitHub issues and validated by humans, with agents graded on whether their patches resolve the associated tests.
Vals reports that a full SWE-bench Verified run previously occupied an EC2 instance for up to 12 hours and now completes in less than one hour on Valkyrie. The platform shortens elapsed time by distributing tasks across cloud sandboxes. Total compute cost still depends on the model, concurrency, hardware, and sandbox configuration. Vals says the same infrastructure has processed hundreds of thousands of evaluations and powers the benchmarks published on vals.ai.
One-off harnesses multiply the failure modes
A typical agent benchmark arrives as a standalone repository with its own runner, grader, logs, artifacts, and credential handling. Teams maintaining several benchmarks must normalize those differences before they can compare agents and models consistently. Local logs also complicate audits, backups, and comparisons with runs performed months earlier.
Running the harness and its task containers on one machine creates another constraint. Docker containers share the host kernel, and capacity remains tied to that host. A frozen task can occupy resources for hours when no central service tracks task state, recent log activity, or timeouts.
Runs fan out into isolated sandboxes
Valkyrie moves shared evaluation functions into a common control plane and exposes benchmark-specific behavior through declarative contracts. Agents use YAML definitions, while datasets use Harbor's TOML task format. Existing agents and datasets need adapters for those contracts before they can participate in the shared execution model.
| Component | Definition | Role |
|---|---|---|
| Agent | YAML contract | Provides a common interface for selecting and launching an agent. |
| Dataset | Harbor TOML | Packages benchmark tasks in a registry-compatible format. |
| Run | Agent, model, and dataset | Acts as the unit for scheduling, tracking, and cost accounting. |
| Task | Cloud sandbox | Executes one dataset item in an isolated environment. |
The API creates a short-lived orchestration job for each run. That job manages the following execution flow:
- Tasks enter a shared priority queue within the managed sandbox pools.
- The run starts tasks up to its configured concurrency limit.
- Daytona or Modal provisions a cloud sandbox for each task, providing kernel-level separation between tasks.
- Logs, status, artifacts, grading results, and spend flow back to the central service.
- The orchestration job ends when the run completes.
A shared model gateway connects agents to more than a dozen model providers through one interface. Agents remain unchanged when the gateway adds a provider, and the gateway provides a central point for credentials, usage records, and spending controls. Active runs retain their orchestration jobs during control-plane deployments, so infrastructure updates do not interrupt them.
Retries resume at the point of failure
A sandbox that fails before an agent starts is replaced automatically. A transient grading failure resumes from the saved grading point, avoiding a full task rerun. Valkyrie's release notes also describe automatic retries when an agent reports a hung command, capped at three attempts, along with fixes for Daytona sandbox leaks triggered by rate limits.
Each project has a spending limit covering model and sandbox usage. When combined spending reaches the cap, the gateway blocks further model access. This gives parallel evaluation runs a hard ceiling through the same service that records provider usage.
A short install, plus cloud dependencies
Valkyrie ships with a command-line interface, a terminal UI, and a Python SDK for programmatic and CI-driven runs. With uv installed, the CLI setup is:
uv tool install valkyrie-cli
valk login
Task execution requires model-provider keys and an account with Daytona or Modal. Datasets are installed from the Harbor registry. The GitHub repository supports self-hosting the control plane on AWS, while the roadmap includes a hosted web platform with passthrough pricing.
AGPL-3.0 requires teams that modify Valkyrie and allow users to interact with that modified version over a network to offer those users the corresponding source code. Organizations integrating it into proprietary services should review the license obligations and deployment boundaries before adoption.
When centralized evaluation pays off
Teams comparing multiple agents, models, and benchmarks gain the most from Valkyrie's shared contracts and orchestration. Common use cases include:
- Comparing one agent across several models, or one model across multiple benchmarks, through a consistent runner.
- Sharing a run ID with collaborators while keeping logs, artifacts, and results attached to the run.
- Executing many tasks concurrently with project-level spending limits and isolated sandboxes.
- Preserving historical trajectories, including the agent's sequence of model calls and tool actions, for later comparisons.
- Integrating recurring evaluations into CI through the Python SDK.
A team running one benchmark occasionally may find the additional control plane, cloud sandbox account, and contract adapters unnecessary. Larger evaluation programs receive clearer benefits as the number of model, agent, and benchmark combinations grows.
Evaluation becomes an operations problem
Vals tracks more than 40 agentic benchmarks, each capable of producing long-running tasks, transient failures, large artifacts, and provider charges. At that scale, reliable execution and reproducible records become part of the evaluation itself. Valkyrie's public release packages the infrastructure Vals built for that workload into a shared, self-hostable platform.