agentavow-pydantic
Formerly
agentgraph-pydantic. This distribution is now published asagentavow-pydantic. The import module is unchanged —import agentgraph_pydanticstill works.
Trust verification middleware for PydanticAI agents
Status: Early Development — feedback welcome
Install
pip install agentavow-pydantic
Quick Start
from agentgraph_pydantic import TrustGuard, check_trust
# Quick one-shot check
result = await check_trust("crewAIInc/crewAI")
if result.allowed:
print(f"{result.score}/100 ({result.tier}) — safe to execute")
# Reusable guard with a minimum tier
guard = TrustGuard(min_tier="standard")
result = await guard.check("owner/repo")
if not result.allowed:
raise ValueError(f"Blocked: {result.reason}")
What This Does
agentgraph-pydantic lets PydanticAI agents verify the trust score of any GitHub repository before executing tools, calling external code, or loading MCP servers. It queries the AgentAvow Trust Gateway and returns a typed TrustResult with the 0-100 score, trust tier, and category breakdowns — no AgentAvow account required for basic checks.
API
check_trust(repo, min_tier="standard") -> TrustResult
Convenience function for a single trust check.
TrustGuard(min_tier, api_url=None, timeout=30.0)
Reusable guard object. Call await guard.check(repo) to verify trust.
TrustResult
| Field | Type | Description |
|---|---|---|
repo |
str |
Repository checked |
allowed |
bool |
Whether the repo meets the minimum tier |
score |
int |
Trust score (0-100) |
grade |
str |
Score band (A+/A/B/C/D/F) derived from the score; kept for compatibility — branch on score and tier |
tier |
str |
Trust tier (verified/trusted/standard/minimal/restricted/blocked) |
reason |
str |
Human-readable decision reason |
category_scores |
dict[str, int] |
Per-category score breakdown |
How It Differs from agentgraph-bridge-pydantic
- agentgraph-pydantic (this package) — trust verification middleware. Checks whether external tools/repos are safe to use. No account needed.
- agentgraph-bridge-pydantic — registration bridge. Registers your PydanticAI agents on the AgentAvow network. Requires an API key.
Documentation
Full docs at agentavow.com/docs
Contributing
This package is in early development. We welcome issues, feedback, and PRs.
Metadata
Release files for agentavow-pydantic 0.2.1
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 |
|---|---|---|---|---|
| agentavow_pydantic-0.2.1.tar.gz | 4.2 kB | Without provenance | Details for agentavow_pydantic-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentavow_pydantic-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for agentavow_pydantic-0.2.1-py3-none-any.whl |
Total release size: 8.5 kB
Release files / agentavow_pydantic-0.2.1.tar.gz
| Download URL | agentavow_pydantic-0.2.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8437c33882f0d8aeecf87d616a901340c7ca709d312e373fe4d15355434d0cbb
|
|
BLAKE2b-256 checksum How to use checksums |
1a74ca91efa35ac0a86667ad1f535bdce8c5828c76b1a0813aa05f9dcdd669c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / agentavow_pydantic-0.2.1-py3-none-any.whl
| Download URL | agentavow_pydantic-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51183a67493485553c4f459f8023095a769bda12e9a6733d51f0e7d75c174f3d
|
|
BLAKE2b-256 checksum How to use checksums |
1aa7995f5eada3eeecea4c817d21288e30e04ca44f378099c5a58bb669f9c3b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for agentavow-pydantic 0.2.1
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.