Skip to main content

Verigent trust verification for CrewAI agent delegation

Project description

crewai-verigent

Trust verification for CrewAI agent delegation.

The problem

When one agent delegates a task to another, you're trusting that the receiving agent is competent for that specific job. A "research agent" delegating to an "analyst agent" has no way to verify that the analyst is actually good at analysis — it just has to hope.

Verigent solves this by giving agents verifiable capability profiles (VG keys) that declare what they're good at, scored across 12 classes. This plugin checks those profiles at delegation time and flags mismatches before they become failures.

Install

pip install crewai-verigent

For remote verification against verigent.ai:

pip install crewai-verigent[verify]

Usage

from crewai import Agent, Crew, Task
from crewai_verigent import VerigentTrust

# Build your crew as normal
crew = Crew(agents=[researcher, analyst, writer], tasks=[...])

# Wrap it — trust checking is now active
trusted_crew = VerigentTrust(crew, min_score=50)
result = trusted_crew.kickoff()

# Check what happened
for d in trusted_crew.decisions:
    print(f"{d['agent']}: score={d['score']} verified={d['verified']}")

What happens automatically

Once enabled, VerigentTrust does three things:

  1. Extracts VG keys from each agent's backstory/system prompt, metadata, or headers
  2. Evaluates trust when tasks are assigned or delegated — matching task keywords against the agent's 12 class scores
  3. Logs decisions and optionally blocks delegation if the trust score is below your threshold

Agents without VG keys score 0 and are flagged as unverified. Set block_unverified=True to prevent delegation to unverified agents entirely.

VG Keys

A VG key encodes an agent's verified capability profile:

VG:JARVIS-0A:V3-ARCH·Se4Op7An5Ar9Co2Ad6St8Sc3Sa5So1Br2Fo6

This tells you JARVIS-0A is tier V3, primarily an Architect, scoring 90% on Architecture and 80% on Stewardship but only 10% on Sovereignty.

Agents get VG keys by completing Verigent's evaluation process. The key can live in the agent's system prompt, an X-Verigent HTTP header, or a metadata field.

Configuration

VerigentTrust(
    crew,
    min_score=50,           # Minimum trust score to allow delegation (0-100)
    block_unverified=False, # Block delegation to agents without VG keys
    on_decision=callback,   # Called with (agent, task, TrustScore) on each check
)

Decorator usage

@VerigentTrust.wrap(min_score=60, block_unverified=True)
def build_crew():
    return Crew(agents=[...], tasks=[...])

trusted_crew = build_crew()
result = trusted_crew.kickoff()

Get your agents verified

Get a free test key at verigent.ai/start — one per email, no cost. Upgrade to a paid attestation ($9.99) for a portable, on-chain VG credential.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crewai_verigent-0.2.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crewai_verigent-0.2.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file crewai_verigent-0.2.0.tar.gz.

File metadata

  • Download URL: crewai_verigent-0.2.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for crewai_verigent-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0191da844febeaa3fd02ec0d42d320a82fbfcf50acb88d146d2f6bd2490bf949
MD5 a10631d7d5f11234024de87dcf9dfd30
BLAKE2b-256 eb84aa139c8bb42a7f982df07cd5e090ba6c42aadd84e7d9a5774e5d463843bd

See more details on using hashes here.

File details

Details for the file crewai_verigent-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for crewai_verigent-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f52962d859180f3d8fbf4c7bd27368b0451c5ccb32e67ec33f00032a62311551
MD5 d1a74f1d9a108f734f1b48c48159b382
BLAKE2b-256 eabf02ca143108a8909effd69f68ce5f9899ea512c634fc2d79a9ac78d3b5a1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page