Vacant
Your coding agent says "done". Vacant checks it with your own tests before it reaches you.
Vacant wraps a coding agent (pi, Claude Code, Codex, OpenCode, or any CLI). The agent works in a copy of your project. When it says it is done, Vacant runs your project's own tests. If they fail, the copy is thrown away and the agent starts over, up to 3 times. You get the first attempt that passes. If none pass, you get the best attempt and are told plainly that it did not pass. Every attempt is written to a signed record.
Install and run
pipx install vacant-network # needs 0.9.2 or later; check with: vacant --version
cd your-project
vacant do claude --prompt "fix calc.add" # or: pi, codex, opencode
vacant do --cmd 'my-agent {prompt}' --prompt "fix calc.add" # any other CLI agent
The package is vacant-network; the command is vacant. (pip install vacant is a different, unrelated project.)
What happens when you run it
- Vacant runs your tests once before the agent starts, so you know the starting point.
- The agent edits a copy of your project, not the project itself.
- When the agent stops, Vacant restores your test files and test config to their original content, then runs the tests. Edits the agent made to the tests do not count.
- Tests pass: the result is written back to your project. Tests fail: the copy is discarded and the agent starts again (up to 3 attempts, 600 s each, 1800 s in total).
- You get a summary and a signed record of every attempt, including the failed ones:
vacant audit list.
Tests are detected automatically (unittest, pytest, npm test; cargo and go are experimental), or you can pass your own check with --check "<command>". A project with no tests runs once, and Vacant says that nothing was checked.
| Exit code | Meaning |
|---|---|
0 |
Tests passed and the result was written back |
40 |
No attempt passed; the best attempt was written back and the first failing test is printed |
43 |
Could not run (environment problem or conflicting edits); nothing was written back |
130 |
Interrupted; your project is unchanged |
What we measured
We ran ten pre-registered paired experiments comparing plain pi with vacant do pi, on local gemma-4 models (12B and a 4B-class model), with the same total time limit for both sides.
- 7 of 10 showed a higher pass rate with Vacant, by 4 to 18 percentage points. Example: 34 Python tasks × 5 runs went from 80/170 to 103/170.
- 3 of 10 showed no measurable difference: one where the plain agent already passed 88%, one with only 9 tasks, and one on a slow backend where 75% of attempts ran out of time.
- Cost: the agent makes about 1.5 to 2.2 times as many model calls. Vacant buys checked deliveries, not speed.
Read these with the numbers:
- Five of the ten experiments reuse the same 34 Python tasks. They are repeat measurements, not evidence that it works on every task.
- The experiments ran on earlier release candidates that use the same delivery policy. Version 0.9.2 itself has not been run through its own experiment.
- Only
pihas measured results. Claude Code, Codex and OpenCode are supported but not measured here.
Full table, conditions and per-experiment conclusions: REFERENCE.md.
What it does not do
- It only catches what your tests catch. A bug your tests do not cover passes straight through.
- It is not a security sandbox. The agent runs with your permissions. The copy protects against accidental write-back, not against a malicious agent.
- The signed record shows tampering after the fact; it does not stop forgery on the same machine. The signing key is a file you can read, so a program running as you (including the agent) can read it too.
- It does not save compute. Failed attempts are redone.
- It does not extend a single run. A task that needs more than the per-attempt limit is cut off; raise
--attempt-timeoutand--timeoutfor such work.
More
- REFERENCE.md: all flags, hook mode (keep using your agent as usual), where files and records live, integrating your own agent, library use.
- Known limits in 0.9.2, with reproduction scripts.
- CHANGELOG
License
MIT
Metadata
Release files for vacant-network 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vacant_network-0.9.2.tar.gz | 2.1 MB | With provenance | Details for vacant_network-0.9.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vacant_network-0.9.2-py3-none-any.whl | Python 3 | none | any | Details for vacant_network-0.9.2-py3-none-any.whl |
Total release size: 3.2 MB
Release files / vacant_network-0.9.2.tar.gz
| Download URL | vacant_network-0.9.2.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb0fadf4e0adc8a735201523042081fa657e8aae0eaf3ecfcd7e772cb599afd3
|
|
BLAKE2b-256 checksum How to use checksums |
15e267c28742336ff8321bc202363f0892079b05ccaa521a764a3090d3341580
|
| 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 30, 2026.
Transparency logRelease files / vacant_network-0.9.2-py3-none-any.whl
| Download URL | vacant_network-0.9.2-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2a793b2259a89956e7aea87424a54425a77ea1706dc676a63799732e756a2e8
|
|
BLAKE2b-256 checksum How to use checksums |
940bb8a5c0d2f11384f3b06c4436ada770136265c04b1e985b8cc4336c516d99
|
| 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 30, 2026.
Transparency logSecurity for vacant-network 0.9.2
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.
Attestation for vacant_network-0.9.2.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 30, 2026.
Transparency logA 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.