Observed since 20 Oct, 22:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
An honest pre-deployment reliability and security gate for AI agents.
An honest pre-deployment gate for AI agents.
Website · Documentation · PyPI · Source
AgentGuard checks an agent specification before deployment and produces evidence that a developer or CI pipeline can understand. It reports what was evaluated, what failed, and what was not tested instead of turning skipped coverage into a green badge.
The CLI is deterministic: an LLM never decides whether something is a vulnerability. The same specification produces the same fingerprint and explainable result.
python -m pip install agentguard-dev
agentguard --version
Requires Python 3.12 or newer. The CLI has two lightweight runtime dependencies (httpx
and PyYAML); it does not install the AgentGuard control plane or a web framework.
agentguard init
# Edit agentguard.yaml with your real prompt, model, tools, and policies.
agentguard scan --local \
--report-json agentguard-report.json \
--sarif agentguard-findings.sarif
Local mode reads the selected manifest only. It executes no model or real tools, calls no external API, reads no environment variables, and accesses no production data.
Because behavioural scenarios cannot run without a model, they are reported as SKIPPED.
The strict command exits 40 (INCOMPLETE) instead of claiming they passed. When your CI
policy intentionally accepts a static-only partial gate, acknowledge that boundary:
agentguard scan --local --allow-incomplete-static --sarif agentguard-findings.sarif
This returns 0 with ALLOWED (PARTIAL) while keeping the skipped coverage visible.
agentguard.yaml or manifest.json.agentguard init creates the recommended agentguard.yaml, a legacy manifest.json, and
a GitHub Actions workflow. Edit the YAML before treating its result as evidence for your
agent—the generated customer-support example is only a template.
AgentGuard auto-discovers files in this order:
agentguard.yamlagentguard.ymlmanifest.jsonYou can select a file explicitly with --manifest path/to/agentguard.yaml.
A configured AgentGuard control plane can evaluate observed model decisions and create an HTML report:
export AGENTGUARD_API_KEY=ag_your_key_here
agentguard scan \
--api-url https://your-agentguard-host \
--agent my-agent \
--manifest agentguard.yaml \
--environment staging \
--html agentguard-report.html
The V1 proof objects are self-attested evidence, not cryptographically signed attestations. The evidence digest answers “is this the same evidence?”; it is not a tamper-proof seal.
| Code | Meaning |
|---|---|
0 | Allowed, including an explicitly accepted partial static gate |
10 | Configuration or execution error |
20 | Blocked by a finding at blocking severity |
30 | Unknown—the evaluation could not reach a trustworthy decision |
40 | Incomplete—behavioural coverage was not run |
agentguard fingerprint --manifest agentguard.yaml
The fingerprint identifies an exact agent configuration. A result for one fingerprint is never silently inherited by a changed prompt, model, tool, or policy configuration.
AgentGuard is open source under the Apache-2.0 license. Contributions and real-world agent integration feedback are welcome.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.2 | 1 Aug 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c0750221c9eb5071ce2f7a06ba76f79a06ef1f1f3479e404e26e15a97f102936