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.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 sqube-agent-guard 1.0.0
File Size Uploaded Provenance Actions
sqube_agent_guard-1.0.0.tar.gz 254.2 kB Without provenance Details for sqube_agent_guard-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 260.5 kB

Release files / sqube_agent_guard-1.0.0.tar.gz

Download URL sqube_agent_guard-1.0.0.tar.gz
Size 254.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a31b847f141cf0a17a661cc05b8786445e5bd0cf990194f46f0a985823d59770
BLAKE2b-256 checksum
How to use checksums
3f6192d5335dcecb68bb43785941b452178b2c0fcff9d30d3a1b804618510ad7
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.0-py3-none-any.whl

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

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