Overview
RAXE providesRaxeConversationGuard for automatic security scanning of AutoGen multi-agent conversations. The integration uses AutoGen’s hook system to intercept messages without modifying your agent code.
Installation
Quick Start
Configuration
Multi-Agent Scenarios
Register Multiple Agents
GroupChat
Error Handling
Callbacks
Best Practices
Start with log-only mode
Start with log-only mode
Monitor threats before enabling blocking:
Register all conversation participants
Register all conversation participants
Ensure all agents are protected:
Handle blocking gracefully
Handle blocking gracefully
Catch exceptions for user-friendly responses:
AutoGen v0.4+ (Wrapper-based)
For AutoGen v0.4+ which uses the async message-based API, usewrap_agent():
Supported Versions
| AutoGen Version | API Style | Status |
|---|---|---|
| pyautogen 0.2.x | Hook-based (register()) | Supported |
| autogen-agentchat ~= 0.2 | Hook-based (register()) | Supported |
| autogen-agentchat 0.4.x+ | Wrapper-based (wrap_agent()) | Supported |
| AG2 (fork) | Hook-based | Compatible |
