Skip to main content

Trust verification tool for AutoGen multi-agent conversations. Check agent safety before interaction.

Project description

nerq-autogen

Trust verification tool for AutoGen multi-agent conversations. Check agent safety before interaction with the Nerq Trust Index.

Install

pip install nerq-autogen

Quick Start

from nerq_autogen import trust_check_tool

# Register as an AutoGen tool
tool = trust_check_tool(min_trust=70)

Full Example — Multi-Agent Conversation

import autogen
from nerq_autogen import NerqTrustTool

trust = NerqTrustTool(min_trust=70)

# Check before adding an agent to conversation
result = trust.check("langchain")
if result["approved"]:
    print(f"Agent approved: score={result['trust_score']}, grade={result['trust_grade']}")
else:
    print(f"Agent rejected: score={result['trust_score']}")

# Use as AutoGen function tool
assistant = autogen.AssistantAgent("assistant", llm_config={"tools": [trust_check_tool()]})

Configuration

Parameter Default Description
min_trust 60 Minimum trust score to approve
api_base https://nerq.ai Nerq API endpoint
cache_ttl 300 Cache TTL in seconds

Response Format

{
    "agent_name": "langchain",
    "trust_score": 88.5,
    "trust_grade": "A",
    "approved": True,
    "recommendation": "PROCEED"
}

Links

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

nerq_autogen-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

nerq_autogen-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerq_autogen-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nerq_autogen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c18e9bba164007de04687ecb728f9efb50407d80df889224f89e58a8f0f7856
MD5 26556cae5ebb4bde57dd23d1d6fc2996
BLAKE2b-256 f022e253f563847039c3edc00d50613d5b0337f10e141e25df2c34fcc9248c2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nerq_autogen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nerq_autogen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3df2da38e64d77ba535368cd0d727fe30e1457547c2abe9498cc57213f94de34
MD5 b0a9e7b0df770e49820b5cc5bfb416d4
BLAKE2b-256 11f45313028959ec6bd7269a57d4355d632308a67a7127cd3845d5f5f16c2716

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