Pega GenAI Agent Auditing and Monitoring
Pega GenAI Agent executions are tracked OOTB to ensure full transparency, monitoring, and auditability of AI-driven interactions.
Architecture Highlights
-
Persistence: Every GenAI Agent execution generates an instance of the
Pega-Autopilot-Conversationclass (a work-derived class). -
Case ID: These instances use the prefix PXCONV-.
-
Context Management: This case acts as the “memory” for the agent, storing the conversation history and providing the necessary context for multi-turn interactions.
-
Linking: * Assistant ID: Records the specific Agent rule instance used.
- pyContextID: Maps the conversation back to the caller’s instance key (e.g., a specific Case ID), allowing you to see which case triggered the agent.
Monitoring & Tracing
-
AI Tracer: This specialized tool captures the granular “Reasoning and Acting” (ReAct) steps. It allows developers to see how the agent interpreted a prompt, which tools it chose to call, and the raw data exchanged with the LLM.
-
Tracing Workflow Agents: While the AI Tracer is primarily launched from standalone agent sessions (like landing page widgets), the
PXCONV-case remains the primary audit source when agents are executed via the Run Agent smart shape within a workflow. -
Execution Visibility: The execution path and tool data context are stored within the conversation instance, providing a permanent record of how the AI arrived at a specific conclusion or action.

