# Integrating Pega with Microsoft Foundry AI Agents

**URL:** <https://forums.pega.com/t/integrating-pega-with-microsoft-foundry-ai-agents/13675>\
**Category:** AI\
**Created:** [October 6, 2026, 7:35am UTC](https://forums.pega.com/t/integrating-pega-with-microsoft-foundry-ai-agents/13675 "2026-10-06T07:35:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Diaz](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/fernando_diaz/32/23696_2.png) [@Fernando\_Diaz](https://forums.pega.com/u/Fernando_Diaz)\
**Post date:** [October 6, 2026, 7:35am UTC](https://forums.pega.com/t/integrating-pega-with-microsoft-foundry-ai-agents/13675/1 "2026-10-06T07:35:02Z")

</div>

Hi Pega Community,

With the rapid evolution of Autonomous Agents, one of the most exciting frontiers is how different AI agents can seamlessly collaborate. I recently put together a quick video demo to showcase the power of **Agent-to-Agent (A2A) architecture** by integrating a Pega application with a custom AI agent built in Microsoft Foundry.

**The Value of A2A and External Agent Integration**  
While Pega provides incredible capabilities for process orchestration, state management, and its own robust GenAI features, there are scenarios where you need to delegate highly specialized, open-ended research tasks to an external “expert.” In this demo, that expert is a “News Researcher” agent built in Microsoft Foundry.

The real business value lies in combining these strengths: using Pega as the master orchestrator and conversational interface, while treating the Microsoft Foundry agent as a specialized peer worker. Pega handles the _when_ and _how_, and Foundry handles the heavy cognitive lifting for the specific unstructured task.

**What the Demo Covers:**

- **A2A Communication in Action:** How a Pega conversational Investigation Agent can interact directly with the Foundry agent. Pega delegates the research prompt, waits for the cognitive processing, and returns rich, formatted answers to the user without breaking the conversational flow.

- **Seamless Workflow Integration:** Calling the external Foundry agent via a Connect REST within a Pega Investigation case type, and using a utility shape to map the output into a clean HTML format on the UI.

- **Solving Real-World Integration Challenges:**

Integrating external AI agents into our workflows opens up massive possibilities for automation, but it requires the robust control that Pega provides.

Check out the video and let me know your thoughts!

---

<div class="post-metadata">

**Author:** ![kaspk](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/kaspk/32/23459_2.png) [@kaspk](https://forums.pega.com/u/kaspk)\
**Post date:** [October 6, 2026, 8:40am UTC](https://forums.pega.com/t/integrating-pega-with-microsoft-foundry-ai-agents/13675/2 "2026-10-06T08:40:32Z")

</div>

Thank you for creating this example Fernando!

---

<div class="post-metadata">

**Author:** ![Tim\_Straatsma](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/tim_straatsma/32/23258_2.png) [@Tim\_Straatsma](https://forums.pega.com/u/Tim_Straatsma)\
**Post date:** [October 6, 2026, 8:57am UTC](https://forums.pega.com/t/integrating-pega-with-microsoft-foundry-ai-agents/13675/3 "2026-10-06T08:57:36Z")

</div>

Thanks Fernando, I really like that you show different patterns in your demo of how to connect to the external agent, depending on the exact needs and placement in the case.  
Calling the external agent through an activity in the case flow, and only using a GenAI Connect step to map the response to the Pega Datamodel, is a nice way to decouple dependencies when possible!

---

<div class="post-metadata">

**Author:** ![Fernando\_Diaz](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/fernando_diaz/32/23696_2.png) [@Fernando\_Diaz](https://forums.pega.com/u/Fernando_Diaz)\
**Post date:** [October 6, 2026, 9:09am UTC](https://forums.pega.com/t/integrating-pega-with-microsoft-foundry-ai-agents/13675/4 "2026-10-06T09:09:04Z")

</div>

Thanks Tim! That was exactly the intent behind the llitle demo: showing that there isn’t a single integration pattern, and that the right choice depends on where the external agent fits within the business process.

One of the key advantages of this approach is that it allows Pega to remain the system of orchestration and governance, while external AI agents can evolve independently. By mapping responses back to the Pega data model, we keep the case, auditability, and business logic decoupled from any specific AI implementation, which becomes increasingly important as customers adopt multiple agent platforms.

---

<div class="post-metadata">

**Author:** ![EASLR](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/easlr/32/14017_2.png) [@EASLR](https://forums.pega.com/u/EASLR)\
**Post date:** [October 6, 2026, 7:14pm UTC](https://forums.pega.com/t/integrating-pega-with-microsoft-foundry-ai-agents/13675/5 "2026-10-06T19:14:15Z")

</div>

I like the examples you have here! Well done!

---

<div class="post-metadata">

**Author:** ![SridharM3391](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@SridharM3391](https://forums.pega.com/u/SridharM3391)\
**Post date:** [November 10, 2026, 2:22pm UTC](https://forums.pega.com/t/integrating-pega-with-microsoft-foundry-ai-agents/13675/6 "2026-11-10T14:22:14Z")

</div>

Great usecase and demo.
