> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# agentperf-local: Benchmarking AI Agent Performance on Local Machines
- URL: https://www.stirup.si/agentperf-local-benchmarking-ai-agent-performance-on-local-machines-9c522586/
- Published: 2026-10-16T01:58:52.000Z
- Updated: 2026-10-16T01:58:52.000Z
- Description: The agentperf-local tool measures how quickly a local machine can serve an AI agent, helping users evaluate hardware efficiency for AI workloads.
- Author: Satish Das
- Tags: News, Stirup Research

## Overview and Purpose of agentperf-local

The **agentperf-local** tool is designed to benchmark how quickly a local machine can serve an AI agent. It provides a way for users to measure the performance of their hardware in handling AI workloads. According to the project's documentation, *agentperf-local measures how fast your machine serves an AI agent*. This tool is particularly useful for developers and system administrators who want to evaluate the efficiency of their local setup before deploying AI applications. The **managed-run** feature allows users to download a catalog model, serve it, and then run a benchmark. This process helps in assessing the capabilities of different models on the same hardware, ensuring that users can make informed decisions about model selection and resource allocation.

## System Requirements and Deployment Options

The `agentperf-local` tool requires specific hardware and software configurations depending on the framework used. On Windows, managed runs necessitate an NVIDIA GPU and the `llama.cpp` library, while `vLLM` and `SGLang` are restricted to Linux environments, as noted in the project documentation. To determine which frameworks can serve a specific catalog profile on the current machine, users can run the command `deployment-options --profile-id <id>`. This command provides a list of compatible frameworks for the specified profile, defaulting to `qwen38-27b-q4-k-m` if no profile ID is provided. The tool does not automatically install dependencies, so users must ensure their system meets the requirements for the selected framework.

## Installation and Execution Methods

The `uv` tool provides multiple methods for installing and running the `agentperf-local` benchmarking tool. For a quick start without installation, users can run `uvx agentperf-local`. For more control, cloning the repository from `https://github.com/ArtificialAnalysis/aa-agentperf-local.git` and using `uv sync` followed by `uv run agentperf-local` is recommended. If working with Rust, an additional step is required: `uv sync --extra rust` and then `uv run agentperf-local tui --client rust`. Alternatively, the Rust-specific installation can be done with `uv tool install 'agentperf-local[rust]'`. These methods ensure flexibility depending on the user's setup and requirements.

## Running Benchmarks and Configuration Options

To run benchmarks without the TUI, select a catalog profile and an installed framework using the command: `uv run agentperf-local managed-run --profile-id qwen38-27b-q4-k-m --framework llama-cpp --output-dir results/qwen38-27b`. This command downloads the model, verifies file integrity via SHA-256, starts a local server, executes the benchmark, and stops the server afterward. If system resources are limited, users can opt for `aa-mini-v1`, which requires 8,192 context tokens and can be initiated with `uv run agentperf-local tui --replay aa-mini-v1`, selecting a smaller context size in the Setup screen. Runs with fewer than 65,536 tokens are marked as `reduced: true` and are not comparable to full-context results, according to the source.

## Output and Result Structure

The `agentperf-local` tool generates structured output in a directory, containing multiple files that detail the performance of a local large language model (LLM). The `summary.json` file holds key metrics, including output tokens per second, median, and p95 first-token and turn times. Additional files such as `turns.jsonl`, `tasks.json`, and `failures.json` provide granular insights into individual task executions, tool interactions, and any encountered errors. Users must specify a base URL and model name when running the benchmark, with examples provided for llama.cpp, LM Studio, vLLM, and SGLang. The tool also includes security caveats, noting that recorded commands are untrusted input. Scripts for installation and container building are available, though some are limited to specific platforms like arm64 hosts.

## Sources and reporting notes

- [github.com](https://github.com/ArtificialAnalysis/aa-agentperf-local?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.