Skip to main content

py-harness

License PyPI CI Docs Pages Contributors

Four jobs on your laptop: ask, write a test, fix a bug, add one small function. Only touches the folder you point at. Daily work is py-harness plus Ollama llama3.1:8b. Not everyday-ready. Site: yauhenbichel.github.io/py-harness.

Run it

python3 -m venv .venv && source .venv/bin/activate
pip install py-harness-cli

The command is py-harness. The PyPI name is py-harness-cli because py-harness collides with another package. Do not pip install py-harness or pip install pyharness.

Sample project — clone, then cd demo/orders. Do not brief this repository.

git clone https://github.com/YauhenBichel/py-harness.git
cd py-harness/demo/orders
py-harness brief
py-harness ask  "what does compute_total return?"
py-harness run  "find the NameError and fix it"

Activate .venv in every new terminal. If the shell says command not found: py-harness, it is not active. Daily work needs ollama pull llama3.1:8b. From a clone, python3 scripts/run/install.py is the editable install.

ask never writes. run writes, then runs the tests. The NameError sample is built into the tool (no model). Another folder: py-harness ask ~/app "what does add return?".

Start · Commands · Contributing · Security

What it looks like

pip install py-harness-cli, then brief and a NameError fix

Replay: asciinema play docs/media/pip-demo.cast. A longer session (8B ask): docs/media/live-demo.gif. Full log: Live demo.

VS Codepy-harness editors vscode, then Tasks: Run Task.

py-harness VS Code tasks on demo/orders

Replay: asciinema play docs/media/vscode-demo.cast. VS Code.

Cursorpy-harness editors cursor --allow-writes, then chat or Tasks.

py-harness Cursor MCP on demo/orders

Replay: asciinema play docs/media/cursor-demo.cast. Cursor.

Scores

One laptop. 29 Aug–5 Sep 2026. Not everyday-ready.

What I tried Result
0.5B as daily work 0 / 4 vibe, 0 / 2 parse
Four Start commands on demo/orders 0 / 4, then 4 / 4 after the harness
Same bench, code must run 8B 6–9 / 9; 7B coder 7 / 9; 30B timeout
Same-night daily (write tests, clamp, sum × 3) 8B 9 / 9, 7B coder 7 / 9. Keep the 8B
Extra 7B–8B on disk Empty-VRAM SWE daily clamp: first generate 180s. Not a score
A real repository (4,580 files) reading works; writing 1 / 12

The long table: Experiments. Every score: Results. Which tags timed out: Hub models.

More

If you want Go here
What each folder is Folders
Tests PYTHONPATH=src python -m unittest discover -s tests -q
0.5B style prior YauhenBichel/python-vibe-0.5b
Train / serve / API Commands
A first issue good first issue

Vulnerabilities: a public GitHub issue. Do not paste live keys.


Contributors

Thank you to everyone who has helped py-harness.

Yauhen Bichel
Yauhen Bichel
Mark Xian
Mark Xian
Itzsaurav
Itzsaurav
svkzn
svkzn
Aditya
Aditya
Huangshuo Kuang
Huangshuo Kuang

The list is filled by Contributors from GitHub commits (bots omitted). Contributor graph · good first issue

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_harness_cli-0.3.1-py3-none-any.whl (210.4 kB view details)

Uploaded Python 3

File details

Details for the file py_harness_cli-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: py_harness_cli-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 210.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for py_harness_cli-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3890b14da331b06def25390fa998e8a7fc51cc6d03c139a3786f32448cb089b
MD5 49f6b9d4bb6ff3a6c26396c96860ac83
BLAKE2b-256 b9252286451596a89a62c5520ccbe68b4a140aba7e94355160c0270982c3294a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 file

0.3.0

2 files

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