Security scanner for AutoGen multi-agent conversations — powered by AgentSentinel on SingularityNET
Project description
agentsentinel-autogen
Security scanner for AutoGen multi-agent conversations.
Powered by AgentSentinel on SingularityNET mainnet.
Install
pip install agentsentinel-autogen
Quick Start
from autogen import AssistantAgent, UserProxyAgent
from agentsentinel_autogen import scan_agents, SecurityAudit
assistant = AssistantAgent(
name="assistant",
llm_config={"model": "gpt-4", "api_key": "..."}
)
user_proxy = UserProxyAgent(
name="user_proxy",
human_input_mode="NEVER",
code_execution_config={"use_docker": False}
)
# Scan before running conversation
report = scan_agents([assistant, user_proxy])
report.print()
# Raise SecurityError on CRITICAL findings
SecurityAudit([assistant, user_proxy], block_on="CRITICAL").scan()
# Then run conversation normally
user_proxy.initiate_chat(assistant, message="Write a report")
What It Checks
- AGT04 —
human_input_mode="NEVER"— no human oversight - AGT08 — High
max_consecutive_auto_reply— resource exhaustion - AGT02 — Code execution without Docker isolation
- AGT02 — Shell/exec functions registered to agents
- AGT03 — Instruction override in system message
- AGT05 — Credentials in agent config
GroupChat Support
from autogen import GroupChat, GroupChatManager
from agentsentinel_autogen import scan_agents
gc = GroupChat(agents=[a1, a2, a3], messages=[], max_round=50)
report = scan_agents([a1, a2, a3], group_chat=gc)
report.print()
Links
MIT License — © 2026 NeuralSentinel
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 agentsentinel_autogen-0.1.0.tar.gz.
File metadata
- Download URL: agentsentinel_autogen-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99f7030601fb861981deb7ee063f0cfe1ca5515e15c0a95ede4e2acc81da29df
|
|
| MD5 |
18e3ffa88b1060479520a2f20f6a1eaf
|
|
| BLAKE2b-256 |
9797f35969d49ac77debdbde711a3d4a6bfd31162dc47e0783d8610b1982d3bc
|
File details
Details for the file agentsentinel_autogen-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentsentinel_autogen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ca41aa5ab2989a0e7f42ca0739b24c6daf2a0a5976ef231770d6ef448cbe5c6
|
|
| MD5 |
3213f620b8437bc8b22b7decefec7a54
|
|
| BLAKE2b-256 |
582ac7c3dc576b31b72fcbb434b6b63f8e62b2a6c538bd1b8ffe1943ccc803c4
|