Evaluating agents on the Hub: a benchmark run with no machine of your own
by Hugging Face (Niels Rogge)
A full, priced recipe for running a gated agent benchmark on Hugging Face Jobs sandboxes with no local machine.
Overview
Niels Rogge published this post on the Hugging Face blog on November 28, 2026, as the second half of a pair that begins with 'How to build and maintain an agentic evaluation'. It documents an end-to-end run of PLE, a gated benchmark hosted at google/physical-engineerings-last-exam whose 29-task dev set ships in Harbor format, using only Hugging Face services. Harbor 0.20 runs each task inside an HF Jobs sandbox created through the huggingface_hub Sandbox API. Model calls go through Inference Providers and are billed to your organization, and per-trial traces are written to a private dataset so the gated tasks stay private. Most of the post covers three adapters the author had to write. The first is a Harbor environment for HF Jobs sandboxes, with per-phase network rules enforced by Landlock and a CONNECT proxy. The second builds task images that a Docker Space could not build because it ran out of memory: kaniko runs in a 32 vCPU, 256 GB cpu-performance Job and pushes to a private cr.hf.co registry. The third is a roughly 350-line standard-library relay that lets Codex 0.162.1 reach the model from inside the sandbox. The post then reports results for six open models under the Terminus-2 and Codex harnesses with Claude Opus 5.5 as the judge, breaks down cost per run, and lists limitations. It ends with an eight-row table of what broke and how each problem was fixed, plus a generic recipe for running your own benchmark this way. The companion GitHub repo, NielsRogge/harbor-hf-jobs, holds the launch script and the required token scopes. The huggingface_hub docs mark the Sandbox API as experimental, and the later OpenEvals/ple-harbor-results dataset reports scores that differ from the post's, so read the post's numbers as a snapshot.
At a Glance
- Topic
- Agentic
- Level
- Advanced
- Format
- Tutorial
- Cost
- Free
- Duration
- ~25 min read; reproducing a full run costs roughly $7 to $220 in model spend per the post
- Provider
- Hugging Face (Niels Rogge)
- Hands-on
- Yes — code/exercises
- Certificate
- None
What You’ll Learn
- ✓Run a Harbor-format agent benchmark entirely on Hugging Face Jobs sandboxes without local compute
- ✓Route model calls through Inference Providers and bill them to a Hugging Face organization
- ✓Enforce per-phase network rules inside a sandbox using Landlock and a CONNECT proxy
- ✓Build heavy multi-stage task images with kaniko on a cpu-performance Job and push them to cr.hf.co
- ✓Write a small relay so a coding-agent harness like Codex can reach models from inside a sandbox
- ✓Store per-trial agent traces in a private dataset and rerun only the graders that failed
- ✓Estimate the full cost of a benchmark run across model spend, sandbox hours and LLM-judge tokens
- ✓Diagnose failures such as Space build out-of-memory errors and 413 Payload Too Large responses on long sessions
Highlights
- •A real, priced run: six open models (Hy4, Hy4-flash, GLM-5.3, GLM-5.3-Flash, Inkling-2-Small, Inkling-2-Mini) on 29 PLE dev tasks at 3 attempts each, with per-model cost
- •An eight-row table of what broke and what changed, which documents failure modes you are likely to hit
- •A frank limitations section: Landlock filters ports but not addresses, UDP is not blocked, and Codex sessions over the router's 30 MB request limit ended early
- •Companion code in the public NielsRogge/harbor-hf-jobs repo, including scripts/launch_job.sh and the token scopes it needs
- •A closing recipe for running any Harbor-format benchmark the same way
Who It’s For
Best For
- ✓ML engineers running agent or coding-agent benchmarks without a dedicated eval cluster
- ✓Teams evaluating open-weight models on gated benchmarks whose traces must stay private
- ✓Eval and infrastructure engineers designing sandboxed, network-restricted agent environments
Prerequisites
- •Working knowledge of agent harnesses and benchmark task formats such as Harbor
- •A Hugging Face organization to bill for Jobs and Inference Providers, plus approved access to the gated PLE dataset
- •Comfort with Docker images, Linux sandboxing and shell scripts (the companion README says Landlock needs kernel 6.7 or later)
- •An Anthropic API key if you reproduce the LLM-judge step
FAQ
What is Evaluating agents on the Hub: a benchmark run with no machine of your own?
A Hugging Face engineering tutorial by Niels Rogge that runs a complete agent benchmark, the gated PLE task set, on Hugging Face infrastructure alone. Harbor runs each task in an HF Jobs sandbox, models come through Inference Providers and traces go to a private dataset. It is for engineers who need to evaluate coding or terminal agents reproducibly and want a recipe they can reuse.
Is Evaluating agents on the Hub: a benchmark run with no machine of your own free?
Evaluating agents on the Hub: a benchmark run with no machine of your own is free to access.
What level is Evaluating agents on the Hub: a benchmark run with no machine of your own for?
Evaluating agents on the Hub: a benchmark run with no machine of your own is aimed at a advanced audience. Recommended background: Working knowledge of agent harnesses and benchmark task formats such as Harbor, A Hugging Face organization to bill for Jobs and Inference Providers, plus approved access to the gated PLE dataset, Comfort with Docker images, Linux sandboxing and shell scripts (the companion README says Landlock needs kernel 6.7 or later), An Anthropic API key if you reproduce the LLM-judge step.
How long does Evaluating agents on the Hub: a benchmark run with no machine of your own take?
Expect roughly ~25 min read; reproducing a full run costs roughly $7 to $220 in model spend per the post. Most learners work through it at their own pace.
What will I learn from Evaluating agents on the Hub: a benchmark run with no machine of your own?
You'll learn: Run a Harbor-format agent benchmark entirely on Hugging Face Jobs sandboxes without local compute; Route model calls through Inference Providers and bill them to a Hugging Face organization; Enforce per-phase network rules inside a sandbox using Landlock and a CONNECT proxy; Build heavy multi-stage task images with kaniko on a cpu-performance Job and push them to cr.hf.co; Write a small relay so a coding-agent harness like Codex can reach models from inside a sandbox; Store per-trial agent traces in a private dataset and rerun only the graders that failed; Estimate the full cost of a benchmark run across model spend, sandbox hours and LLM-judge tokens; Diagnose failures such as Space build out-of-memory errors and 413 Payload Too Large responses on long sessions.
Topics
Sources
This page was written from 4 sources, 1 on domains other than huggingface.co.