Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
This content is intended for experienced IT professionals, such as IT admins or developers, who are familiar with developer tools, utilities, and integrated development environments (IDEs). Creating this integration requires software development expertise.
Agents Client SDK is an SDK for Android, iOS, and Windows platforms. This SDK lets you communicate with agents developed using Copilot Studio or the Microsoft 365 Agents SDK, from native Android, iOS, and Windows apps.
With Agents Client SDK, we're introducing multimodality to user-agent interaction. Users can now communicate with agents through text or voice, while sharing context through images or screen capture.
The first version of the SDK supports text-based communication and adaptive cards rendering for unauthenticated or anonymous end users with agents created in Copilot Studio. You can add adaptive cards to topics using the Ask with adaptive card option.
Important
Currently the SDK supports only unauthenticated users and can be used in native apps if you deem such usage appropriate and necessary for your end users.
Configure your agent for native apps
Go to your agent in Copilot Studio by selecting Agents and then your agent.
Under Settings > Security > Authentication, select No Authentication.
Go to the Channels page for your agent.
With No authentication selected, a review is recommended.
Select Publish.
The Publish this agent screen appears.
Select Publish. Your agent is published and available for use with the Client SDK.
Get the information you need to integrate with the SDK
Before you add integration for your agent into your app code, you need some details from Copilot Studio about your agent.
Go your agent in Copilot Studio by selecting Agents and then selecting your agent.
Go to Settings > Advanced settings > Metadata.
Take note of the Environment ID and Schema name.
Take note of the deployment environment for your agent. For
copilotstudio.microsoft.comandcopilotstudio.preview.microsoft.com, the deployment environment isprod. Forcopilotstudio.preprod.microsoft.com, the deployment environment ispreprod.
Learn more about the Agents Client SDK
Next, using the information you gathered, you can integrate your agent into your native app code using the Agents Client SDK.
For code and more information about how to integrate your agent into your native app, check out the GitHub repo for your app platform of choice: