az prototype

April 6, 2026 · View on GitHub

Rapid Azure prototype generation powered by AI agent teams.

Overview

az prototype is an Azure CLI extension that empowers customers to rapidly create functional Azure prototypes using AI-driven agent teams. It supports three AI providers — GitHub Copilot, GitHub Models, and Azure OpenAI — for intelligent code and infrastructure generation.

Prerequisites

  • Azure CLI 2.50+
  • Azure subscription with appropriate permissions
  • GitHub CLI (gh) installed and authenticated (required for copilot and github-models providers)
  • GitHub Copilot license, Business or Enterprise (required for copilot provider only)

Installation

NOTE: Currently, AZ Prototype is in preview. We are aggressively working to produce our first stable version in March 2026. Please log all bugs in Issues, and we will address them as soon as possible.

Install

az extension add --name prototype

Upgrade

Only Stable Versions:

az extension update --name prototype

Include Preview Versions:

az extension update --name prototype --allow-preview

Quick Start

# Initialize a new prototype project
az prototype init --name my-prototype --location eastus

# Run design analysis (interactive)
az prototype design

# Provide artifacts for design analysis
az prototype design --artifacts ./requirements/ --context "Build a data pipeline"

# Generate infrastructure and application code
az prototype build

# Deploy to Azure (incremental — only deploys changes)
az prototype deploy

# Build only infrastructure code
az prototype build --scope infra

# Build only application code
az prototype build --scope apps

To receive help for any specific command, run az prototype --help or az prototype <command> --help.

View the command reference to see the full list of commands and their parameters.

Agent System

Built-in Agents

Ships with 19 pre-defined agents:

AgentCapabilityDescription
cloud-architectArchitectureOverall overseer, Core layer ownership, deployment planning
infrastructure-architectInfrastructureInfrastructure layer ownership, directs terraform/bicep agents
data-architectDataData layer ownership, schema and access patterns
application-architectApplicationApplication layer ownership, developer delegation
security-architectSecurityCross-cutting security, RBAC, identity, encryption
terraform-agentTerraformTerraform IaC generation (azapi provider)
bicep-agentBicepBicep template generation
csharp-developerC# / .NETC# application code generation
python-developerPythonPython application code generation
react-developerReact / TypeScriptReact frontend code generation
app-developerDevelopmentGeneric fallback for unsupported languages
doc-agentDocumentationProject and deployment documentation
qa-engineerQA / AnalysisError diagnosis, code review, remediation
biz-analystBusiness AnalysisRequirements gap analysis and interactive design dialogue
cost-analystCost AnalysisAzure cost estimation at S/M/L t-shirt sizes
project-managerCoordinationScope management, task assignment, escalation
monitoring-agentMonitoringObservability configuration generation
governorGovernanceEmbedding-based policy retrieval and enforcement
advisorAdvisoryPer-stage trade-off and risk analysis

Custom Agents

Add your own agents via YAML or Python:

# List available agents
az prototype agent list

# Add a custom agent from YAML
az prototype agent add --file ./my-agent.yaml

# Override a built-in agent
az prototype agent override --name cloud-architect --file ./my-architect.yaml

YAML Agent Format

name: my-custom-agent
description: Custom agent for specific use case
role: architect
system_prompt: |
  You are a specialized architect for ...
constraints:
  - Must use managed identity
  - Must follow naming conventions
tools:
  - terraform
  - bicep

Configuration

Project configuration is stored in prototype.yaml:

project:
  name: my-prototype
  location: eastus
  environment: dev
  iac_tool: terraform  # or bicep

naming:
  strategy: microsoft-alz  # microsoft-alz | microsoft-caf | simple | enterprise | custom
  org: contoso
  env: dev
  zone_id: zd              # ALZ zone ID (see table below)

ai:
  provider: copilot  # copilot | github-models | azure-openai
  model: claude-sonnet-4

agents:
  custom_dir: ./.prototype/agents/
  overrides: {}

deploy:
  track_changes: true

Naming Strategies

All agents use a shared naming resolver to generate consistent Azure resource names.

StrategyPatternExample
microsoft-alz (default){zoneid}-{type}-{service}-{env}-{region}zd-rg-api-dev-eus
microsoft-caf{type}-{org}-{service}-{env}-{region}-{instance}rg-contoso-api-dev-eus-001
simple{org}-{service}-{type}-{env}contoso-api-rg-dev
enterprise{type}-{bu}-{org}-{service}-{env}-{region}-{instance}rg-it-contoso-api-dev-eus-001
customUser-definedDepends on pattern

Landing Zone IDs (ALZ)

When using microsoft-alz, resources are assigned to a landing zone:

ZoneIDUsed for
Connectivity PlatformpcNetworking, DNS, firewall
Identity PlatformpiEntra ID, RBAC
Management PlatformpmLog Analytics, App Insights
Development ZonezdDev workloads (default)
Testing ZoneztQA / test workloads
Staging ZonezsUAT / staging workloads
Production ZonezpProduction workloads

Stages

CommandDescriptionRe-entrant
az prototype initProject scaffolding, auth, configNo
az prototype designRequirements analysis, architectureYes
az prototype buildGenerate IaC and app codeYes
az prototype deployDeploy with change trackingYes

Development

The Azure CLI prototype extension is architected and developed by Joshua Davis, and it is based on a solution engineering program he launched within Microsoft enterprise field sales, the Innovation Factory, that delivers rapid prototypes for Microsoft enterprise customers.