Aethens

DocsStart here

Getting started

Aethens is an open-source Python CLI and GitHub Action that audits the verifiers of RL environments and code-task benchmarks by running them in a Docker sandbox. Every finding comes with evidence and a one-line repro command.

You need Docker and Python 3.11+. Task code has no network access, and Aethens collects no telemetry. It audits Python tasks only.

Install

v0.1.0 is on PyPI. Install the CLI with:

pipx install aethens

or uv tool install aethens, or pip install aethens.

Pull the default task image, then audit a task directory:

docker pull python:3.12-slim
aethens audit path/to/task --format markdown

To install a checkout instead of the PyPI release:

git clone https://github.com/beastrog/aethens.git
cd aethens
python -m pip install .

Your first audit

From that clone, the example task is clean, so this prints a report with no error or warning findings (C004 may list info-level surviving mutants) and exits 0:

aethens audit examples/add-two --format markdown

To see a planted defect, audit a bench task. This exits 1 and reports that the gold solution fails the verifier, with the verifier's output and a repro command you can paste:

aethens audit bench/tasks/brokengold-offbyone --check C001 --format markdown

Exit codes are 0 for a pass, 1 when findings reach or exceed--fail-on, 2 for a tool error, and 3 if the gold solution timed out.

Task format

Tasks use the aethens-task/v1 directory format. Aethens never reads anything outside the task directory. The required layout is a task.yaml, a statement file, astarter/ directory (the unsolved starting state), a tests/ directory, and agold/ directory (the reference solution, overlaid onto starter). Optional labelled candidates live undercandidates/valid/ andcandidates/invalid/. In v0.1 the only language is Python. The default Docker image is python:3.12-slim.

The full field list, validation errors, and how a run is assembled are indocs/task-format.md. Examples are in examples/add-two andexamples/word-format.

What to read next

Questions: GitHub Discussions. Sources for this page: the repository README, docs/task-format.md, and the CLI exit-code comments in src/aethens/cli/main.py.