Skip to main content

loop-guardrail

Execution loop detector and guardrail for AI agents.

Usage

from loop_guardrail import ToolCallGuardrailController, ToolCallGuardrailConfig

config = ToolCallGuardrailConfig(hard_stop_enabled=True)
ctrl = ToolCallGuardrailController(config)

# Pre-call check
dec = ctrl.before_call("terminal", {"cmd": "ls"})
if dec.action == "block":
    print("Action blocked!")

Metadata

Release files for loop-guardrail 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 loop-guardrail 1.0.0
File Size Uploaded Provenance
loop_guardrail-1.0.0.tar.gz 10.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for loop-guardrail 1.0.0
File Interpreter ABI Platform
loop_guardrail-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.3 kB

Release files / loop_guardrail-1.0.0.tar.gz

Download URL loop_guardrail-1.0.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3d40461755d0ce3dcdc6cc9f8a7e96c928a5ee685dc1e50134db8020ec8be4cc
BLAKE2b-256 checksum
How to use checksums
459fcaf2ea208a0fed146226bbc29a26f1dbc046367b86677a69d846284cbcaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / loop_guardrail-1.0.0-py3-none-any.whl

Download URL loop_guardrail-1.0.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98a24ed119f33e51812f748c35115cbec46e9200a9f2f793b44e121027d63e36
BLAKE2b-256 checksum
How to use checksums
901ea3660a1dc700555571904f752d492808486ee01e77d7d48af39f71ff5df2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Security for loop-guardrail 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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