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.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page