2026-11-26 15:39 UTC

HLS benchmark reports agents building verified, faster inference servers

state: seedheat: mediumuncertainty: mediumrelevance: highcoding-agents llm-inference benchmarkingSteven GaoRulin ShaoKeisuke KamahoriJure LeskovecHannaneh Hajishirzi

What is this?

Humanity’s Last System (HLS) is a benchmark and open-source framework from researchers affiliated with the University of Washington and Stanford, including Steven Gao, Rulin Shao, Jure Leskovec and Hannaneh Hajishirzi. It gives coding agents GPU sandboxes and asks them to build specialized inference servers for defined models, hardware and workloads. HLS deploys each final submission in a fresh container, verifies outputs against a reference, and scores speed against a production baseline. The project reports that Opus 5 passed verification and beat the baseline in 71.4% of runs, with speedups up to 25.9× on speech recognition and 4.9× on omni chat; Kimi K3 is reported at 23.8%, and no model succeeded on every attempt. These are project-reported benchmark results; the supplied evidence includes the repository and a Hacker News link to it, but no independent validation of the scores or speedups.

Why it matters

HLS tests whether coding agents can do more than modify application code: they can engineer and verify performance-critical inference infrastructure for a specific workload. If the reported results hold up, specialized agent-built servers could make inference faster or cheaper without waiting for general-purpose serving software to optimize every model and setup. The benchmark is a useful new test of long-horizon coding ability, but its results are limited to its tasks and conditions and should not be read as proof that agents can autonomously improve production systems broadly.

Current assessment

New: the HLS repository describes an executable benchmark for agents building inference stacks from scratch, with verification and timed comparisons against production baselines. The project says tasks provide up to eight H200 GPUs and up to 36 hours; its seven tasks cover defined serving workloads. Its leaderboard reports Opus 5 at 71.4% fast_1 (verified and faster than baseline), Kimi K3 at 23.8%, Opus 4.8 at 19.0%, GLM 5.3 at 14.3%, GPT 5.6 Sol at 9.5%, and GPT 5.5 at 0.0%. The repository gives maximum workload-specific speedups of 25.9× for speech recognition and 4.9× for omni chat. These figures are attributed to HLS, not independently established here; the evidence does not specify sample sizes or establish that the maximum speedups are typical. HLS says a failed correctness check scores zero, and that no model produced a correct server on every attempt. The framework is presented as runnable by users with a supported GPU, model API access and Hugging Face token, though the seven benchmark tasks require H200s. Implication: agentic coding may be able to optimize specialized serving systems, a capability with potential inference-cost and infrastructure consequences. Track independent reproduction, task-level results, resource and inference costs, and whether the reported gains transfer to real deployments.

Measured heat

now 0 pts/hpeak 4 pts/hcomments 0/hpeers p21momentum: steady2 platformsage 45h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-24 19:25 (minted)⭐ origin echo-reconstructedThe HLS repository describes a benchmark that gives coding agents GPU sandboxes to build specialized serving systems, verifies their outputs
Humanity’s Last System authors on github (echo) · attributed from hn.story.50632206 · published time unknown
—
11-24 18:20first on hacker news · published · lag ?Can agents write inference engines from scratch in 12 hours and beat vLLM?
0x02A
—
11-24 18:20amplified on hacker news 👑hn.story.50632206
0x02A
peak 4 · 0 comments · 99% of case engagement
11-24 19:21our radar first saw it · lag ?discovery anchor: hn.story.50632206—
pace: p58 vs 1548 stories at the 24h mark (now 45h old) — ahead of agentfx-agent-animation-tool (1.3x), behind adrs4ai-deliberation-records (0.8x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnCan agents write inference engines from scratch in 12 hours and beat vLLM?
Retrieved article excerpt

Open article · Retrieved 2026-11-24T19:24:33.148205+00:00

# Humanity's Last System

Steven Gao1, Rulin Shao1, Keisuke Kamahori1, Yuetai Li1,
Yufei Gao1, Atindra Jha2, Junjie Oscar Yin1, Shihang Li1,
Radha Poovendran1, Jure Leskovec2, Hannaneh Hajishirzi1,
Pang Wei Koh1, Luke Zettlemoyer1, Stephanie Wang1, Baris Kasikci1

1University of Washington, 2Stanford University

[Blog post](https://hlsbench.com/blog/introducing-hls)
[X post](https://x.com/ste_veng/status/2124939718362341696)
[Trajectories](https://hlsbench.com/traces)
[License](https://github.com/humanityslastsystem/hls/blob/main/LICENSE)

Would you bet that a coding agent could write an inference engine from scratch in 12 hours and
beat vLLM? The best agents already can. Opus 5's servers passed verification and beat the
production baseline in 71% of its runs, with speedups of up to 25.9× on speech recognition and
4.9× on omni chat. The next best model did so in 24% of runs, and no model produced a correct
server on every attempt.

Humanity's Last System (HLS) is the ultra-long-horizon agentic coding benchmark behind those
numbers. Each task gives an agent a live GPU sandbox, with up to 8 H200s and up to 36 hours, and
asks it to build a serving system specialized to one model, one hardware platform and one
production workload. HLS then deploys the agent's final commit in a fresh container, runs the
task's timed workload against it, checks the outputs against a trusted reference, and scores its
speed against a baseline. A server that fails the check scores zero.

[The HLS leaderboard. Opus 5 leads at 71.4% fast\_1, the share of runs that pass verification and beat the production baseline, followed by Kimi K3 at 23.8%, Opus 4.8 at 19.0%, GLM 5.3 at 14.3%, GPT 5.6 Sol at 9.5% and GPT 5.5 at 0.0%.](https://hlsbench.com)

The [introduction](https://hlsbench.com/blog/introducing-hls) describes the tasks, the verifiers
and our results, and [hlsbench.com](https://hlsbench.com) has the leaderboard and over 150 agent
trajectories.

## What you need

- A Slurm cluster with Apptainer, or one Linux host with Docker and NVIDIA GPUs.
- [uv](https://docs.astral.sh/uv/). [bun](https://bun.sh/) too, if you want the result viewer.
- For your first run: one GPU (H200, H100, B200, A100, L40 or L40S), 8 CPUs, 68 GiB of memory and
  225 GiB of free local disk. The seven benchmark tasks need H200s.
- An API key for the model the agent runs on, and a Hugging Face token.

## Install

```
git clone --recurse-submodules https://github.com/humanityslastsystem/hls
cd hls
uv sync
```

## Configure

HLS reads two files: `hls.toml` in the checkout, which says where jobs run and which agent builds,
and a secrets file that holds your keys.

On a Slurm cluster, `hls.toml` looks like this:

```
[site]
partition = "gpu"                            # the Slurm partition with your GPUs
store_root = "/shared/hls/store"             # where HLS keeps images, weights, data and results; on a shared filesystem
node_scratch = "/tmp"                        # a local disk on each node
secrets_path = "~/.config/hls/secrets.toml"

[routes.anthropic]
credential = "anthropic_key"                 # the name of your API key in the secrets file

[arms.claude]                                # the agent that builds: Claude Code on Claude Opus 5
harness = "claude-code"
model = "claude-opus-5"
context_window = 1000000
output_limit = 64000
route = "anthropic"
```

On a Docker host, replace the `[site]` table with this one:

```
[site]
substrate = "docker"
store_root = "/data/hls/store"
node_scratch = "/data/hls/scratch"
secrets_path = "~/.config/hls/secrets.toml"
local.state_dir = "/data/hls/state"          # where the host's job scheduler keeps its records
local.kept_memory_gib = 16                   # memory left for the host itself; jobs get the rest
```

The secrets file names each key once. The `[grants]` table gives the Hugging Face token to the
step that downloads model weights:

```
[secrets]
anthropic_key = "sk-ant-xxxxxxxxxxxxxxxx"
hf_token = "hf_xxxxxxxxxxxxxxxxxxxx"

[grants]
"stage.provision".HF_TOKEN = "hf_token"
```

```
chmod 600 ~/.config/hls/secrets.toml
```

## Run

```
uv run hls run tasks.sample_task.task --arm claude
```

This runs one full round of the benchmark on the sample task, which serves a 0.5B model and gives
the agent at most an hour. HLS downloads the model and data, builds the container images, starts
the agent in its sandbox, then packages, serves, verifies and scores what the agent committed. The
sample task asks for an H200; on other GPUs, name yours after the task, for example
`--task.hardware.accelerator.kind=L40S`.

The command prints the run's name and follows it to the end:

```
instance runs/sample_task/<id>
...
runs/sample_task/<id>: succeeded: every stage published
runs/sample_task/<id>: score <value> (<path of score.json in the store>)
```

If you stop the command, the run keeps going. `uv run hls status runs/sample_task/<id>` shows
where it is, and `uv run hls resume runs/sample_task/<id>` follows it again.
`uv run hls view` serves a web page of every run in the store.

The seven benchmark tasks run the same way; [docs/tasks.md](https://github.com/humanityslastsystem/hls/blob/main/docs/tasks.md) lists them. Before the
first run of multitenant\_slo, tab\_completion, multimodal\_tts or agentic\_coding, assemble the
reference library their agents read, once per checkout:

```
uv run python scripts/assemble_references.py
```

## Documentation

| Page | What it covers |
| --- | --- |
| [docs/running.md](https://github.com/humanityslastsystem/hls/blob/main/docs/running.md) | A run from start to end, arms and routes, budgets, watching and controlling a run, grading an existing submission, the results |
| [docs/commands.md](https://github.com/humanityslastsystem/hls/blob/main/docs/commands.md) | Every `hls` command and its options |
| [docs/setup-slurm.md](https://github.com/humanityslastsystem/hls/blob/main/docs/setup-slurm.md) | Setting up a Slurm cluster |
| [docs/setup-docker.md](https://github.com/humanityslastsystem/hls/blob/main/docs/setup-docker.md) | Setting up a Docker host |
| [docs/configuration.md](https://github.com/humanityslastsystem/hls/blob/main/docs/configuration.md) | Every key of `hls.toml` and the secrets file |
| [docs/tasks.md](https://github.com/humanityslastsystem/hls/blob/main/docs/tasks.md) | The seven tasks: what the agent builds, the model, the hardware, the workload |
| [docs/scoring.md](https://github.com/humanityslastsystem/hls/blob/main/docs/scoring.md) | What a score means and how to read a record |
| [docs/adding-a-task.md](https://github.com/humanityslastsystem/hls/blob/main/docs/adding-a-task.md) | Writing a task |
| [docs/wire-protocol.md](https://github.com/humanityslastsystem/hls/blob/main/docs/wire-protocol.md) | The HTTP contract between the harness and a submission's server |
0x02A40
🟧 echo.github ⭐The HLS repository describes a benchmark that gives coding agents GPU sandboxes to build specialized serving systems, verifies their outputsHumanity’s Last System authors——

Interpretation history

Decision trace