GenAI & Agents
Domain 2 · 30–35% of the AI-103 exam
Deploy and call models, ground them with RAG, build tool-using agents and multi-agent workflows with approvals, then tune, trace and evaluate everything in production.
Start the first lesson ❯ 13 of 13 lessons ready
Lessons in this module
- 1 Deploy and Call Models from Your App Deploy large, small, code and multimodal models in Microsoft Foundry, then call the deployment name from Python with the project endpoint and keyless sign-in.
- 2 Retrieval-Augmented Generation (RAG) in an App Build retrieval-augmented generation in Python: chunk and embed documents, run hybrid search in Azure AI Search, and answer with citations from a Foundry model.
- 3 Workflows, Tool-Augmented Flows and Multistep Reasoning Design multistep AI workflows: classify, extract to a JSON schema, call a tool, draft and verify, with retries, fallbacks and checks between every step.
- 4 Evaluate Models and Apps: Groundedness, Relevance and Safety Score a generative app with built-in evaluators for groundedness, relevance, coherence and safety, find fabrications, and compare a change on the same dataset.
- 5 Foundry SDKs and Connectors Use the Foundry SDK (azure-ai-projects) with a project endpoint and Entra ID sign-in to reach models, agents and connections such as Azure AI Search, keylessly.
- 6 Design an Agent: Role, Goals, Threads and Tool Schemas Design an agent in Foundry Agent Service: write a role and goal in instructions, define strict function schemas, track the conversation and version changes.
- 7 Agents with Retrieval, Function Calling and Memory Give a Foundry agent file search, Azure AI Search, functions, OpenAPI and MCP tools, plus memory that carries user facts from one conversation to the next.
- 8 Multi-Agent Orchestration Split a job across specialist agents and pick an orchestration pattern in Microsoft Agent Framework: sequential, concurrent, handoff, group chat or Magentic.
- 9 Autonomous Agents with Safeguards and Approvals Build semi-autonomous agents safely: let reads run, require approval on write tools, enforce hard limits in code, and keep a trace of every decision.
- 10 Monitor, Evaluate and Debug Agents Evaluate agent runs with intent resolution, tool call accuracy and task adherence, run error analysis on failures and monitor deployed agents in production.
- 11 Prompt Engineering, Parameters and Self-Critique Tune what a model produces: write clear instructions, add few-shot examples, set temperature, top_p and max output tokens, and use self-critique loops.
- 12 Tracing, Token Analytics and Latency Trace agent and model calls with OpenTelemetry into Application Insights, then read spans for tokens, latency and safety signals to find slow or costly steps.
- 13 Orchestrate Multiple Models and Rules Engines Route each request to the cheapest component that handles it: rules first, a small language model next, a large or reasoning model only when needed.
Hands-On Labs
Every section of this domain has guided labs in the practice portal and Cloud Shell. No Azure account, nothing to pay, and your progress stays in this browser.