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 is stdlib-only. That is a deliberate constraint, not an accident: the monitor runs inside a guest image with no package index, so a dependency here would have to be installable there too.
- 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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glovebox_monitor-0.1.0.tar.gz.
File metadata
- Download URL: glovebox_monitor-0.1.0.tar.gz
- Upload date:
- Size: 234.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4885aaf0e6047e0c2ca94a98672725d510d9c79dc2113cce5069f0391bfe4a7a
|
|
| MD5 |
74f5260a644fb3be63aaf5425c5e6c12
|
|
| BLAKE2b-256 |
b6647ffba5d6a5c5e1e19e7a2669ee12698e1fab75c3ac6ecd5522d54bec1163
|
File details
Details for the file glovebox_monitor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: glovebox_monitor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 264.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fe47f6a0c0e9cc4ebbbae5885b116fa87024ea1b19d8887b4b67a255bdeef26
|
|
| MD5 |
54bb0586bd6eb1d412c953f1935a710f
|
|
| BLAKE2b-256 |
a511cea714aa5637f9881cd386f06c3519dd157f3bedad2a252b040c0c16bb4e
|