Implement generative AI apps and agents by using Foundry
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Microsoft Azure AI Fundamentals premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- From a deployed model to a working application
- What belongs in the system prompt
- Sharpening a prompt: specifics, examples, and an out
- Deploy a model and test it in the Foundry portal
- A lightweight chat client with the Foundry SDK
- What a prompt agent is made of
- Testing an agent in the agents playground
- Controlling whether a tool gets called
- Calling an agent from application code
- How AI-901 phrases questions about this objective
Where the configuration lives for the same request
| Comparison point | Foundry playground | Model client (Foundry SDK) | Agent client (Foundry SDK) |
|---|---|---|---|
| Instructions and tools are set | In the portal, for the session you are testing | In each request your code sends | In the stored agent definition |
| The request identifies | The deployment whose playground is open | The deployment name | The agent name, through an agent reference |
| Code you write | None | Python client code | Python client code |
| Conversation history comes from | The playground conversation | A conversation you create, or a transcript your code resends | A conversation you create, or the previous response |
| Changing the behavior means | Editing the form and retesting | Editing and redeploying your application | Creating a new version of the agent definition |
| Reach for it when | Iterating on prompts and first checks | One application needs a generation call | Several applications share one configured behavior |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- Microsoft Foundry playgrounds
- Safety system messages - Microsoft Foundry
- Prompt engineering techniques - Microsoft Foundry
- Get started with Microsoft Foundry SDKs and endpoints
- How to generate text responses with Microsoft Foundry Models
- Tool best practices for Microsoft Foundry Agent Service
- What is Microsoft Foundry Agent Service?
- Build with agents, conversations, and responses in Foundry Agent Service
- Quickstart: Create a prompt agent - Microsoft Foundry
- Study guide for Exam AI-901: Microsoft Azure AI Fundamentals