agentshield
Multi-layer agent defense framework for AI security
Part of the AumOS open-source agent infrastructure portfolio.
Features
SecurityPipelinescans agent input, output, and tool calls through an ordered chain of scanners with configurable severity thresholds and BLOCK/WARN/LOG actions- Eight built-in scanners: regex injection detection, PII detection, credential detection, output safety, tool call validation, behavioral checking, output validation, and tool call integrity checking
ScannerABC makes it straightforward to write and register custom scanners; load them from ashield.yamlconfig file or inject them at runtime- Phase-aware dispatch — each scanner declares which phases (
INPUT,OUTPUT,TOOL_CALL) it runs in, so no scanner is invoked unnecessarily - Cumulative findings tracked across the session with JSON, Markdown, and HTML report generation
- Adapters for LangChain, CrewAI, AutoGen, OpenAI Agents, and MCP that wrap existing agent code with a single decorator or context manager
- OWASP ASI Top 10 category mapper tags each finding with its corresponding ASI category for structured vulnerability reporting
Quick Start
Install from PyPI:
pip install agentshield
Verify the installation:
agentshield version
Basic usage:
import agentshield
# See examples/01_quickstart.py for a working example
Documentation
Enterprise Upgrade
For production deployments requiring SLA-backed support and advanced integrations, contact the maintainers or see the commercial extensions documentation.
Contributing
Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.
License
Apache 2.0 — see LICENSE for full terms.
Part of AumOS — open-source agent infrastructure.
Metadata
Release files for aumos-agentshield 0.2.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 | |
|---|---|---|---|---|
| aumos_agentshield-0.2.0.tar.gz | 198.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aumos_agentshield-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 372.7 kB
Release files / aumos_agentshield-0.2.0.tar.gz
| Download URL | aumos_agentshield-0.2.0.tar.gz |
|---|---|
| Size | 198.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
924763fbc10970c15f7594e4327f707b992676b40a0107a26942f6c2e448eb58
|
|
BLAKE2b-256 checksum How to use checksums |
693f686eadf29e2ae2763b56ebce71a5b00388f51382a33fd928fb7e5e968842
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / aumos_agentshield-0.2.0-py3-none-any.whl
| Download URL | aumos_agentshield-0.2.0-py3-none-any.whl |
|---|---|
| Size | 174.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6011295d80c3c3d91b6cb2ec8397f8af2ae37a17256e7baf9ea8ae240d24006
|
|
BLAKE2b-256 checksum How to use checksums |
b4b59384be4439f47e317ab6a6dafbf2026856c3f5061f88cb6264b20a7e9721
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for aumos-agentshield 0.2.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.