r/Python • • Oct 04 '26

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

23 Upvotes

194 comments sorted by

View all comments

1

u/Strong_Primary1494 Oct 24 '26

**Ghost Hands 0.9.2: governed browser automation for agents, on our own zero-dependency CDP stack (no Playwright, no Selenium)**

I built Ghost Hands because every agent-browser tool I tried would execute whatever the model said, including "submit", "pay", and "delete".

Ghost Hands puts a governor between the brain and the hands:

  • **Classify, policy, record, act.** Every action is readonly, write, or consequential. Consequential actions (pay / send / delete / publish) need policy approval, or a human's. No approver attached = denied. Silence is never consent.
  • **Record-before-execute.** The decision hits a provenance trail *before* the driver moves, so a run can be audited or replayed even if it crashes mid-step.
  • **Our own browser stack.** A stdlib Chrome DevTools Protocol client driving Chromium directly. I didn't want to harness Playwright. I wanted to make our own. Zero runtime dependencies.
  • **Cheap eyes.** Numbered element maps instead of screenshot firehoses. The demo page reads in ~174 tokens.
  • **Runs graduate.** A finished trail exports into a deterministic script that re-runs with no model in the loop.

The current release is v0.9.2, a metadata patch that adds MCP tool annotation hints (read-only / destructive / idempotent) so hosts can warn before a state-changing call. It sits on v0.9.1, the hardening release: export code-injection and file:// navigation issues closed. 443 tests passing, offline bench 95/95.

MIT, on PyPI: `pip install ghost-hands` Repo: https://github.com/littlestjames82-sys/ghost-hands

Feedback on the classification model especially welcome. Is readonly / write / consequential the right split?