Skip to content

Commit 625a9bd

Browse files
Merge pull request #54409 from petender/petender-transition-agent
Petender transition agent - new module content
2 parents b5d6480 + 98a7b11 commit 625a9bd

19 files changed

Lines changed: 667 additions & 0 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.transition-traditional-ops-agent-automation.introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: "This unit introduces the agentic DevOps module and outlines how AI agents can transform traditional ops workflows."
7+
ms.date: 04/24/2026
8+
author: petender
9+
ms.author: petender
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/1-introduction.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.transition-traditional-ops-agent-automation.understand-shift-manual-ops-ai-assisted
3+
title: Understand the shift from manual ops to AI-assisted workflows
4+
metadata:
5+
title: Understand the Shift from Manual Ops to AI-Assisted Workflows
6+
description: "This unit traces the evolution from manual operations through scripted automation and AI prompts to agentic workflows."
7+
ms.date: 04/24/2026
8+
author: petender
9+
ms.author: petender
10+
ms.topic: unit
11+
durationInMinutes: 8
12+
content: |
13+
[!include[](includes/2-understand-shift-manual-ops-ai-assisted.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.transition-traditional-ops-agent-automation.explore-agentic-devops-concept
3+
title: Explore the agentic DevOps concept
4+
metadata:
5+
title: Explore the Agentic DevOps Concept
6+
description: "This unit explains what agentic DevOps means, covering multi-agent patterns, the conductor pattern, and artifact-based communication."
7+
ms.date: 04/24/2026
8+
author: petender
9+
ms.author: petender
10+
ms.topic: unit
11+
durationInMinutes: 8
12+
content: |
13+
[!include[](includes/3-explore-agentic-devops-concept.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.transition-traditional-ops-agent-automation.define-agents-instructions-skills-prompts
3+
title: Define agents with instructions, skills, and prompts
4+
metadata:
5+
title: Define Agents with Instructions, Skills, and Prompts
6+
description: "This unit details the four building blocks of agentic workflows and how they work together."
7+
ms.date: 04/24/2026
8+
author: petender
9+
ms.author: petender
10+
ms.topic: unit
11+
durationInMinutes: 9
12+
content: |
13+
[!include[](includes/4-define-agents-instructions-skills-prompts.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.transition-traditional-ops-agent-automation.design-multi-agent-workflows
3+
title: Design multi-agent workflows for infrastructure tasks
4+
metadata:
5+
title: Design Multi-Agent Workflows for Infrastructure Tasks
6+
description: "This unit walks through the practical steps of designing agent pipelines for common ops workflows."
7+
ms.date: 04/24/2026
8+
author: petender
9+
ms.author: petender
10+
ms.topic: unit
11+
durationInMinutes: 9
12+
content: |
13+
[!include[](includes/5-design-multi-agent-workflows.md)]
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.transition-traditional-ops-agent-automation.knowledge-check
3+
title: Module assessment
4+
metadata:
5+
title: Module Assessment
6+
description: "Knowledge check for the agentic DevOps module."
7+
ms.date: 04/24/2026
8+
author: petender
9+
ms.author: petender
10+
ms.topic: unit
11+
module_assessment: true
12+
ai_generated_module_assessment: false
13+
durationInMinutes: 3
14+
quiz:
15+
title: ""
16+
questions:
17+
- content: "An operations team currently writes Bicep templates manually and deploys them using Azure CLI scripts. They want to reduce the coordination overhead between the architecture review, code generation, and deployment stages. Which characteristic of an agentic workflow addresses this challenge?"
18+
choices:
19+
- content: "Persistent domain knowledge stored in skill files"
20+
isCorrect: false
21+
explanation: "Persistent domain knowledge helps enforce organizational standards, but it doesn't directly address the coordination between workflow stages. Multi-step orchestration is what replaces manual coordination."
22+
- content: "Multi-step orchestration through a conductor agent"
23+
isCorrect: true
24+
explanation: "A conductor agent coordinates the handoffs between specialized agents, eliminating the need for a human to manually sequence steps and pass outputs between stages."
25+
- content: "Automatic injection of coding instructions based on file patterns"
26+
isCorrect: false
27+
explanation: "Auto-injected instructions enforce coding standards on output files, but they don't manage the sequencing and coordination between pipeline stages."
28+
- content: "A cloud administrator is building a multi-agent pipeline for environment provisioning. The architecture agent needs to know which Azure services and SKUs the organization has approved. Where should this information be stored?"
29+
choices:
30+
- content: "In the conductor agent's system prompt"
31+
isCorrect: false
32+
explanation: "The conductor manages workflow orchestration, not domain-specific knowledge. Embedding SKU tables in the conductor would bloat its context and make the information unavailable to other agents that need it."
33+
- content: "In an instruction file with an applyTo glob pattern"
34+
isCorrect: false
35+
explanation: "Instructions are auto-injected coding standards tied to file types. Organizational knowledge like approved services and SKUs belongs in a skill that agents read explicitly."
36+
- content: "In a shared skill file that the architecture agent reads at runtime"
37+
isCorrect: true
38+
explanation: "Skills store reusable domain knowledge that agents pull explicitly. A shared skill for approved services and SKUs can be read by multiple agents that need this information."
39+
- content: "A DevOps engineer designs a multi-agent pipeline where the IaC agent produces Bicep templates and the deployment agent runs them. The engineer later wants to switch from Bicep to Terraform without changing the deployment agent. Which design principle makes this possible?"
40+
choices:
41+
- content: "Using a conductor agent to delegate tasks"
42+
isCorrect: false
43+
explanation: "The conductor manages sequencing but doesn't determine how agents communicate their outputs. The artifact contract between agents is what enables independent evolution."
44+
- content: "Defining an artifact contract between agents"
45+
isCorrect: true
46+
explanation: "An artifact contract specifies what each agent produces and what downstream agents expect. As long as the replacement agent produces compatible outputs, the rest of the pipeline continues to work."
47+
- content: "Storing all agent definitions in version control"
48+
isCorrect: false
49+
explanation: "Version control is a best practice for managing agent definitions, but it doesn't enable independent replacement of pipeline stages. The artifact contract is the mechanism for loose coupling."
50+
- content: "A system administrator notices that the Bicep agent always generates templates without resource locks, even though the organization requires them. Which agentic building block should the administrator configure to enforce this standard automatically?"
51+
choices:
52+
- content: "A skill file with resource lock patterns"
53+
isCorrect: false
54+
explanation: "Skills contain domain knowledge that agents must read explicitly. If the agent doesn't request the skill, the resource lock requirement would be missed. Instructions are auto-injected and enforce standards regardless of what the agent explicitly reads."
55+
- content: "An instruction file targeting Bicep files"
56+
isCorrect: true
57+
explanation: "Instructions use a push model — they're automatically injected into an agent's context whenever the agent creates or edits a file matching the instruction's applyTo glob pattern, such as **/*.bicep."
58+
- content: "A prompt that specifies the resource lock requirement"
59+
isCorrect: false
60+
explanation: "Adding the requirement to every prompt is manual and error-prone. Instructions provide a systematic way to enforce standards on every Bicep file the agent generates."
61+
- content: "A team is evaluating which operational workflows would benefit most from a multi-agent approach. Which scenario is the strongest candidate?"
62+
choices:
63+
- content: "Restarting a single virtual machine after a patch"
64+
isCorrect: false
65+
explanation: "Restarting a VM is a simple, one-step operation that doesn't involve multiple stages or domain-specific knowledge coordination. It's better handled as a direct command."
66+
- content: "Provisioning environments that involve requirements gathering, architecture assessment, IaC generation, deployment, and documentation"
67+
isCorrect: true
68+
explanation: "Multi-step workflows where outputs from one stage feed into the next and domain knowledge must be applied consistently are the strongest candidates for agentic orchestration."
69+
- content: "Querying Azure Monitor for a single metric value"
70+
isCorrect: false
71+
explanation: "Querying a single metric is a one-off operation with no multi-step coordination needed. A direct prompt or CLI command is more appropriate."
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.transition-traditional-ops-agent-automation.exercise-transition-agent-automation
3+
title: Exercise - Transition to agentic DevOps workflows
4+
metadata:
5+
title: Exercise - Transition to agentic DevOps workflows
6+
description: "Exercise - Transition to agentic DevOps workflows: Apply your knowledge by designing a multi-agent workflow to automate a common ops task using Azure and GitHub tools."
7+
ms.date: 04/24/2026
8+
author: petender
9+
ms.author: petender
10+
ms.topic: unit
11+
durationInMinutes: 45
12+
content: |
13+
[!include[](includes/7-exercise-transition-agent-automation.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.transition-traditional-ops-agent-automation.summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: "This unit summarizes the key takeaways from the agentic DevOps module."
7+
ms.date: 04/24/2026
8+
author: petender
9+
ms.author: petender
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/8-summary.md)]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Cloud administrators and DevOps engineers spend significant time on repetitive tasks. Deploying environments, validating compliance, and generating documentation follow predictable patterns. These responsibilities are time-intensive, and troubleshooting configurations adds to the burden.
2+
3+
Suppose you're a cloud administrator at a mid-sized company. Every week, your team receives requests for new Azure updates. The requests vary in architecture: a web application with a database, a networking fix, or a containerized microservices setup. Each request involves the same sequence of steps: gather requirements, assess the architecture, write infrastructure-as-code templates, deploy resources, and create documentation. You have automated parts of this workflow with scripts and templates. You use AI assistants to help draft code faster. Even so, you still coordinate these steps manually. You copy outputs from one tool into another and catch errors between stages.
4+
5+
In this module, you explore how agentic DevOps transforms this workflow. You learn the progression from manual operations through scripted automation and AI-assisted prompts to multi-agent orchestration. You examine the building blocks that make agents work: agent definitions, skills, instructions, and prompts. You also discover how to compose them into pipelines that handle end-to-end infrastructure tasks autonomously.
6+
7+
By the end of this module, you're able to describe how AI agents can orchestrate traditional ops tasks and design multi-agent workflows that reduce manual coordination in your infrastructure operations.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
Infrastructure operations evolve through distinct stages. Understanding in which stage your organization is, helps you identify the opportunities that agentic approaches unlock.
2+
3+
## Stage 1: Manual operations
4+
5+
In the earliest stage, administrators perform tasks directly through portals, command-line tools, or remote desktop sessions. You sign in to the Azure portal, select settings from dropdown menus, and configure resources one at a time.
6+
7+
Manual operations work for small environments, but they don't scale. Every deployment requires the same select in the same order. Mistakes happen when you skip a step or enter the wrong value in a configuration field. There's no audit trail beyond what you remember to document, and knowledge stays locked in the person who performed the task.
8+
9+
## Stage 2: Scripted automation
10+
11+
To address these limitations, teams adopt scripts and infrastructure-as-code (IaC). You write Azure CLI commands, PowerShell scripts, or Bicep templates that capture your deployment steps as repeatable code. Version control provides an audit trail, and peer review catches errors before they reach production.
12+
13+
Scripted automation is a significant improvement, but it introduces its own challenges:
14+
15+
- **Template sprawl**: Each new scenario requires a new template or significant modifications to existing ones.
16+
- **Context switching**: You move between documentation, code editors, terminals, and deployment tools throughout the workflow.
17+
- **Coordination overhead**: Multi-step workflows still need a human to sequence the steps, pass outputs between stages, and handle failures.
18+
19+
## Stage 3: AI-assisted prompts
20+
21+
The introduction of AI assistants like GitHub Copilot adds a new capability. You describe what you need in natural language, and the AI generates code, suggests configurations, or explains error messages. This approach removes some of the friction from stage 2. You don't need to remember every CLI flag or Bicep syntax pattern.
22+
23+
For example, you might prompt an AI assistant:
24+
25+
> "Generate a Bicep template for an Azure App Service with a SQL Database, Key Vault for secrets, and Application Insights for monitoring. Use managed identity for authentication."
26+
27+
The assistant produces a draft template in seconds. You review it, make adjustments, and deploy. This process is faster than writing from scratch, but the workflow still has limitations:
28+
29+
- **One prompt, one task**: Each prompt handles a single step. You still orchestrate the overall workflow manually.
30+
- **No persistent context**: The AI doesn't retain your organization's naming conventions, security requirements, or preferred architectures between sessions.
31+
- **No validation chain**: The AI generates code, but it doesn't verify that the output meets your compliance requirements or integrates with your existing infrastructure.
32+
33+
## Stage 4: Agentic workflows
34+
35+
Agentic workflows address these gaps by turning individual AI interactions into coordinated pipelines. Instead of prompting an AI for each step, you describe the overall goal once. A system of specialized AI agents handles the full workflow. Each agent is responsible for a specific domain, from parsing requirements through deployment to documentation.
36+
37+
The key differences from prompt-based AI:
38+
39+
- **Persistent domain knowledge**: Agents carry organizational standards as reusable knowledge, which gets applied automatically. Think of naming conventions, security baselines, and approved SKUs.
40+
- **Multi-step orchestration**: A conductor agent coordinates the workflow. It passes artifacts between specialized agents without human intervention at each handoff.
41+
- **Validation at every stage**: Each agent verifies its outputs before passing them to the next step. Allowing for catching errors early rather than at deployment time.
42+
43+
## Where ops roles fit in this evolution
44+
45+
As a cloud administrator, system administrator, or DevOps engineer, you're likely already somewhere in stages 2 or 3. You have scripts and templates, and you might use AI assistants to help write code faster. The transition to stage 4 doesn't require you to abandon what you already built. Instead, you encode your existing knowledge into agent definitions that automate the coordination layer. Including scripts, checklists, and team knowledge about how deployments should work.
46+
47+
Think of it this way: scripted automation captures *what* to deploy. AI assistants help you write *how* to deploy it. Agentic workflows handle *when* to run each step, *what context* to carry forward, and *how to verify* each stage completed correctly.
48+
49+
## Identify tasks that benefit from an agentic approach
50+
51+
Not every task needs an agent. Simple, one-off operations are fine as manual commands or single prompts. The agentic approach adds the most value when:
52+
53+
- **Multiple steps need coordination**: Environment provisioning involves requirements gathering, architecture decisions, code generation, deployment, and documentation.
54+
- **Domain knowledge must be applied consistently**: Security baselines, naming conventions, or compliance rules should be enforced on every deployment.
55+
- **Outputs from one step feed into the next**: An architecture assessment determines which Bicep modules to generate. A deployment summary feeds into a documentation template.
56+
- **The same workflow repeats with different inputs**: Building demo environments, onboarding new applications, or provisioning development workspaces.
57+
58+
The next unit examines what agentic DevOps looks like in practice and how multi-agent orchestration works.

0 commit comments

Comments
 (0)