inspect-ai 0.3.251


pip install inspect-ai

  Latest version

Released: Jul 29, 2026


Meta
Author: UK AI Security Institute
Requires Python: >=3.10

Classifiers

Development Status
  • 4 - Beta

Environment
  • Console

Intended Audience
  • Science/Research
  • Developers

License
  • OSI Approved :: MIT License

Natural Language
  • English

Programming Language
  • Python :: 3

Topic
  • Scientific/Engineering :: Artificial Intelligence

Typing
  • Typed

Operating System
  • OS Independent

Welcome to Inspect, a framework for large language model evaluations created by the UK AI Security Institute.

Inspect provides many built-in components, including facilities for prompt engineering, tool usage, multi-turn dialog, and model graded evaluations. Extensions to Inspect (e.g. to support new elicitation and scoring techniques) can be provided by other Python packages.

To get started with Inspect, please see the documentation at https://inspect.aisi.org.uk/.

Inspect also includes a collection of over 200 pre-built evaluations ready to run on any model (learn more at https://inspect.aisi.org.uk/evals/).

Coding agents: a structured index of the docs is published at https://inspect.aisi.org.uk/llms.txt. The user guide is concatenated as Markdown at https://inspect.aisi.org.uk/llms-guide.txt, and https://inspect.aisi.org.uk/llms-full.txt additionally bundles the API and CLI reference. Individual pages are available as Markdown by appending .md to the .html path (e.g. /extensions/index.html.md).


To work on development of Inspect, clone the repository and install with the -e flag and [dev] optional dependencies:

git clone https://github.com/UKGovernmentBEIS/inspect_ai.git
cd inspect_ai
pip install -e ".[dev]"

Alternatively, if you use uv, sync the development environment from the checked-in lockfile:

uv sync --extra dev

The uv workflow is supported but not required. The uv.lock file records a reproducible development resolution; project dependencies are still declared in requirements*.txt and exposed through pyproject.toml. When changing dependencies, update the appropriate requirements file and refresh the lockfile rather than relying on uv add.

Optionally install pre-commit hooks via

make hooks

Run linting, formatting, and tests via

make check
make test

When working in a uv-managed environment, prefix those commands with uv run (for example, uv run make check).

If you use VS Code, you should be sure to have installed the recommended extensions (Python, Ruff, and MyPy). Note that you'll be prompted to install these when you open the project in VS Code.

Frontend development (TypeScript)

The web UI lives in a git submodule at src/inspect_ai/_view/ts-mono/. These steps are only needed if you plan to work on the TypeScript/React frontend — Python-only contributors can skip this entirely.

Initialize the submodule and install dependencies — see the one-time setup guide.

Documentation

To work on the Inspect documentation, install the optional [doc] dependencies with the -e flag and build the docs:

pip install -e ".[doc]"
cd docs
quarto render # or 'quarto preview'

If you intend to work on the docs iteratively, you'll want to install the Quarto extension in VS Code.

0.3.251 Jul 29, 2026
0.3.250 Jul 28, 2026
0.3.249 Jul 21, 2026
0.3.248 Jul 18, 2026
0.3.247 Jul 16, 2026
0.3.246 Jul 10, 2026
0.3.245 Jul 08, 2026
0.3.244 Jul 01, 2026
0.3.243 Jun 30, 2026
0.3.242 Jun 29, 2026
0.3.241 Jun 22, 2026
0.3.240 Jun 15, 2026
0.3.239 Jun 09, 2026
0.3.238 Jun 08, 2026
0.3.237 Jun 07, 2026
0.3.236 Jun 06, 2026
0.3.235 Jun 03, 2026
0.3.234 Jun 02, 2026
0.3.233 Jun 01, 2026
0.3.232 May 31, 2026
0.3.231 May 30, 2026
0.3.230 May 30, 2026
0.3.229 May 28, 2026
0.3.228 May 27, 2026
0.3.227 May 27, 2026
0.3.226 May 25, 2026
0.3.225 May 23, 2026
0.3.224 May 20, 2026
0.3.223 May 18, 2026
0.3.222 May 16, 2026
0.3.221 May 16, 2026
0.3.220 May 08, 2026
0.3.219 May 06, 2026
0.3.218 May 06, 2026
0.3.217 May 03, 2026
0.3.216 May 01, 2026
0.3.215 Apr 30, 2026
0.3.214 Apr 29, 2026
0.3.213 Apr 27, 2026
0.3.212 Apr 25, 2026
0.3.211 Apr 23, 2026
0.3.210 Apr 22, 2026
0.3.209 Apr 20, 2026
0.3.208 Apr 19, 2026
0.3.207 Apr 16, 2026
0.3.206 Apr 15, 2026
0.3.205 Apr 04, 2026
0.3.204 Apr 02, 2026
0.3.203 Apr 01, 2026
0.3.202 Mar 31, 2026
0.3.201 Mar 25, 2026
0.3.200 Mar 20, 2026
0.3.199 Mar 17, 2026
0.3.195 Mar 15, 2026
0.3.193 Mar 13, 2026
0.3.189 Mar 07, 2026
0.3.188 Mar 05, 2026
0.3.186 Mar 03, 2026
0.3.185 Mar 01, 2026
0.3.183 Feb 24, 2026
0.3.180 Feb 20, 2026
0.3.179 Feb 12, 2026
0.3.172 Feb 07, 2026
0.3.170 Feb 03, 2026
0.3.169 Feb 01, 2026
0.3.167 Jan 29, 2026
0.3.165 Jan 26, 2026
0.3.164 Jan 24, 2026
0.3.163 Jan 21, 2026
0.3.162 Jan 18, 2026
0.3.161 Jan 14, 2026
0.3.160 Jan 09, 2026
0.3.159 Jan 03, 2026
0.3.158 Dec 24, 2025
0.3.157 Dec 22, 2025
0.3.156 Dec 20, 2025
0.3.155 Dec 16, 2025
0.3.154 Dec 14, 2025
0.3.153 Dec 06, 2025
0.3.152 Dec 05, 2025
0.3.151 Dec 01, 2025
0.3.150 Nov 25, 2025
0.3.149 Nov 23, 2025
0.3.148 Nov 21, 2025
0.3.146 Nov 15, 2025
0.3.145 Nov 09, 2025
0.3.144 Nov 05, 2025
0.3.143 Oct 30, 2025
0.3.142 Oct 27, 2025
0.3.140 Oct 20, 2025
0.3.139 Oct 18, 2025
0.3.138 Oct 16, 2025
0.3.137 Oct 07, 2025
0.3.136 Oct 03, 2025
0.3.135 Sep 30, 2025
0.3.134 Sep 27, 2025
0.3.133 Sep 22, 2025
0.3.132 Sep 12, 2025
0.3.131 Sep 09, 2025
0.3.130 Sep 07, 2025
0.3.129 Sep 03, 2025
0.3.128 Sep 02, 2025
0.3.127 Sep 01, 2025
0.3.126 Sep 01, 2025
0.3.125 Aug 25, 2025
0.3.124 Aug 24, 2025
0.3.123 Aug 16, 2025
0.3.122 Aug 11, 2025
0.3.121 Aug 10, 2025
0.3.120 Aug 07, 2025
0.3.119 Aug 04, 2025
0.3.118 Aug 02, 2025
0.3.117 Jul 31, 2025
0.3.116 Jul 27, 2025
0.3.115 Jul 26, 2025
0.3.114 Jul 17, 2025
0.3.113 Jul 16, 2025
0.3.112 Jul 03, 2025
0.3.111 Jun 29, 2025
0.3.110 Jun 28, 2025
0.3.109 Jun 27, 2025
0.3.108 Jun 25, 2025
0.3.107 Jun 24, 2025
0.3.106 Jun 21, 2025
0.3.105 Jun 17, 2025
0.3.104 Jun 12, 2025
0.3.103 Jun 06, 2025
0.3.102 Jun 06, 2025
0.3.101 Jun 05, 2025
0.3.100 Jun 01, 2025
0.3.99 May 22, 2025
0.3.98 May 18, 2025
0.3.97 May 16, 2025
0.3.96 May 13, 2025
0.3.95 May 10, 2025
0.3.94 May 06, 2025
0.3.93 May 01, 2025
0.3.92 Apr 26, 2025
0.3.91 Apr 26, 2025
0.3.90 Apr 21, 2025
0.3.89 Apr 17, 2025
0.3.88 Apr 11, 2025
0.3.87 Apr 10, 2025
0.3.86 Apr 09, 2025
0.3.85 Apr 08, 2025
0.3.84 Apr 07, 2025
0.3.83 Apr 07, 2025
0.3.82 Apr 02, 2025
0.3.81 Mar 30, 2025
0.3.80 Mar 30, 2025
0.3.79 Mar 26, 2025
0.3.78 Mar 25, 2025
0.3.77 Mar 25, 2025
0.3.76 Mar 23, 2025
0.3.75 Mar 18, 2025
0.3.74 Mar 15, 2025
0.3.73 Mar 14, 2025
0.3.72 Mar 03, 2025
0.3.71 Mar 01, 2025
0.3.70 Feb 25, 2025
0.3.69 Feb 20, 2025
0.3.68 Feb 19, 2025
0.3.67 Feb 18, 2025
0.3.66 Feb 17, 2025
0.3.65 Feb 16, 2025
0.3.64 Feb 14, 2025
0.3.63 Feb 07, 2025
0.3.62 Feb 03, 2025
0.3.61 Jan 31, 2025
0.3.60 Jan 29, 2025
0.3.59 Jan 24, 2025
0.3.58 Jan 16, 2025
0.3.57 Jan 09, 2025
0.3.56 Jan 02, 2025
0.3.55 Dec 29, 2024
0.3.54 Dec 26, 2024
0.3.53 Dec 20, 2024
0.3.52 Dec 13, 2024
0.3.51 Dec 13, 2024
0.3.50 Dec 12, 2024
0.3.49 Dec 03, 2024
0.3.48 Dec 01, 2024
0.3.47 Nov 18, 2024
0.3.46 Nov 12, 2024
0.3.45 Nov 11, 2024
0.3.44 Nov 04, 2024
0.3.43 Nov 04, 2024
0.3.42 Oct 23, 2024
0.3.41 Oct 11, 2024
0.3.40 Oct 06, 2024
0.3.39 Oct 03, 2024
0.3.38 Oct 03, 2024
0.3.37 Oct 02, 2024
0.3.36 Oct 02, 2024
0.3.35 Oct 01, 2024
0.3.34 Sep 30, 2024
0.3.33 Sep 30, 2024
0.3.32 Sep 25, 2024
0.3.31 Sep 24, 2024
0.3.30 Sep 18, 2024
0.3.29 Sep 16, 2024
0.3.28 Sep 14, 2024
0.3.27 Sep 06, 2024
0.3.26 Sep 06, 2024
0.3.25 Aug 25, 2024
0.3.24 Aug 18, 2024
0.3.23 Aug 16, 2024
0.3.22 Aug 07, 2024
0.3.21 Aug 07, 2024
0.3.20 Aug 03, 2024
0.3.19 Aug 02, 2024
0.3.18 Jul 14, 2024
0.3.17 Jun 25, 2024
0.3.16 Jun 24, 2024
0.3.15 Jun 16, 2024
0.3.14 Jun 04, 2024
0.3.13 May 31, 2024
0.3.12 May 31, 2024
0.3.11 May 30, 2024
0.3.10 May 29, 2024
0.3.9 May 14, 2024
0.3.8 May 07, 2024
0.3.6 May 06, 2024
0.3.5 May 04, 2024
0.3.4 May 01, 2024
0.3.3 Apr 28, 2024
0.3.2 Apr 21, 2024
0.0.2 Apr 03, 2024
0.0.1 Apr 03, 2024

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
agent-client-protocol (>=0.10.1)
aioboto3 (>=13.0.0)
anyio (>=4.14.0)
beautifulsoup4 (>=4.10.0)
boto3
click (!=8.2.0,<8.2.2,>=8.1.3)
debugpy
docstring-parser (>=0.16)
exceptiongroup (>=1.0.2)
fastapi (>=0.119.0)
fsspec (<=2025.9.0,>=2023.1.0)
httpx
ijson (>=3.2.0)
jsonlines (>=3.0.0)
jsonpatch (>=1.32)
jsonpath-ng (>=1.8.0)
jsonref (>=1.1.0)
jsonschema (>3.1.1)
mmh3 (>3.1.0)
nest_asyncio2 (>=1.7.2)
numpy
platformdirs (>=2.3.0)
psutil
pydantic (>=2.13.0)
python-dotenv (>=0.16.0)
pyyaml
rich (!=14.0.0,>=13.3.3)
s3fs (>=2023)
semver (>=3.0.0)
shortuuid
sniffio
tenacity
textual (>=6.2.0)
tiktoken (>=0.12.0)
typing_extensions (>=4.14.0)
universal-pathlib (>=0.2.6)
uvicorn
zipfile-zstd (>=0.0.4)
zipp (>=3.19.1)
zstandard (>=0.20.0)