AutoGen has multiple major-package eras in the wild. The example below uses the current
autogen-agentchat and autogen-ext[openai] packages rather than the older pyautogen setup.AutoGen
X-Xenovia-Session-Id there so every turn lands in the same Xenovia session.
CrewAI
How multi-agent traces work
In multi-agent setups, each framework agent’s turn is a separate call through the Xenovia endpoint. Each call:- Gets its own
X-Xenovia-Trace-Id - Is evaluated independently by the request-stage Rego policy
- Is grouped under the shared
X-Xenovia-Session-Id
Handling policy blocks
When a request is blocked by policy, AutoGen and CrewAI surface the upstream403. Add framework-level error handling around the top-level run call so you can log the failure and trace ID cleanly.