Launch an Agent or GenAI Connect Rule from a Button in a Case to Generate Content

I’ve used GenAI Connect rules and Agents as steps within a workflow, but is it possible to launch an Agent or GenAI Connect rule on the fly within a case - based on a form action like the click of a button? For example, if I have a rich text editor field where I need to draft something, I can click a “GenAI Assist” button next to that field and it pops-up with some recommended language for that specific field that I can copy and paste include. Is this feasible, or would I just need to use the Case Type agent and ask it for what I need?

Pega GenAI Connect rules can be invoked as part of automation and are designed to return generated content that can be mapped to fields, while Pega also provides runtime GenAI assistance patterns such as GenAI Coach in Constellation

use a UI-triggered action that invokes a Pega GenAI Connect rule with the current case context, then show the generated text in a popup or temporary field for the user to review and insert

Hello Kristen,

Yes it’s very much possible to interact with the case processing agent from within the case context. We can add the agent from app studio as widgets. Please check below if this what you are looking for.