AA-AgentPerf-Local
artificialanalysis.ai- Category
- Developer Tools
- Rank
- No. 1350Tools index
Previous survey · No. 1330 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Model & Agent Evaluation
- GitHub
- 135 stars
- Latest release
- v0.3.4
- Date
About
AA-AgentPerf-Local is an open-source tool from Artificial Analysis that benchmarks how fast a laptop or workstation serves an AI agent. It replays recorded agent sessions against an OpenAI-compatible model server and reports throughput and latency, with context growing to about 56K tokens. Launch results cover the DGX Spark, Ryzen AI Halo, MacBook Pro M5 Pro and RTX 5090 across four open-weights models.
At a glance
AA-AgentPerf-Local replays recorded agent conversations against a model server to measure how long inference takes as context grows. Use it to compare serving configurations when short prompt benchmarks tell you little about a long coding session.
Good fit
People choosing a local model, inference server or hardware setup who can hold the workload constant between runs.
Consider something else when
Use a task-solving evaluation if you need to know whether an agent fixes bugs or writes correct code.
Start here
Point the tool at an OpenAI-compatible local model server and select aa-mini-v1 for a setup check. Once the server handles the full context, run the default replay on two configurations and compare completion time.
Cost and requirements
Apache 2.0 code and Python 3.12 or newer. Bring a compatible model server and hardware with enough memory for the model and its context. The full benchmark expects a 65,536-token context.
Limits to know
The default replay fixes output lengths and skips actual tool execution. It measures serving speed for the recorded workload. The short synthetic replay is for setup checks.
Sources checked 2026-11-05. Source-based assessment.
Read the source review
What it does
A command-line benchmark that answers one question: how quickly does this machine serve a coding agent? It plays back real recorded agent sessions, turn by turn, against a local model server, resending the whole conversation each time the way a live agent would, and times every response. You can point it at a server you already run, or let it download a checksummed model, start the server itself, measure, and shut it down. It times speed only and never judges whether the answers are any good.
Why it's ranked here
Most local inference numbers come from short single prompts, which hide what happens when an agent's context swells past fifty thousand tokens. This tool replays 168 recorded agent turns at a full 65,536 token window, forces every turn to generate its recorded length, and refuses or flags runs that cannot meet those conditions. That makes results from two different machines comparable in a way ad hoc tests are not. It comes from Artificial Analysis, ships under Apache 2.0, and documents its own limits plainly, including that every shared result is self-reported.
What's good
The measurement rules are strict and written down. Each run executes once, in order, one request at a time, and the client does no parsing while a response is streaming, so the timer is not measuring the benchmark itself. Python and an optional Rust client are pinned to identical metrics by tests. Managed runs pin exact model files by checksum and exact server releases, after a server once passed every readiness check while producing nonsense. Hardware reports omit hostnames and serial numbers, and nothing is uploaded unless you explicitly submit.
Tradeoffs
A comparable run needs a 65,536 token context, so smaller laptops are limited to a six-turn smoke test whose results do not compare. Ollama cannot honor the fixed-length output setting, so its runs fall back to an estimated latency that does not line up with exact runs. The tool installs no serving frameworks, and vLLM and SGLang run only on Linux. Live tool replay executes recorded shell commands in Docker, which the project itself says is not a security boundary. Submitted results cannot be verified, because anyone can modify the open client.
How to use it well
Use it when choosing hardware, a quantization, or a serving engine for a local coding agent, and compare runs of the same recipe on the same context size. Start with the quick install check, then run the default replay through the guided terminal interface or the managed command. Keep tool replay off unless you need real tool timing, and isolate the Docker host if you turn it on. It measures throughput and latency only, so pair it with a separate quality evaluation before picking a model.
Technical notes+
pyproject.toml declares Python 3.12+, Apache-2.0, a single console script mapped to agentperf_local.cli:main, Textual for the TUI, and an optional rust extra pinned to a matching agentperf-local-rustcore release; recipes are force-included into the wheel. docs/ARCHITECTURE.md lays out a layered package (common, workload, client, metrics, replay, deployment, submission, tui, cli) and the invariants: transport policy direct-sse-no-retry-v1 (HTTP/1.1, no proxy, no redirect, no retry), concurrency one, decode only after the stream closes, and an F0 shape check per response. The default replay is eight tasks, 168 turns, 172 tool actions. docs/FORMATS.md defines five private artifacts with the summary written last as a completion marker. docs/SUBMITTING.md lists the upload body and its refusal rules. recipes/README.md documents the GGUF, weights and Splash recipe shapes with SHA-256 pins. AGENTS.md bans type casts and per-chunk work in the stream loop.
Observed
- License
- Apache-2.0 (code only; Artificial Analysis name and logo excluded)
- Language
- Python 3.12+, with an optional Rust timing client
- Install
- uv tool install, uvx, pipx, or a source checkout with uv sync
- Interfaces
- CLI subcommands plus a Textual terminal UI
- Platforms
- macOS, Linux, Windows; vLLM and SGLang recipes Linux only
- Target servers
- Any OpenAI-compatible endpoint; managed recipes for llama.cpp, vLLM, SGLang, Splash
- Full-run context
- 65,536 tokens at batch size 1
- Tests
- pytest suite plus Python and Rust client equivalence tests
- Result sharing
- Opt-in upload only; submissions are self-reported
Read from README.md, pyproject.toml, LICENSE, docs/ARCHITECTURE.md, docs/SUBMITTING.md, docs/FORMATS.md, recipes/README.md, AGENTS.md.
Similar tools
Tags
Tech Stack
Media

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.