Preview of the Agent response component in an app
  • 1 min read

Customize model-driven forms to leverage Copilot Studio content in your apps (Preview)


We’re excited to announce the public preview of two powerful new capabilities in Microsoft Power Apps: Agent APIs and Agent response component. These features were shown in the Microsoft Build session Extend your Copilot Agent in Power Apps with Copilot Studio and new SDK’s. With them, you unlock new ways to integrate Microsoft Copilot Studio (MCS) into your model-driven apps, enabling richer, more contextual, and more intelligent user experiences.

Agent APIs

The Agent API provides a robust set of methods that allow makers to programmatically interact with topics created in Copilot Studio. Available through both the Xrm.Copilot and PcfContext.Copilot namespaces, these APIs enable two core operations:

  • executeEvent: Triggers a topic based on a registered event name and returns a structured response.
  • executePrompt: Sends a natural language prompt to MCS and receives a response based on trigger phrases defined in the topic.

These APIs are designed for use within model-driven apps and can be embedded in XRM event handlers or custom PCF controls. They return rich JSON responses that include markdown, adaptive cards, and media giving makers full control over how to use and display Copilot-generated content.

During Microsoft Build, we demonstrated adding a custom PCF which provided rich interaction of the content in the model-driven form.

Model-driven form showing a custom PCF using the Agent API to retrieve results from a Copilot Studio agent.

Agent response component

The Agent response component allows a maker to easily add the Copilot Studio content into a model-driven form using a provided component. The component supports rendering markdown, adaptive card, image or video content.

The Build session showed how to render a rich adaptive card for a polished experience.

Model-driven form showing a Agent Response component rendering an Adaptive Card result from a Copilot Studio agent.

For more information about the capabilities, see

Please reach out using our community forum Agent APIs and Component – Public Preview to ask questions or report issues.

a man smiling for the camera

Adrian Orth

See Adrian Orth posts

Related Content

  • Power Apps
    Power Fx code in the Power Apps Formula bar showing a User Defined Function.
    • 6 min read

    What’s new in Power Apps: June 2025 Feature Update

    AI-powered Development Check out the latest updates in this month’s Power Apps Pulse! This month we’re giving you tools to share plans with your project stakeholders, we’ve added a maker setting to tailor your authoring experience, and we want *your* feedback about User Defined Functions and User Defined Types! Take a look at these updates […]