Metadata-Version: 2.5
Name: inspect-promigence
Version: 0.1.0a1
Summary: Promigence sandbox environment for UK AISI Inspect (inspect_ai)
Project-URL: Homepage, https://promigence.ai
Author-email: Promigence AI <support@promigence.ai>
License: Apache-2.0
Keywords: evals,inspect_ai,promigence,sandbox
Requires-Python: >=3.10
Requires-Dist: inspect-ai>=0.3.264
Requires-Dist: promigence>=0.1.0b7
Requires-Dist: pyyaml>=6
Provides-Extra: dev
Requires-Dist: pytest>=7; extra == 'dev'
Description-Content-Type: text/markdown

# inspect-promigence — Promigence sandboxes for Inspect

Promigence sandbox environment for UK AISI Inspect (inspect_ai).

## Install

```bash
pip install inspect-promigence  # Python >= 3.10
export PROMIGENCE_API_KEY=prom_api_...  PROMIGENCE_API_URL=https://api.promigence.ai/v1  PROMIGENCE_SPEND_CAP=1
```

## Use

```python
from inspect_promigence import PromigenceSandboxConfig

Task(..., sandbox=("promigence", PromigenceSandboxConfig(image="python:3.12-slim", verify="python3 -c 1")))
Task(..., sandbox=("promigence", "compose.yaml"))     # single-service compose: its image or build
Task(..., sandbox=("promigence", "Dockerfile"))       # built and pushed to PROMIGENCE_REGISTRY
Task(..., sandbox="promigence")                       # compose.yaml / Dockerfile / promigence.yaml next to the task
```

## Help

Every error carries a code, a message and what to do next; the codes are listed at
https://www.promigence.ai/docs/errors. Questions: support@promigence.ai.
