Skip to main content
Loading navigation
Back to prompt library

Setup AutoGen Agents with Lakera Security

Linked challenge: Multi-Agent Hotel Megaproject Procurement Guardrail System with AutoGen and Lakera

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Define `BuyerAgent`, `VendorAgent`, and `SecurityModeratorAgent` using `autogen.ConversableAgent`. In `SecurityModeratorAgent`, filter all incoming messages using `lakera_guard.check()` before passing them to `GroupChat`.