sqube-agent-guard
Sqube Execution Guard is a developer-side helper for v0.1 experiments: it wraps consequential actions, evaluates a deterministic policy (ALLOW / BLOCK / REQUIRE_APPROVAL), can pause for human approval via CLI, and appends decisions to a SQLite ledger. SDK wrapping is bypassable—this is not a security boundary and does not replace IAM, gateways, or other controls.
Install
pip install sqube-agent-guard
Requires Python 3.10+.
Quick start
from sqube_agent_guard import ExecutionGuard, Decision
def policy(action, resource, agent_id, **ctx):
if action == "delete_file":
return Decision.REQUIRE_APPROVAL
return Decision.ALLOW
guard = ExecutionGuard(policy=policy)
@guard.wrap_action(action="delete_file", resource=lambda path: f"file:{path}")
def delete_file(path):
...
delete_file("/tmp/example.txt")
Documentation
- Docs intro: https://sqube-groups.github.io/sqube-agent-control/docs/intro
- Source & examples: https://github.com/Sqube-Groups/sqube-agent-control
License
Apache-2.0 — Copyright © 2026 Sqube Groups
Metadata
Release files for sqube-agent-guard 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sqube_agent_guard-0.1.2.tar.gz | 185.3 kB | Without provenance | Details for sqube_agent_guard-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sqube_agent_guard-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for sqube_agent_guard-0.1.2-py3-none-any.whl |
Total release size: 191.6 kB
Release files / sqube_agent_guard-0.1.2.tar.gz
| Download URL | sqube_agent_guard-0.1.2.tar.gz |
|---|---|
| Size | 185.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86c19e40e54b95f6bd810c9abc53d231c4a5830b245382f0730ef2a413e9bc95
|
|
BLAKE2b-256 checksum How to use checksums |
668d4c082f7f74b6caded20a5ededfc09b325ddcc21f683cc5daf865efc54128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / sqube_agent_guard-0.1.2-py3-none-any.whl
| Download URL | sqube_agent_guard-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e64c3b44bbc0f5dc97bbb7be43e9f6b3afcd6aa610bce93b6d8695fad8c24b34
|
|
BLAKE2b-256 checksum How to use checksums |
56963ece39508a6550b916ce4e0e23a1a5ccc797a00d9402741118d53094263c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for sqube-agent-guard 0.1.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.