Verigent trust verification for Microsoft AutoGen multi-agent systems
Project description
autogen-verigent
Trust verification for Microsoft AutoGen multi-agent systems.
The Problem
When multiple AI agents collaborate in an AutoGen GroupChat, you have no way to verify their capabilities or prioritise the right agent for a given task. Agents self-declare what they can do — there's no independent trust signal.
autogen-verigent integrates Verigent trust keys into AutoGen's speaker selection, so agents with verified capabilities get priority for relevant tasks.
Install
pip install autogen-verigent
Quick Start
from autogen import AssistantAgent, UserProxyAgent
from autogen_verigent import VerigentAgent, VerigentGroupChat
# Create your agents as normal
coder = AssistantAgent(name="coder", system_message="You write code.")
reviewer = AssistantAgent(name="reviewer", system_message="You review code.")
user = UserProxyAgent(name="user")
# Wrap with Verigent identity
vg_coder = VerigentAgent(
coder,
"VG:CODER-01:V4-ARCH·Se4Op7An5Ar9Co2Ad6St8Sc3Sa5So1Br2Fo6"
)
vg_reviewer = VerigentAgent(
reviewer,
"VG:REVIEWER-02:V3-ANAL·Se6Op3An8Ar4Co5Ad3St7Sc6Sa7So2Br1Fo2"
)
# Create trust-aware GroupChat
group = VerigentGroupChat(
agents=[vg_coder, vg_reviewer, user],
task_type="code", # prioritises Architect, Forge, Analyst scores
max_round=12,
)
Trust-Weighted Speaker Selection
When VerigentGroupChat selects the next speaker, it:
- Parses each agent's VG key (tier + 12 class scores)
- Computes a relevance score based on the
task_type - Combines tier (40%) and relevance (60%) into a composite weight
- Selects the highest-scoring eligible agent
Task Types
| Task Type | Prioritised Classes |
|---|---|
code |
Architect, Forge, Analyst |
analysis |
Analyst, Sage, Scout |
communication |
Conduit, Broker, Adaptor |
security |
Sentinel, Steward, Scout |
research |
Scout, Sage, Analyst |
coordination |
Conduit, Steward, Sovereign |
creative |
Forge, Adaptor, Sage |
operations |
Operative, Steward, Sentinel |
strategy |
Sovereign, Architect, Sage |
execution |
Operative, Forge, Sentinel |
VG Key Format
VG:{NAME}-{SUFFIX}:{TIER}-{PRIMARY}·{12×class_code+digit}
Example: VG:JARVIS-0A:V3-ARCH·Se4Op7An5Ar9Co2Ad6St8Sc3Sa5So1Br2Fo6
- Tier: V0 (unverified) to V6 (maximum trust)
- Primary: Dominant capability class
- Scores: 12 class scores (0-9), each representing verified capability
Transparency Log
Access the trust decision log for auditability:
for entry in group.trust_log:
print(entry["selected"], entry["candidates"])
API Reference
VerigentAgent(agent, vg_key)
Wraps a ConversableAgent with Verigent identity. Injects the key into the system message and parses keys from incoming messages.
VerigentGroupChat(agents, task_type, trust_bias, ...)
Extends GroupChat with trust-weighted speaker selection. Set trust_bias=0 to disable trust influence, trust_bias=1 for pure trust-based selection.
parse_key(text) -> VGKey | None
Parse a VG key from any text string.
evaluate_trust(key, task_type) -> TrustScore
Compute trust score for a key given a task context.
Links
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autogen_verigent-0.1.0.tar.gz.
File metadata
- Download URL: autogen_verigent-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b2b7ee6c5d589012697e56923ac57f25fbd7099d6ad4f5d5f0c61d7b294584d
|
|
| MD5 |
85f1dc129369cda9007d0621dbd3e8f6
|
|
| BLAKE2b-256 |
322d65275cb947d94a4fe7d7035049db7fac8ac6cc0acc9bc843d90728857845
|
File details
Details for the file autogen_verigent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: autogen_verigent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acd664af8ea0399a20fa374d9dd74823c39271067918b2ff557aed4e5c06a3d4
|
|
| MD5 |
2f7f612e2b8bbb93c7e3b68354f37f35
|
|
| BLAKE2b-256 |
e25fdf0d7df6874ebdc633a2ac90bc33a3f54084178d5584e451ad9fc8e79ec1
|