Skip to main content
Use the repository’s guided example to evaluate one real task from the SWE-bench Verified benchmark and inspect the result. This page uses a single fixed sample, astropy__astropy-12907, to demonstrate the complete workflow: configuring a model and environment, reviewing the generated command, running a repository-repair task, and inspecting the evaluation results. If this is your first time using AgentCompass, complete this example before configuring a full benchmark evaluation.

Before You Start

Complete Installation, then verify that the AgentCompass CLI is available in the activated Python virtual environment:
Before running the example, prepare:
  • A model endpoint that supports the OpenAI Chat Completions protocol.
  • Docker, or credentials for remote sandboxes like Daytona or Modal. See Execution Environments in the installation guide for supported options and configuration.
  • Network access to download the dataset, task image, and optional dependencies. Later runs reuse the downloaded files.

Run the Example

Run the interactive script from the AgentCompass repository root:
The script guides you through the configuration in this order:
  1. Enter MODEL_BASE_URL, MODEL_API_KEY, and MODEL_NAME; if these environment variables are already set, the script reuses their values.
  2. Select Docker, Daytona, or Modal as the environment, then provide any required remote-provider credentials.
  3. Review the complete command with the model API key redacted, along with the parameter table.
  4. Confirm the configuration to start the evaluation.
The script passes the values you enter only to the child process for this run. It does not write to your shell configuration files.
Docker is the default choice for Linux or WSL 2 systems that can pull and run the SWE-bench task image. Verify the daemon before starting the script:

Understand the Run

The example runs one fixed swebench_verified task with mini_swe_agent and sets task concurrency to 1, making it easier to verify the model and environment configuration. Before starting the task, the script pauses and displays:
  • A copyable command preview with the model API key replaced by asterisks.
  • A parameter table showing the effective value and purpose of each important argument.
The run uses the following configuration: The script starts the task only after you confirm. With Docker selected, the core of the generated command is equivalent to the following CLI command; the script automatically adds the result directory and run ID:
After you confirm the run, AgentCompass performs these steps in order:

Adjust the Run

To inspect the final command and parameters without starting a task, add --dry-run:
To run the evaluation without opening the local result viewer afterward, add --no-visualization:

Inspect the Result

When the evaluation finishes, the script prints whether the task was resolved, the trajectory step and tool-call counts, duration, analyzer findings, and result directory. Each run uses a separate run ID, with the following directory structure:
details/ contains the per-task result, logs/ contains runtime logs, summary.md summarizes the evaluation, and analysis_summary.md summarizes trajectory analysis. If Node.js and npm are installed, the script offers to open the local result viewer after the evaluation. The first launch may install frontend dependencies. Press Enter in the terminal to close the viewer.

Next Steps

Run a complete evaluation

Select a model, benchmark, harness, and environment, then generate a complete command.

Learn the CLI

Learn about commands for run, launch, result summaries, analysis, and configuration.

Choose an environment

Compare when and how to use Docker, Daytona, and Modal.

Inspect result artifacts

Understand result directories, task details, summaries, and reuse rules.