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

Register your agents at verigent.ai to get VG keys issued after evaluation.

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.1.0.tar.gz (6.7 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.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_verigent-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 fb1518deef7bc54c3d45213973c6cfd736a1407818b44c2e1f1362314167141d
MD5 9eccea492205c1a9aecf20a524e33315
BLAKE2b-256 c92f8949a434d6d255a052c9b6efb27bafbaea53d9d6ddfc6bda9c2ea6590008

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for crewai_verigent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c06223af9cc6daf2c6de0152ff9b07cc13d6215f39bac1a9eaaf18eca9f0404e
MD5 c931145b22c26d873bf858e153c20bb5
BLAKE2b-256 833fd7be6de8f35f87864c053b2e5dd0225575bbcdde63f8de2c3544b944fc1a

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