Citation and evidence

Inspect AI

14 min full readUpdated 32 references

This article's verification

Report a problem with this article

Edit article
More

Use this article

Raw MarkdownExplore connections

Improve this page

Revision historyDiscuss this article

Topics

AI SafetyDeveloper ToolsModel EvaluationOpen Source AI

Cite this article

Inspect AI (usually called simply Inspect) is an open-source Python framework for evaluating large language models and AI agents, created by the UK AI Security Institute (AISI) and now developed jointly by the institute and Meridian Labs, a US nonprofit.[1][2] The institute released it to the public on 10 May 2024, when it was still called the AI Safety Institute, and the UK government described the release as the first time a safety testing platform built by a state-backed body had been made available for wider use.[1] Inspect is published under the MIT license and installed from PyPI as inspect-ai.[3][4]

An Inspect evaluation is a task that combines a dataset of samples, a solver that produces the model's answer, and a scorer that grades it.[2] Around that core the framework adds tool calling, agent scaffolds, sandboxed execution environments for untrusted code, human approval of tool calls, a log viewer and an extension system.[2][10][11] Its documentation lists more than 200 ready-to-run benchmark implementations.[2] Government evaluators and research groups including METR and Apollo Research have adopted it as their main evaluation tooling.[5][6][20][21]

History

Development and public release

The inspect-ai package first appeared on the Python Package Index on 3 April 2024 as version 0.0.1, about five weeks before the public announcement.[4] On 10 May 2024 the Department for Science, Innovation and Technology and the AI Safety Institute announced that the institute's "homegrown Inspect evaluations platform" was being made available to the global AI community under an open-source licence.[1] The press release described Inspect as a software library that lets testers, from startups and academics to AI developers and governments, assess specific capabilities of individual models and produce a score, with coverage of areas including core knowledge, reasoning and autonomous capabilities.[1]

Science Secretary Michelle Donelan said she had cleared the platform to be open sourced.[1] Ian Hogarth, the institute's chair, said he hoped Inspect could be "a building block for AI Safety Institutes, research organisations, and academia," and cited open projects such as GPT-NeoX, OLMo and Pythia as inspiration.[1] The same announcement said the institute, the government's Incubator for AI (i.AI) and Number 10 would bring together AI specialists to build further open-source safety tools.[1]

The project's suggested citation names "AI Security Institute, UK" as author and dates the software to May 2024.[2] JJ Allaire, whom an AISI post describes as the creator of Inspect and whom Apollo Research described in November 2024 as leading the Inspect development team at the institute, said he built it "to provide a strong technical foundation for governments, researchers, and labs to collaborate on testing and understanding frontier models."[6][20]

Growth of the ecosystem

AISI followed the core framework with a series of add-on packages, all on GitHub under the MIT license: a Kubernetes sandbox, Inspect Cyber for agentic cybersecurity evaluations, ControlArena for AI control experiments and a Proxmox virtual machine sandbox, whose repositories were created between December 2024 and March 2025.[22][23][24][25] On 7 August 2025 the institute presented the Docker Compose, Kubernetes and Proxmox providers together as the Inspect Sandboxing Toolkit, alongside a protocol for choosing how strongly to isolate a given evaluation.[5]

Meridian Labs is a 501(c)(3) nonprofit based in Boston. Its team page lists Charles Teague, who had helped develop Inspect while a Technology and Security Policy Fellow at the RAND Corporation, and Eric Patey as co-founders in 2025, and AISI's June 2026 post describes JJ Allaire as a founder at Meridian Labs.[8][7][6] Meridian describes Inspect as its flagship project, built by its founding team in collaboration with AISI.[7] From 2025 its blog announced a run of companion tools: Inspect Viz for plotting evaluation results (September 2025), an integration that made more than 80 Harbor benchmarks runnable in Inspect (February 2026), Inspect Scout for transcript analysis (February 2026), Inspect Flow for running evaluations at scale (March 2026), cloud sandbox providers (April 2026), Inspect Steward for supervising long-running evaluations (September 2026), Inspect Sentinel for monitoring agents while they run (October 2026) and a framework for cyber ranges built from virtual machines (November 2026).[9] In May 2026 Petri, the alignment auditing tool that originated at Anthropic, moved to Meridian with a 3.0 release.[9][7]

On 18 June 2026 AISI released an Engineering Playbook describing the wider infrastructure behind its evaluations and said Inspect "powers many of AISI's frontier evaluations." The same post reported that more than 240 people had contributed to the inspect_ai repository.[6]

The framework is still versioned below 1.0, and releases are frequent: five versions appeared between 31 October and 17 November 2026, the latest being 0.3.291.[26] As of 18 November 2026 the GitHub repository had about 3,280 stars and 940 forks.[3]

"Sandbox breakout evals with Inspect - UK AISI @ FC London '25", video from CoreWeave, published December 8, 2025. Watch on YouTube.

Design

Tasks, solvers and scorers

Inspect's documentation describes an evaluation as a Task that brings together three components.[2]

ComponentRole
DatasetLabelled samples, usually with an input (the prompt) and a target (the ideal answer or grading guidance)
SolverProduces an answer for each sample, from a single model call to a multi-turn agent with tools
ScorerGrades the output by text comparison, model grading or a custom scheme

Expanded article table

Tasks are ordinary Python functions marked with a @task decorator, run from the command line with inspect eval or from Python with the eval() function.[2] The documentation's first example evaluates a model on SimpleQA by loading a Hugging Face dataset, calling the model once and grading the free-text answer with another model:[2]

from inspect_ai import Task, task
from inspect_ai.dataset import FieldSpec, hf_dataset
from inspect_ai.scorer import model_graded_qa
from inspect_ai.solver import generate

@task
def simpleqa():
    return Task(
        dataset=hf_dataset(
            "codelion/SimpleQA-Verified",
            split="train",
            sample_fields=FieldSpec(
                input="problem",
                target="answer",
            ),
        ),
        solver=generate(),
        scorer=model_graded_qa(),
    )

Built-in scorers cover text matching, multiple choice, model grading, math and perplexity.[27] Inspect has built-in support for more than 20 model providers, among them OpenAI, Anthropic, Google, Mistral, DeepSeek, Grok, AWS Bedrock, Azure AI, Together AI and Groq, plus local inference through Hugging Face, vLLM and SGLang.[2][28]

Tools and agents

Models under evaluation can call custom Python tools, tools served over the Model Context Protocol, and built-in tools for bash and Python execution, a persistent bash session, text editing, web search and computer use through screenshots, mouse and keyboard.[2][16] Agentic helper tools include a to-do list, a memory directory and a "think" step.[16]

The framework ships a ReAct-style agent that loops through reasoning, actions and observations until it submits an answer, a "deep agent" with subagent delegation, memory and planning, and primitives for multi-agent architectures.[2][27] An agent bridge routes the model calls of agents written with other frameworks, such as the OpenAI Agents SDK, LangChain and Pydantic AI, through Inspect's model layer, and a sandbox version of the bridge runs command-line agents such as Claude Code, Codex CLI and Gemini CLI inside a container.[12] The documentation warns that the in-process bridge gives the agent access to the host's network and files and should not be used with adversarial models.[12]

A human_cli agent lets a person attempt the same task, in the same sandbox and with the same scorer, as a model would. It is intended for human baselining; the person logs into the container, works on the task and submits an answer, and the terminal session is recorded by default.[13]

Sandboxing

Tools that run model-written code execute inside a sandbox rather than on the machine running the evaluation.[10] Docker and a no-isolation local environment are built in, and other environments are added through an extension API; the documentation lists six external sandbox packages:[10]

Sandbox typePackageNotes
dockerBuilt inLocal Docker, configured with a Dockerfile or compose.yaml
k8sinspect-k8s-sandboxKubernetes cluster
daytonainspect-sandboxesDaytona cloud sandbox
modalinspect-sandboxesModal cloud sandbox
proxmoxinspect_proxmox_sandboxProxmox virtual machines
vagrantinspect_vagrant_sandboxVagrant virtual machines
openshellinspect-openshell-sandboxNVIDIA OpenShell sandboxes with filesystem and network policies
localBuilt inLocal file system, no isolation

Expanded article table

AISI's August 2025 post explains the design choice behind this: Inspect sits outside the sandbox and sends commands into it at the model's request, so everything that happens inside is initiated by Inspect.[5] The institute said the main present risk is an agent accidentally damaging infrastructure, that it increasingly runs evaluations that deliberately test whether an agent can escape its sandbox, and that sandboxed agents might in future use injection attacks to try to reach Inspect's own Python code.[5] Its sandboxing protocol classifies isolation along three axes: tooling, host and network.[5]

Running and analysing evaluations

Approval policies can require a human operator to approve every tool call, only selected tools (such as bash and Python), or delegate decisions to custom approvers that approve, reject or escalate.[11] Tasks can set limits on time, messages, tokens and cost per sample, and a separate "working limit" that counts only time spent working rather than waiting on rate limits.[17][27]

The inspect eval-set command runs many tasks and models together, retries failed evaluations, reuses samples already completed by failed tasks and can be re-run to pick up where a previous run stopped.[14] Results are written to log files; since version 0.3.46 the default is a binary .eval format that the documentation says is typically about one eighth the size of the equivalent JSON log.[15] Logs can be browsed in the web-based Inspect View or through a Visual Studio Code extension, and read into data frames for analysis.[2][27]

Inspect Evals and the benchmark catalogue

Inspect Evals is a companion library of evaluations written for Inspect. It was founded in 2024 with contributions from AISI, Arcadia Impact and the Vector Institute and is now maintained by Generality Labs, a London nonprofit.[19] Its README says it accepts pull requests only from pre-approved contributors and asks others to report problems with an issue and supporting log files.[19]

The "Evals" page in Inspect's documentation combines Inspect Evals with benchmarks from the Harbor registry. On 18 November 2026 it listed 308 entries (129 from Inspect Evals and 179 from Inspect Harbor), some benchmarks appearing in both packages, tagged with categories including coding, assistants, reasoning, knowledge, professional, science, safeguards, cybersecurity, multimodal, biology, mathematics, medicine, law, finance, chemistry, physics, scheming and behavior.[18] Examples include:[18]

BenchmarkCategorySamples
SWE-bench VerifiedCoding500
HumanEvalCoding164
GAIAAssistants165
OSWorldAssistants369
CybenchCybersecurity39
AgentHarmSafeguards176
StrongREJECTSafeguards324
WMDP (bio subset)Safeguards1273
GPQA DiamondScience198

Expanded article table

Researchers also publish new benchmarks as Inspect tasks. A December 2024 paper on whether models can plan to subvert AI control protocols implemented its Subversion Strategy Eval in Inspect and released it as open source.[29] AISI's SandboxEscapeBench, introduced in March 2026 to measure whether agents can break out of container sandboxes, is implemented as capture-the-flag challenges in Inspect, with each container running inside a hardened virtual machine.[30][32] Inspect India Evals (July 2026) packages six benchmarks for Indian languages and cultural context on top of Inspect.[31]

Adoption

Apollo Research announced on 13 November 2024 that, after a three-month internal trial, it would deprecate its own evaluation framework and build all new evaluations in Inspect.[20] It listed avoiding duplicated work on problems such as secure agent sandboxes, easier sharing of evaluations with partners, and features its own tool lacked, such as web browsing tools and approval mode.[20] It also listed drawbacks: less control over design decisions (Apollo's framework prioritized type safety, which Inspect did not at the time), a more general and therefore more complex library, slower turnaround on features it needed, and the cost of migrating existing evaluations.[20]

METR moved its internal tooling from its own Vivaria platform to Inspect and now recommends Inspect for new projects; the Vivaria repository has been archived.[21] AISI's June 2026 post said METR runs its time horizon evaluations, with 228 tasks, on Inspect, and quoted a METR staff member calling Inspect "absolutely central to METR's evaluations."[6] AISI said in August 2025 that it had helped the US Center for AI Standards and Innovation (CAISI), METR and Apollo Research adopt its sandbox providers, and in 2026 that other government institutions had adopted Inspect and the toolkit.[5][6]

Meridian Labs describes Inspect as the standard framework at the UK AISI, US CAISI, the EU AI Office and the Japanese and Korean AI safety institutes, and at research organizations including METR, Apollo, Epoch, SecureBio, Redwood and RAND.[7] It also says Inspect underpins control evaluation projects such as ControlArena and LinuxArena and integrates with interpretability libraries such as TransformerLens and nnterp.[7] These are Meridian's own statements; AISI's posts name METR, Apollo Research and CAISI specifically.[5][6]

Continue reading

More to read

Topics:AI SafetyDeveloper ToolsModel EvaluationOpen Source AI

References

  1. ^1 ^2 ^3 ^4 ^5 ^6 ^7Department for Science, Innovation and Technology and AI Safety Institute. "AI Safety Institute releases new AI safety evaluations platform". GOV.UK, 10 May 2024. gov.uk/...eases-new-ai-safety-evaluations-platform
  2. ^1 ^2 ^3 ^4 ^5 ^6 ^7 ^8 ^9 ^10 ^11 ^12UK AI Security Institute. "Inspect" (documentation home page). inspect.aisi.org.uk, accessed 18 November 2026. inspect.aisi.org.uk
  3. ^1 ^2UKGovernmentBEIS. "inspect_ai: Inspect: A framework for large language model evaluations". GitHub, accessed 18 November 2026. github.com/...inspect_ai
  4. ^1 ^2Python Package Index. "inspect-ai" (release history). PyPI, accessed 18 November 2026. pypi.org/...inspect-ai
  5. ^1 ^2 ^3 ^4 ^5 ^6 ^7AI Security Institute. "The Inspect Sandboxing Toolkit: Scalable and secure AI agent evaluations". AISI blog, 7 August 2025. aisi.gov.uk/...ble-and-secure-ai-agent-evaluations
  6. ^1 ^2 ^3 ^4 ^5 ^6 ^7AI Security Institute. "Releasing AISI's Engineering Playbook". AISI blog, 18 June 2026. aisi.gov.uk/...releasing-aisis-engineering-playbook
  7. ^1 ^2 ^3 ^4 ^5Meridian Labs. "About". meridianlabs.ai, accessed 18 November 2026. meridianlabs.ai/about
  8. ^Meridian Labs. "Team". meridianlabs.ai, accessed 18 November 2026. meridianlabs.ai/team
  9. ^1 ^2Meridian Labs. "Meridian Labs Blog". meridianlabs.ai, accessed 18 November 2026. meridianlabs.ai/blog
  10. ^1 ^2 ^3UK AI Security Institute. "Sandboxing". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/sandboxing
  11. ^1 ^2UK AI Security Institute. "Tool Approval". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/approval
  12. ^1 ^2UK AI Security Institute. "Agent Bridge". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/agent-bridge
  13. ^UK AI Security Institute. "Human Agent". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/human-agent
  14. ^UK AI Security Institute. "Eval Sets". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/eval-sets
  15. ^UK AI Security Institute. "Log Files". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/eval-logs
  16. ^1 ^2UK AI Security Institute. "Standard Tools". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/tools-standard
  17. ^UK AI Security Institute. "Setting Limits". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/setting-limits
  18. ^1 ^2UK AI Security Institute. "Evals". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/evals
  19. ^1 ^2UKGovernmentBEIS. "inspect_evals: Collection of evals for Inspect AI" (README). GitHub, accessed 18 November 2026. github.com/...inspect_evals
  20. ^1 ^2 ^3 ^4 ^5Apollo Research. "Apollo Is Adopting Inspect". Apollo Research blog, 13 November 2024. apolloresearch.ai/...apollo-is-adopting-inspect
  21. ^1 ^2METR. "Vivaria" (README, "Transitioning to Inspect"). GitHub, accessed 18 November 2026. github.com/...vivaria
  22. ^UKGovernmentBEIS. "inspect_k8s_sandbox: A Kubernetes sandbox environment for use with inspect_ai". GitHub, accessed 18 November 2026. github.com/...inspect_k8s_sandbox
  23. ^UKGovernmentBEIS. "inspect_cyber: An Inspect extension for agentic cyber evaluations". GitHub, accessed 18 November 2026. github.com/...inspect_cyber
  24. ^UKGovernmentBEIS. "control-arena: ControlArena is a collection of settings, model organisms and protocols - for running control experiments". GitHub, accessed 18 November 2026. github.com/...control-arena
  25. ^UKGovernmentBEIS. "inspect_proxmox_sandbox: A Proxmox sandbox environment for use with inspect_ai". GitHub, accessed 18 November 2026. github.com/...inspect_proxmox_sandbox
  26. ^UKGovernmentBEIS. "Releases: inspect_ai". GitHub, accessed 18 November 2026. github.com/...releases
  27. ^1 ^2 ^3 ^4UK AI Security Institute. "Inspect" (documentation index, llms.txt). inspect.aisi.org.uk, accessed 18 November 2026. inspect.aisi.org.uk/llms.txt
  28. ^UK AI Security Institute. "Providers". Inspect documentation, accessed 18 November 2026. inspect.aisi.org.uk/providers
  29. ^Mallen, Alex; Griffin, Charlie; Wagner, Misha; Abate, Alessandro; Shlegeris, Buck. "Subversion Strategy Eval: Can language models statelessly strategize to subvert control protocols?". arXiv:2412.12480, December 2024. arxiv.org/...2412.12480
  30. ^Marchand, Rahul; O Cathain, Art; Wynne, Jerome; et al. "Quantifying Frontier LLM Capabilities for Container Sandbox Escape". arXiv:2603.02277, March 2026. arxiv.org/...2603.02277
  31. ^Singh, Abhishek Kumar; Nag, Shrey; Sachita; Goel, Lipi; Janwar, Rajeshwar Singh. "Inspect India Evals: An Open Benchmarking Framework for Evaluating Large Language Models in the Indian Linguistic and Cultural Context". arXiv:2607.25375, July 2026. arxiv.org/...2607.25375
  32. ^AI Security Institute. "Can AI agents escape their sandboxes? A benchmark for safely measuring container breakout capabilities". AISI blog, 23 March 2026. aisi.gov.uk/...ing-container-breakout-capabilities

Improve this article

Add missing citations, update stale details, or write a clearer explanation. Anyone can edit: changes go live when you publish, and every edit is checked by an editor.

2 revisions · v2 · 2,730 words · full history

Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify

Research and drafting on this wiki are AI-assisted, under named human editorial standards. How AI is used here

Reviewer note: Independent fact-check before publication on November 18, 2026: 64 claims checked against 36 cited and independent sources; 1 material and 5 minor corrections applied before publication.

Cite this page: AI Wiki. "Inspect AI." aiwiki.ai, updated 18 Nov 2026, fact-checked 18 Nov 2026. CC BY 4.0. https://aiwiki.ai/wiki/inspect_ai

Edit article