Remote script. The build scripts pull or build third-party images and clone the SWE-bench harness from GitHub, and the recorded shell commands are untrusted input.
Who it is forA researcher or infrastructure engineer who needs agent timings that include real tool execution, not sleep estimates.
The problemBy default the replay skips tool time between turns, so end-to-end agent timing can be understated.
The outcomeA run with live tool timing and a results directory that includes tools.json.
What you need first
- uv installed (it fetches Python 3.12 if needed)
- A model server you already run with an OpenAI-compatible API, or a framework the tool can start (llama.cpp, vLLM, SGLang, or Splash on Apple Silicon)
- For full results, a server or device that can run a 65,536-token context at batch size 1
- Docker only if you want live tool calling
Steps
- Run
scripts/install-swebench-validation.shon arm64 hosts only, once - Run
scripts/build-default-containers.sh - Run
uv run agentperf-local run --base-url http://127.0.0.1:8080/v1 --model served-model --output-dir results/live-tools --tool-mode live(inferred, check the README) - Read tools.json and summary.json in results/live-tools
Prompt for your agent
Using the agentperf-local repo from ArtificialAnalysis, build the default containers, then run `agentperf-local run` with --tool-mode live against <base-url> with model <model-name>, writing to results/<name>. Expect tools.json and summary.json in that directory. Verify that --live-network none was passed unless network access was explicitly needed.
Caveat. Docker is not a security boundary and access to the Docker daemon is equivalent to root on most hosts, so review the security caveats before running.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ArtificialAnalysis/aa-agentperf-local and "Measure real tool time with live Docker tool calls"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer