Skip to main content

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

Metadata

Release files for agentsentinel-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)

Source distribution for agentsentinel-autogen 0.1.0
File Size Uploaded Provenance Actions
agentsentinel_autogen-0.1.0.tar.gz 5.8 kB Without provenance Details for agentsentinel_autogen-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentsentinel-autogen 0.1.0
File Interpreter ABI Platform Actions
agentsentinel_autogen-0.1.0-py3-none-any.whl Python 3 none any Details for agentsentinel_autogen-0.1.0-py3-none-any.whl

Total release size: 11.9 kB

Release files / agentsentinel_autogen-0.1.0.tar.gz

Download URL agentsentinel_autogen-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
99f7030601fb861981deb7ee063f0cfe1ca5515e15c0a95ede4e2acc81da29df
BLAKE2b-256 checksum
How to use checksums
9797f35969d49ac77debdbde711a3d4a6bfd31162dc47e0783d8610b1982d3bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / agentsentinel_autogen-0.1.0-py3-none-any.whl

Download URL agentsentinel_autogen-0.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ca41aa5ab2989a0e7f42ca0739b24c6daf2a0a5976ef231770d6ef448cbe5c6
BLAKE2b-256 checksum
How to use checksums
582ac7c3dc576b31b72fcbb434b6b63f8e62b2a6c538bd1b8ffe1943ccc803c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for agentsentinel-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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page