Skip to main content

sqube-agent-guard

Sqube Agent Control — open-source execution authorization for AI agents.

Evaluate deterministic policy (ALLOW / BLOCK / REQUIRE_APPROVAL), optional human approval, and a tamper-evident execution ledger. The SDK is application-level; bypassing the guard is out of scope for v1.

Install

pip install sqube-agent-guard

Optional extras:

pip install "sqube-agent-guard[control-plane]"   # local API + dashboard
pip install "sqube-agent-guard[otel]"            # OpenTelemetry bridge

Requires Python 3.10+.

Quick start

from sqube_agent_guard import Decision, ExecutionGuard

def policy(action, resource, agent_id, **ctx):
    if action == "email.send":
        return Decision.REQUIRE_APPROVAL
    return Decision.ALLOW

guard = ExecutionGuard(policy=policy)

@guard.wrap_action(action="email.send", resource="user@example.com")
def send_email():
    ...

send_email()

Control plane (optional)

sqube-agent-guard serve --data-dir .sqube

Open http://127.0.0.1:8080/setup on first run to create an administrator account.

Documentation

https://sqube-groups.github.io/sqube-agent-control/docs/intro

License

Apache-2.0 — Copyright © 2026 Sqube Groups

Metadata

Release files for sqube-agent-guard 1.0.3

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

Source distribution (sdist)

Source distribution for sqube-agent-guard 1.0.3
File Size Uploaded Provenance Actions
sqube_agent_guard-1.0.3.tar.gz 255.5 kB Without provenance Details for sqube_agent_guard-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sqube-agent-guard 1.0.3
File Interpreter ABI Platform Actions
sqube_agent_guard-1.0.3-py3-none-any.whl Python 3 none any Details for sqube_agent_guard-1.0.3-py3-none-any.whl

Total release size: 261.8 kB

Release files / sqube_agent_guard-1.0.3.tar.gz

Download URL sqube_agent_guard-1.0.3.tar.gz
Size 255.5 kB
Tags Source
SHA-256 checksum
How to use checksums
000e2d86ce2df0fa65fdb6de60ee907e4bd94e9e5f22457c4109d055b93dbf0e
BLAKE2b-256 checksum
How to use checksums
c70e4e87b694cf35c1d97a0e837682487a27046b90c38deb4b50248bfb812d4f
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-1.0.3-py3-none-any.whl

Download URL sqube_agent_guard-1.0.3-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c96d68059bba2062ab40378a833748b448cdb58e6ff0f68e3b30ec4adc34b7fe
BLAKE2b-256 checksum
How to use checksums
aa800c14763be73cbeeea6cb8bded7e98cd6ea4d4ac423ff1dab55de0b5f3dba
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 1.0.3

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