Publish and use your agent

In the previous labs, you created and refined a computing history agent in Microsoft Foundry and Visual Studio Code. In this final lab, you move from development into consumption by publishing the agent and connecting it to a simple client app.

Publishing gives your agent a dedicated endpoint that applications can call by using the OpenAI Responses API. That means you can move beyond playground testing and start integrating the agent into a real user experience.

In this lab, you’ll configure and complete a Python client application that sends prompts to your agent’s dedicated endpoint.

This exercise should take approximately 20 minutes to complete.

(VIDEO TO BE ADDED)
Screenshot of the client application for the published agent.
After publishing your agent, you can connect a client application to its Responses API endpoint and chat with it outside the Foundry playground.

Exercise: Publish and use your agent

This exercise is available in a hosted lab environment, provided by our partner Skillable.

Screenshot of Skillable lab environment

Launch Hosted Lab

Summary

In this exercise, you published an agent that you have developed, and implemented a client application that uses it.

Next steps

This is the third and final exercise in a series of lab exercises. Check out the following training resources to dive deeper into AI app and agent development on Azure:

Tip: If you have finished exploring Microsoft Foundry, you should delete the Azure resources created in this exercise to avoid unnecessary utilization charges.