Skip to main content
Loading navigation
Back to prompt library

AutoGen Multi-Agent Initialization

Linked challenge: pH/ORP Process Control Multi-Agent System with AutoGen & Lakera Security Guardrails

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Import `autogen`. Define `UserProxyAgent`, `SensorAgent`, and `SafetyAgent`. Set up `GroupChat` with a custom message filter function that passes all incoming text through `lakera_guard.scan()` before granting tool execution.