Nox
$ nox Community Low Risknox replaces declarative INI matrices with Python-coded sessions in noxfile.py, supporting parameterized tests, virtualenvs, and uv backends. Agents can inspect sessions cleanly via nox --list --json and enforce headless runs with --non-interactive.
brew install nox Executes repo-local noxfile.py virtualenvs and Python test suites directly in the workspace.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports nox --list --json, --non-interactive, --nocolor, and --report <file> JSON output, though live command logs stream as plain text.
nox --list --jsonreturns machine-readable session metadata- Dedicated
--non-interactiveand--nocolorflags
Isolates session dependencies in .nox/, though noxfile.py executes arbitrary Python code when evaluated.
- Virtualenv isolation per session under
.nox/
Cross-platform Python package installable via Homebrew, pip, pipx, or uvx across macOS, Linux, and Windows.
- Available via
brew install nox,pip install nox, anduvx nox
Expressive Python configuration (noxfile.py) and optional uv backend simplify complex test matrices.
- Supports parameterized sessions and
--default-venv-backend uv
Actively maintained by wntrblm under the Apache-2.0 license with broad Python community usage.
- Active
wntrblm/noxrepository
Clear documentation at nox.thea.codes and clean --help output.
- Well-structured CLI usage docs
Security, Auth & Guardrails
No credentials required; executes local noxfile.py sessions using local Python and pip/uv.
Apache-2.0 open-source Python CLI; free.
# Nox Agent Rules - Always run `nox --list --json` first to discover exact session names before invoking `nox -s`. - Pass `--non-interactive --nocolor` to prevent prompts and ANSI codes. - Inspect `noxfile.py` before running unfamiliar sessions, as sessions execute arbitrary Python.
Agent-Ready Command Recipes
Safe Read-Only Queries
nox --list --json --nocolor
Parses noxfile.py and prints all configured and parameterized sessions as JSON without running them.
Controlled Writes & Previews
nox -s tests --non-interactive --nocolor
Creates .nox/tests, installs session dependencies, and executes tests without interactive prompts.
Strengths for Agents
- +
nox --list --jsonexposes exact session names and descriptions cleanly. - + Explicit
--non-interactiveand--nocolorflags suit automated CI and agent loops. - + Supports
uvvirtualenv backend for fast dependency provisioning.
Caveats & Pitfalls
- ! Evaluating
noxfile.pyexecutes arbitrary Python code even during session discovery. - ! Live session execution logs remain unstructured text unless
--reportis written to a file.