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
Metadata
Release files for nerq-autogen 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nerq_autogen-0.1.0.tar.gz | 4.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nerq_autogen-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / nerq_autogen-0.1.0.tar.gz
| Download URL | nerq_autogen-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c18e9bba164007de04687ecb728f9efb50407d80df889224f89e58a8f0f7856
|
|
BLAKE2b-256 checksum How to use checksums |
f022e253f563847039c3edc00d50613d5b0337f10e141e25df2c34fcc9248c2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / nerq_autogen-0.1.0-py3-none-any.whl
| Download URL | nerq_autogen-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3df2da38e64d77ba535368cd0d727fe30e1457547c2abe9498cc57213f94de34
|
|
BLAKE2b-256 checksum How to use checksums |
11f45313028959ec6bd7269a57d4355d632308a67a7127cd3845d5f5f16c2716
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for nerq-autogen 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.