Welcome to Inspect SWE, a suite of software engineering agents for Inspect AI.
For details on using Inspect SWE, please visit https://meridianlabs-ai.github.io/inspect_swe/.
Installation
Latest development version:
pip install git+https://github.com/meridianlabs-ai/inspect_swe
Development
To work on development of Inspect SWE, clone the repository and install it with uv (0.13.4 or later) and the [dev] optional dependencies:
git clone https://github.com/meridianlabs-ai/inspect_swe
cd inspect_swe
uv sync --locked --extra dev
To build the docs, run uv sync --locked --extra dev --extra doc instead.
Run the commands below from the .venv that uv sync creates: uv run <command>, .venv/bin/<command>, or source .venv/bin/activate.
Run linting, formatting, and tests via
make check
make test
Sandbox-specific tests
Note that most tests depend on a valid sandbox being available (either docker or k8s), this is inferred from your shell environment.
You can check which are collected via pytest --co