Share via


Bring intelligence into model driven apps and custom components using Agent Xrm and PCF APIs

Enabled for Public preview Early access General availability
Users by admins, makers, or analysts Jun 18, 2025 - -

Business value

Application user productivity increases when developers bring intelligence into their apps and custom code controls by using the new Agent Xrm and Power Apps component framework APIs. These new APIs make it faster and easier for developers to create custom AI experiences for app users.

Feature details

New APIs enable you to run a topic on Microsoft Copilot Studio custom agent that powers the model-driven app. You can find these APIs in the Client API and the Power Apps component framework API. With these APIs, developers can easily add custom AI intelligence into the work flow for business users. Use these AI APIs when you build custom code with web resources or PCF.

Both the Client API and Power Apps component framework API include two new APIs:

  • The executeEvent API uses the event name to call a specific Copilot Studio topic. It passes the app, page, and record context. This API also accepts extra context.
  • The executePrompt API uses the prompt for Copilot Studio to orchestrate the topic to call. This API call also includes the app, page, and record context.

These APIs use the custom agent described in Customize Copilot chat using Copilot Studio (preview).

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

Additional resources

FAQ for Agent APIs and Agent Response component (docs)