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.2

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.2
File Size Uploaded Provenance
glovebox_monitor-0.4.2.tar.gz 679.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / glovebox_monitor-0.4.2.tar.gz

Download URL glovebox_monitor-0.4.2.tar.gz
Size 679.6 kB
Tags Source
SHA-256 checksum
How to use checksums
06ced5c567ca2040451206bce0275a678acc340606675b7caeb926062742ca92
BLAKE2b-256 checksum
How to use checksums
e27fe6240e23d75e9b03b23dc1833eb5078c4d7a6f0cc0ca0308ed768d6bb187
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","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.2-py3-none-any.whl

Download URL glovebox_monitor-0.4.2-py3-none-any.whl
Size 771.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
581288d48debae1237121c09b1b1c595effb865d967b8185c68476b60b9d5baf
BLAKE2b-256 checksum
How to use checksums
77673b9d9c18d6d3d1b44f7a9c015cb296941eb7b9d27fabc0900ed4453c957e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","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.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.

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.

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