AgentGuard
AgentGuard is a GitHub Action that detects authorization and tenant-isolation regressions in Python/Django pull requests, especially AI-generated ones.
Install
pip install agentguard
Dev setup
# Clone the repo
cd agentguard
# Install with uv (recommended)
uv sync --dev
# Or with pip
pip install -e ".[dev]"
Test commands
# Run all tests
pytest
# Run with coverage
pytest --cov=src/agentguard
# Lint
ruff check src/ tests/
# Format
ruff format src/ tests/
# Type check
mypy --strict src/
CLI usage
agentguard version
agentguard scan --base main --head feature-branch --format json --mode observe --output report.json
GitHub Action
See .github/workflows/ci.yml for the CI pipeline and action.yml for the composite action.
Metadata
Release files for agentguards 1.0.0
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 |
|---|---|---|---|---|
| agentguards-1.0.0.tar.gz | 19.8 kB | Without provenance | Details for agentguards-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentguards-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for agentguards-1.0.0-py3-none-any.whl |
Total release size: 21.4 kB
Release files / agentguards-1.0.0.tar.gz
| Download URL | agentguards-1.0.0.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a76ccccff22565ac74bcdb822ffa004b4e8bcf5bd3181d4924670a81644ba469
|
|
BLAKE2b-256 checksum How to use checksums |
d04444e6072535dcd4a65a1cc772bf339f99be49835e0811d0d2d22196bc4570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / agentguards-1.0.0-py3-none-any.whl
| Download URL | agentguards-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
249fea674d296c82d86a3a1badc4d261e4e56f23ba4a32136b72ae8b1c9c6b81
|
|
BLAKE2b-256 checksum How to use checksums |
97d025c1da2be41408888a5a012940687466839b88713d9851cc33095683c154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for agentguards 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.