Rule Identification and Analysis in Pega GenAI

My use case is to implement a Pega GenAI Agent that can, at runtime, help identify the Activities, Data Transforms, Data Pages, and other rules being executed behind a particular screen or case. The agent should also provide contextual information about how these rules are being invoked, their execution flow, and their dependencies.

The current challenge is that there is no readily available tool or API that enables the agent to dynamically discover and retrieve the rules associated with a screen or case at runtime. As a result, the agent lacks visibility into the underlying rule execution context.

can anyone guide me how to make this work through any tool or workaround

Hello Arya, something like running your usecase with tracer / Performance Anlayser or Performance profile on, and extracting that data and feeding to the Agent. With the right instructions it should be able to build your outcome. But it would be per usecase specific outcome. But may I know how you are going to use this outcome?