Skip to main content

glovebox-monitor

A second model that reads every tool call an agent proposes, before the call runs, and answers allow / ask / deny. This is the supervision layer out of glovebox, packaged on its own so you can run it over your existing isolation instead of adopting glovebox's sandbox.

If pip install glovebox-monitor reports no matching distribution, no release has reached PyPI yet. Install from the repository instead, which tracks the main branch:

pip install "glovebox-monitor @ git+https://github.com/AlexanderMattTurner/agent-glovebox.git#subdirectory=glovebox-monitor"

What is in the box

The package is monitorlib, and it needs nothing installed. Every module is stdlib-only apart from the HTTP transport, which uses httpx from a copy shipped inside the package. That is a deliberate constraint: the monitor runs inside a guest image with no package index, so anything it imports has to be there already.

  • A fail-closed design. Every layer that judges a call denies on its own failure. The fail-mode setting structurally refuses allow, an unparsable model reply is a hard deny, and the circuit breaker denies rather than opening the gate.
  • Code-side legs the model cannot be argued out of: a static scan of the proposed command, and a deterministic risk taxonomy that labels the action from its content alone.
  • Memory across calls. The judge sees what the agent already did this trajectory, so a chain assembled one harmless-looking step at a time is visible.
  • Injection hardening. Two independent parsers must agree on the verdict, and untrusted text is stripped of invisible and ANSI bytes before the judge reads it.

Using it with Inspect

Register it as an Inspect approver. It composes with an approver you already have rather than replacing it — the approver contract covers the rules, including the edge where a policy list with no catch-all entry silently rejects every tool it forgot.

What a scaffold-level deployment does not give you

glovebox's own deployment reads the sandbox's network decision log, so it can say what a call actually reached. An approver sees only what the agent proposed. A tool that opens its own connection, and any process the agent started earlier, are outside its view. Pair it with the egress gateway when you need that ground truth.

Metadata

Release files for glovebox-monitor 0.4.0

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

Source distribution (sdist)

Source distribution for glovebox-monitor 0.4.0
File Size Uploaded Provenance
glovebox_monitor-0.4.0.tar.gz 677.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for glovebox-monitor 0.4.0
File Interpreter ABI Platform
glovebox_monitor-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / glovebox_monitor-0.4.0.tar.gz

Download URL glovebox_monitor-0.4.0.tar.gz
Size 677.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c43d57a950682ef8972baa247efb16cd31cb190fc05e57de594b0f2abc7dab4a
BLAKE2b-256 checksum
How to use checksums
fcbc057d01e8b2e48e853fa4510e9785f2c3e5e47329a97b98c9c04a48ec835b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / glovebox_monitor-0.4.0-py3-none-any.whl

Download URL glovebox_monitor-0.4.0-py3-none-any.whl
Size 768.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9721de4ec6a179a2f298bf680a4abfa5576c93895b997ab97ed7495273450440
BLAKE2b-256 checksum
How to use checksums
449f5dd95b3e866218d711d3c92658482af4feb630176bbf3b107329102bf636
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for glovebox-monitor 0.4.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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