Chapter 5: Multi-Agent AI Solutions

July 13, 2026 Β· View on GitHub

πŸ“š Course: AZD For Beginners | ⏱️ Duration: 2-3 hours | ⭐ Complexity: Advanced


Overview

This chapter covers advanced multi-agent architecture patterns, agent orchestration, and production-ready AI deployments for complex scenarios.

Validated against azd 1.27.1 in July 2026.

Learning Objectives

By completing this chapter, you will:

  • Understand multi-agent architecture patterns
  • Deploy coordinated AI agent systems
  • Implement agent-to-agent communication
  • Build production-ready multi-agent solutions

πŸ“š Lessons

#LessonDescriptionTime
1Multi-Agent BasicsHands-on: deploy a working multi-agent app with azd up45 min
2Coordination PatternsAgent orchestration strategies (continues in Chapter 6)30 min
3ARM Template DeploymentOne-click deployment example30 min

Start with Lesson 1. It's the only fully hands-on, deployable lesson in this chapter. Lesson 2 lives in Chapter 6 (it's shared with pre-deployment planning), and the Retail Multi-Agent Solution is an architecture blueprintβ€”a design reference, not a one-command template.


πŸš€ Quick Start

# Option 1: Deploy from a template
azd init --template agent-openai-python-prompty
azd up

# Option 2: Deploy from an agent manifest (requires azure.ai.agents extension)
azd extension install azure.ai.agents
azd ai agent init -m agent-manifest.yaml
azd up

Which approach? Use azd init --template to start from a working sample. Use azd ai agent init when you have your own agent manifest. See the AZD AI CLI reference for full details.


πŸ€– Multi-Agent Architecture

graph TD
    Orchestrator[Orchestrator Agent<br/>Routes requests, manages workflow] --> Customer[Customer Agent<br/>User queries, preferences]
    Orchestrator --> Inventory[Inventory Agent<br/>Stock levels, orders]

The Retail Multi-Agent Solution demonstrates:

  • Customer Agent: Handles user interactions and preferences
  • Inventory Agent: Manages stock and order processing
  • Orchestrator: Coordinates between agents
  • Shared Memory: Cross-agent context management

Services Used

ServicePurpose
Microsoft Foundry ModelsLanguage understanding
Azure AI SearchProduct catalog
Cosmos DBAgent state and memory
Container AppsAgent hosting
Application InsightsMonitoring

DirectionChapter
PreviousChapter 4: Infrastructure
NextChapter 6: Pre-Deployment