Skip to main content

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:

  1. Parses each agent's VG key (tier + 12 class scores)
  2. Computes a relevance score based on the task_type
  3. Combines tier (40%) and relevance (60%) into a composite weight
  4. 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


Download files

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

Source Distribution

autogen_verigent-0.2.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

autogen_verigent-0.2.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autogen_verigent-0.2.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

Hashes for autogen_verigent-0.2.0.tar.gz
Algorithm Hash digest
SHA256 41a5eabf3f74bb167c70f3172cac07d57e2f1cb36f74ec55b86a3e7160975119
MD5 40b0f282ca0ae6d40630aa72ac72066a
BLAKE2b-256 58362612d06005db8c28a207bc37502e51fd33f218514833f35490229359951b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for autogen_verigent-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 568fa197a17b0f26d1d1a0e5fff826b783fda5037ffb142ccd2035d4875d8a66
MD5 de4960caea7050a1d74bf007ae4b44a0
BLAKE2b-256 b1f9b595cfb7650a9986acf5537b559247e0f1919eb5dd2eb35ff0e7e4c3d165

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