Who it is forA user with limited memory who wants to confirm the install works before attempting a full benchmark.
The problemThe default replay needs about 58,000 tokens of context, which many machines cannot fit.
The outcomeA short reduced-context run that verifies the setup. Its results are marked as not comparable.
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
- Install the tool with
uv tool install agentperf-local - Run
agentperf-local managed-run --profile-id gemma4-12b-it-q4-0 --framework llama-cpp --replay aa-mini-v1 --context-tokens 8192 --output-dir results/gemma4-12b-mini(inferred, check the README) - Confirm the run finished and that summary.json exists in results/gemma4-12b-mini
Prompt for your agent
Using the agentperf-local repo from ArtificialAnalysis, run the aa-mini-v1 replay with --context-tokens 8192 through managed-run on profile gemma4-12b-it-q4-0 and framework llama-cpp. Expect summary.json in results/<name>. Verify the output is marked reduced and state that it is not comparable with full-context results.
Caveat. The aa-mini-v1 replay is an install check only, and its results are not comparable with the default replay.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ArtificialAnalysis/aa-agentperf-local and "Check a setup quickly with the mini replay"
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