Skip to main content

progon

PyPI Python Client release Server release CI License: MIT

progon runs a project's tests (unit, integration or mutation, in any language) on shared test VMs with one command, and the agent gets back only what it needs: the verdict and counters, and the failed tests with their location and cause. No logs to read, no context wasted. Common test frameworks and mutation tools have dedicated adapters (supported today); anything else runs through the shell adapter, which reads the exit code, TAP or JUnit XML.

Quick start

Give your agent client/docs/agent-runbook.md (progon help start) and the addresses of your test VMs. It installs the client, writes the project's profile and makes the first run.

The client alone: uv tool install progon or pipx install progon (PyPI), or progon.pyz from the latest release.

Why

progon is built for one scenario: AI agents that run tests themselves while they develop, including mutation tests on the diff, instead of pushing and waiting for a CI pipeline on a runner.

Doing that without progon hurts in three ways:

  • The development machine. Test suites, databases in containers and mutation runs need a lot of CPU, memory and disk. Several agents testing at once on a laptop or a dev host slow it down or take it down.
  • The agent's context. An agent that runs tests itself reads the whole output: build logs, stack traces, thousands of passing tests. That burns tokens and pushes the actual work out of its context.
  • Mutation runs are a black box. A mutation tool often prints nothing useful until it finishes, so the agent cannot tell how many mutants are done and how many are left, and either waits blindly or polls logs.

progon's answer:

  1. Set up one or more test VMs and install progon-server on them.
  2. Each project's agent writes a declarative profile, .progon/<project>.toml, once.
  3. From then on a test run is one command. progon picks a VM, sends the source, runs the tests in a container, collects the results and cleans up. The agent gets a short summary instead of the logs; details come only on request, and live progress (including done/total and time left for mutation runs) is one more command.

The context stays small, the development machine stays free, and the tests run where there is room for them.

What the agent gets

  • One command runs the tests. VM choice, source upload, the run, result collection and cleanup happen inside; the agent does none of it by hand.
  • Only what it needs comes back. The verdict, the counters and one line per failed test with its location and cause. Details only on request.
  • The context stays clean. No build logs, no thousands of passing tests, no log polling: progress is one more command with a one-line answer.

How it works

Terms used below: a kind is one named way to run a project's tests in its profile (unit, integ, mutation, ...); narrowing is the optional selection after the kind (packages, filters, test ids, files); a grant is a VM's reservation of CPU, memory and disk for one run; the broker is a per-grant Docker API proxy through which a run starts its own containers.

  • Quotas. Every run holds a grant for the CPU, memory and disk it asked for; a VM admits a run only when it has room, so many agents can test at once without overloading a VM. A run that does not fit goes to another VM or, with --quota-wait, waits for room.
  • Any number of VMs, no centre. VMs never talk to each other. The client asks every VM in its vm.hosts for free room at once and takes the one with the most; adding capacity is one more VM in that list.
  • No daemon. progon-server is a command called over ssh; a grant whose client died ends once its lease has passed, at the next acquire, gc or call for that grant on that VM, and its containers, networks, volumes and workdir are removed.
  • Disk. The server keeps a reserve free, counts the disk budgets of live grants and refuses image preparation below a floor.
  • Locally progon only reads git, packs the snapshot, talks ssh and parses the downloaded reports.

Usage

progon <project> <kind> [narrowing...]    # e.g. progon api unit ./internal/search/
progon status <run>    progon wait <run> <run>...    progon show <run> --failed

A real run of this repository's own tests:

$ progon client unit tests.test_summary
run client-unit-20261126-211906-689a: client unit tests.test_summary
run client-unit-20261126-211906-689a: on vm2, grant 60c929563207485ca00ee70d3aae9b42
progon client unit: GREEN (tests.test_summary, vm2, 7s)
  tests.test_summary: 40 passed, 0 failed
total: 40 passed, 0 failed in 1 suite(s)

A failed test adds one line, FAIL <suite> <test>: <first assertion line>, and progon show <run> --failed prints its details. The exit code is the verdict: 0 green, 1 failed, 2 infrastructure or cancelled, 3 timeout, 64 usage.

Features

  • One command per run; narrowing in the stack's own terms (packages, filters, test ids, files)
  • A short summary, exit code = verdict; a run that executed no test is never green
  • Details only on request: progon show <run> --failed | --skipped | --infra, any view as --json
  • One-line live status, with done/total and time left for mutation runs
  • Mutation on the diff (--since), split across VMs (--split N|auto) with one combined score
  • --baseline-without fix.patch: proves the new tests fail without the fix
  • Profile and targets checked before any VM is used (progon check)
  • Fixtures (databases, queues, stubs) and docker / docker compose / docker build inside the run through a per-grant Docker broker
  • Hardened run container: no capabilities, no network unless asked, the runner's uid
  • The client from PyPI (uv tool install progon) or as one file from the VMs; it keeps up with the VMs: a pyz updates itself, a package names its upgrade command

Every key and option: client/docs/profiles.md.

Supported today and planned

✅ works today · 🗓 planned. "diff" means --since (mutate only changed lines), "incremental" means results are kept between runs.

Stack Tests Mutation
Go ✅ go test -json ✅ gomutants (diff, incremental)
.NET ✅ dotnet test on VSTest or Microsoft.Testing.Platform (also MTP applications on the .NET 8/9 SDK): xUnit v2/v3, NUnit, MSTest, TUnit (tree-node filter), Expecto, Reqnroll ✅ Stryker.NET (diff) on VSTest or its MTP runner (--test-runner mtp, e.g. TUnit)
JS/TS ✅ Vitest, Jest · 🗓 Node test runner, Playwright Test, Mocha, Deno, Bun ✅ StrykerJS (diff, incremental)
Python ✅ unittest, pytest, Robot Framework ✅ mutmut (diff by changed functions), Cosmic Ray (diff, incremental)
Anything else ✅ shell adapter: exit code, TAP or JUnit XML (the reports of Gradle, Maven Surefire, cargo-nextest, PHPUnit, CTest and the Node test runner are read with their retries, todo and disabled tests) —
JVM (Java, Kotlin) 🗓 Gradle, Maven (JUnit 5/6, Kotest, Spock) 🗓 PIT
Rust 🗓 cargo-nextest 🗓 cargo-mutants (diff)
PHP 🗓 PHPUnit, Pest 🗓 Infection (diff)
Ruby 🗓 RSpec, Minitest
Scala 🗓 sbt, Mill 🗓 Stryker4s
Dart / Flutter 🗓 dart test, flutter test
C / C++ 🗓 CTest, GoogleTest, Catch2
Elixir / Erlang 🗓 ExUnit, Common Test
Swift 🗓 swift test

Also planned: disk autonomy on the VMs (eviction of unused runner images, free-space thresholds, disk state in status), a pool list served by the VMs so a client needs one address.

progon, CI and local runs

CI pipeline Tests on the dev machine progon
Feedback push, then wait for a runner immediate immediate, one command
Load on the dev machine none all of it none
What the agent reads job logs the whole tool output a short summary; details on request
Mutation on the diff rarely set up possible, heavy --since, --split across VMs
Progress of a long run job log tool output, often none for mutation one line: done/total, time left
Many agents at once runner queue they slow each other down quotas on shared VMs
Cleanup runner by hand the grant cleans up after itself

Requirements

  • Client: Python 3.11+, git, ssh and scp with key-based access to the VMs.
  • VM: Linux on amd64, rootful Docker at /var/run/docker.sock (Engine 26.0+ for binds below /work/repo or /work/results through the broker) with the compose plugin, Python 3.11+, an ssh user with Docker access (no root needed for progon itself). BuildKit runs additionally need subordinate ids and unprivileged user namespaces. Details: server/docs/install.md.

Limitations

  • Only linux/amd64 images and builds.
  • Rootless Docker on the VM is not supported.
  • progon shares VMs between trusted agents: ssh access to the server user is the trust boundary, and Docker access is root on the host. It is not a sandbox for untrusted code.
  • There is no server-side queue: waiting for room is the client polling, up to --quota-wait.

Documentation

Document For What
README.md everyone this page: what progon is, how it works, features, requirements, limitations
client/README.md users, tools the progon CLI, output contract, show views, exit codes
server/README.md operators, contributors progon-server commands, state, draining a VM, the end-of-run fence
client/docs/agent-runbook.md a user's agent from nothing to a first run (progon help start)
client/docs/project-setup.md a project's agent writing .progon/<project>.toml (progon help setup)
client/docs/profiles.md everyone full profile reference
client/docs/configuration.md users client config: VMs, owner, environment variables, updates
client/docs/model.md tools verdicts and the normalized report.json
client/docs/adapters.md contributors adding a test stack or mutation tool
client/docs/verification.md contributors checking a change on real VMs
e2e/README.md contributors, maintainers the acceptance set: a real project per adapter, run on the VMs with e2e/run.sh
server/docs/install.md operators installing progon-server on a VM
server/docs/protocol.md contributors protocol 1 between client and server
AGENTS.md contributors layout, rules, build and tests of this repository
CONTRIBUTING.md contributors running the tests without VMs, checks, bug reports, pull requests
SECURITY.md everyone trust model, what a run is hardened against, reporting a vulnerability
CHANGELOG.md everyone releases of the client and the server
RELEASING.md maintainers versions, tags, how a release is made, release files

License

MIT, see LICENSE.

Metadata

Release files for progon 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for progon 0.7.1
File Size Uploaded Provenance Actions
progon-0.7.1.tar.gz 273.2 kB With provenance Details for progon-0.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for progon 0.7.1
File Interpreter ABI Platform Actions
progon-0.7.1-py3-none-any.whl Python 3 none any Details for progon-0.7.1-py3-none-any.whl

Total release size: 573.1 kB

Release files / progon-0.7.1.tar.gz

Download URL progon-0.7.1.tar.gz
Size 273.2 kB
Tags Source
SHA-256 checksum
How to use checksums
896b59e7d9a70d36097dfdc84b339a024692f7cbff5502c1d60d07d3fd6445e8
BLAKE2b-256 checksum
How to use checksums
e2c32b3723f99f768512a97e9a896954a2ffb70e128946b89c00fcbea43a9fb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / progon-0.7.1-py3-none-any.whl

Download URL progon-0.7.1-py3-none-any.whl
Size 299.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79a4131df31920055f23d345f388d53ecbce30275571d27d5007ce57171e3741
BLAKE2b-256 checksum
How to use checksums
4d624e05875a316c606353f4bb6ced059e6681c7fdfaa4b7755e785a85479861
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for progon 0.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for progon-0.7.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page