How azure/azure-dev works
Azure Developer CLI (azd) helps developers initialize, build, deploy, and operate Azure applications; its extensions add Azure AI agent, connection, dataset, and evaluation workflows. The main path starts with a developer invoking azd to deploy an application to Azure. Pipeline configuration is a distinct path that provisions pipeline authentication and connects source control to a CI provider. The tree and README support these product capabilities, but most command implementations were not sampled, so uncertain internal wiring is omitted.
Main entry points: cmd/root.go Agents Extension · up.go Build and Deploy · cmd/root.go azd CLI · pipeline_manager.go Pipeline Manager
Components 24
CLI Workflows
- azd CLI
cli/azd/cmd/root.go - Project Init
cli/azd/cmd/init.go - Build and Deploy
cli/azd/cmd/up.go
Application Deployment
- Build
cli/azd/cmd/build.go - Infrastructure
cli/azd/cmd/infra.go - Operate and Monitor
cli/azd/cmd/monitor.go
Pipeline Setup
- Pipeline Config
cli/azd/cmd/pipeline.go - Pipeline Manager
cli/azd/pkg/pipeline/pipeline_manager.go - Pipeline Providers
cli/azd/pkg/pipeline/pipeline.go - VS Code Pipeline Action
ext/vscode/src/commands/pipeline.ts
AI Agents
- Agents Extension
cli/azd/extensions/azure.ai.agents/internal/cmd/root.go - Agent Project Setup
cli/azd/extensions/azure.ai.agents/internal/cmd/init.go - Agent Publish
cli/azd/extensions/azure.ai.agents/internal/cmd/publish.go - Agent Invocation
cli/azd/extensions/azure.ai.agents/internal/cmd/invoke.go - Agent Evaluation
cli/azd/extensions/azure.ai.agents/internal/cmd/eval.go - Agent Optimization
cli/azd/extensions/azure.ai.agents/internal/cmd/optimize.go
AI Project Tools
- Connections Extension
cli/azd/extensions/azure.ai.connections/internal/cmd/root.go - Dataset Extension
cli/azd/extensions/azure.ai.dataset/internal/cmd/root.go - Evaluations Extension
cli/azd/extensions/azure.ai.evaluations/internal/cmd/root.go
Other components
- Developer
- Azure
- Azure DevOps
- VS Code User
- Azure AI Foundry
Connections 28
- Developer → azd CLI: invokes
- azd CLI → Project Init: dispatches
- azd CLI → Build and Deploy: dispatches
- Build and Deploy → Build: builds
- Build and Deploy → Infrastructure: deploys infrastructure
- Build and Deploy → Azure: deploys application
- Developer → Operate and Monitor: operates
- Operate and Monitor → Azure: monitors
- Developer → Pipeline Config: configures
- Pipeline Config → Pipeline Manager: calls
- Pipeline Manager → Pipeline Providers: uses providers
- Pipeline Manager → Azure DevOps: creates and queues
- VS Code User → VS Code Pipeline Action: invokes
- VS Code Pipeline Action → Pipeline Config: runs CLI
- Developer → Agents Extension: invokes
- Agents Extension → Agent Project Setup: dispatches
- Agents Extension → Agent Publish: dispatches
- Agents Extension → Agent Invocation: dispatches
- Agents Extension → Agent Evaluation: dispatches
- Agents Extension → Agent Optimization: dispatches
- Agent Project Setup → Azure AI Foundry: sets up project
- Agent Publish → Azure AI Foundry: publishes to
- Agent Invocation → Azure AI Foundry: invokes agent
- Agent Evaluation → Azure AI Foundry: evaluates agent
- Agent Optimization → Azure AI Foundry: optimizes agent
- Developer → Connections Extension: manages connections
- Developer → Dataset Extension: manages datasets
- Developer → Evaluations Extension: runs evaluations