- Python
- TypeScript
Installation
Usage
Wrap anyConversableAgent (or subclass) with wrap_autogen_agent. The wrapper patches generate_reply to trace every agent response.With guardrails
Passguardrails=True to run pre/post content checks on each agent reply.Wrap each agent individually.
wrap_autogen_agent patches only the agent it receives — other agents in the conversation are not automatically traced.
