Azure

Azure AI Foundry Complete Guide: Hub/Project, Prompt Flow, Agent Service, Model Catalog & Fine-tuning

2026-05-24
NicheeLab Editorial Team

Azure AI Foundry (formerly Azure AI Studio) is Microsoft's unified AI development platform. It centrally manages Azure OpenAI, Azure AI Search, and OSS models (Mistral, Llama 3, Hugging Face), and covers everything needed for modern AI development including Prompt Flow, Agent Service, Evaluation, and Fine-tuning. This article surveys the Hub-Project hierarchy, Prompt Flow, Agent Service, Evaluation, Model Catalog, and Fine-tuning.

Hub and Project Hierarchy

LevelRoleScope
HubShared infrastructure (Storage, Key Vault, Container Registry), Compute, Model DeploymentOrganization / Department
ProjectRuns Prompt Flow, Agents, EvaluationTeam / Project

Typical layout: 1 organization -> 1-2 Hubs (production/non-production separation) -> 10-50 Projects (per team) inside each Hub. RBAC: hierarchical management with Hub Owner, Project Manager, and Project Contributor roles.

Prompt Flow

A tool that defines complex LLM pipelines as a DAG (Directed Acyclic Graph) using both visual and code.

Typical Nodes

  • LLM Tool: Call models such as GPT-4o
  • Python Tool: Custom Python code
  • Prompt Tool: Build Prompt Templates
  • Embedding Tool: Generate embeddings
  • Connection Tool: External connections

Typical Flow

  1. User query input
  2. Query classification (LLM Node)
  3. RAG retrieval (Python Tool calling Azure AI Search)
  4. Build LLM Prompt from Prompt Template
  5. Generate response with GPT-4o
  6. Format output

Production Deployment

  • Managed Endpoint (Azure AI Foundry managed)
  • Deploy to Azure Functions / Container Apps
  • Local development: promptflow CLI

Agent Service

Azure AI Foundry Agent Service (formerly Azure AI Assistant API) is a managed service for building complex LLM Agents.

Agent Components

  • Tools: Functions and APIs
  • Knowledge: Files and data sources
  • Behavior: System Message and Instructions

Typical Tools

  • Code Interpreter: Python code execution and data analysis
  • File Search: Full-text search over uploaded files
  • Bing Search: Web search
  • Function Calling: Custom APIs
  • OpenAPI Tool: REST API calls
  • Logic Apps Tool: SaaS integration via 300+ connectors
  • Azure AI Search Tool: Vector + Hybrid search

Typical Scenarios

  • Customer Support Agent (FAQ search + ticket creation)
  • Data Analyst Agent (DB queries + chart generation)
  • Code Review Agent (PR analysis + comments)
  • Sales Agent (CRM lookup + draft email generation)

Multi-Agent patterns (multiple Agents collaborating) are also supported. This is a core topic of AI-103 exam new Domain 3.

Evaluation

A feature for continuously evaluating the quality of LLM responses.

Evaluation Metrics

MetricPurpose
GroundednessWhether generated content is grounded in source data; hallucination detection
RelevanceRelevance to the query
CoherenceLogical consistency of the response
FluencyNatural writing
SimilaritySimilarity to Ground Truth
F1 ScorePrecision + Recall
Retrieval ScoreTop-K retrieval accuracy in RAG
Custom (LLM-as-a-Judge)Organization-specific evaluation

Implementation Flow

  1. Prepare Test Dataset (Query + Expected Answer + Context)
  2. Run Evaluation Run (Prompt Flow + Test Dataset)
  3. Metrics are computed automatically
  4. Compare and analyze trends in the Results Dashboard

Continuous Improvement Pattern

  1. Extract Failed Cases from Production Logs
  2. Add to Test Dataset
  3. Improve Prompt / Model
  4. Rerun Evaluation to confirm improvement

Model Catalog

A unified catalog of 1,800+ AI models.

Major Providers

  • Azure OpenAI: gpt-4o, gpt-4o-mini, o1, o3, DALL-E, Whisper, Embeddings
  • Microsoft: Phi-3, Phi-4 series, Florence, Speech models
  • Meta: Llama 3.1, Llama 3.2 / 3.3
  • Mistral: Mistral Large, Codestral
  • Cohere: Command R+
  • Hugging Face: BERT, T5, 1,500+ other OSS models
  • Partner models such as NVIDIA and Stability AI

Deployment Options

  • Pay-as-you-go API: Microsoft-managed, per-token pricing
  • Managed Compute: Dedicated VM, fine-tuning capable
  • Serverless API: Lightweight deployment
  • Local execution via container: Some OSS models

Fine-tuning

A feature for fine-tuning an existing LLM with your organization's own data.

Supported Models

  • gpt-4o-mini
  • gpt-3.5-turbo
  • Phi-3 series
  • gpt-4o (Limited Preview)

Steps

  1. Prepare Training Dataset (JSONL format, minimum 50 examples, recommended 500-10,000)
  2. Prepare Validation Dataset (10-20% of Training)
  3. Create the job from the Fine-tuning UI in Azure AI Foundry
  4. Configure Hyperparameters (Epochs, Learning Rate, Batch Size)
  5. Run training (hours to days)
  6. Compare Fine-tuned model against Base model with Evaluation
  7. Deploy for production use

Typical Use Cases

  • Adapting organization-specific Tone / Style (Brand Voice)
  • Improving understanding of industry-specific terminology
  • Increasing accuracy of structured outputs
  • Strengthening multilingual support
  • Replacing few-shot examples with Fine-tuning to cut cost

RAG is often sufficient, so it is realistic to treat Fine-tuning as a last resort.

Content Safety

Responsible AI functionality integrated into Azure AI Foundry.

  • Content Filter: Automatic blocking of Hate / Self-harm / Sexual / Violence (4 severity levels)
  • Prompt Shield: Jailbreak / Prompt Injection detection
  • Groundedness Detection: Hallucination detection
  • Protected Material Detection: Copyright-infringing content detection
  • Custom Categories: Define organization-specific prohibited categories

Tracing and Observability

Azure AI Foundry's Tracing feature provides detailed tracking of LLM calls.

  • Records Prompt, Response, Token usage, and latency for each LLM call
  • Application Insights integration
  • OpenTelemetry-compliant
  • Per-Node execution time analysis in Prompt Flow
  • Useful for production debugging and cost optimization

Operational Best Practices

  1. Use proper Hub-Project hierarchy isolation in production
  2. Manage LLM workflows declaratively with Prompt Flow
  3. Use Agent Service for complex multi-step processing
  4. Integrate Evaluation into the CI/CD pipeline
  5. Content Safety + Prompt Shield + Groundedness are mandatory
  6. Select cost-optimal models via Model Catalog
  7. Use Fine-tuning only when RAG cannot meet the need
  8. Use Tracing for production debugging and cost analysis
  9. Send Diagnostic Logs to Microsoft Sentinel
  10. Comply with Responsible AI 6 principles

Related Certifications

Frequently Asked Questions

What is Azure AI Foundry?

Azure AI Foundry (formerly Azure AI Studio) is Microsoft's unified AI development platform. It centrally manages Azure OpenAI, Azure AI Search, Azure AI Speech, Azure AI Vision, Azure AI Document Intelligence, Phi models, and OSS models (Mistral, Llama 3, Hugging Face models). It uses a two-tier Hub (organization level) / Project (team or project level) structure to centrally manage AI development across multiple teams. Key features: 1) Model Catalog (1,800+ model directory), 2) Playground (model experimentation), 3) Prompt Flow (LLM workflow design), 4) Agent Service (AI agent construction), 5) Evaluation (evaluation metrics, LLM-as-a-Judge), 6) Fine-tuning (model fine-tuning), 7) Content Safety (harmful content filtering), 8) Tracing (LLM call tracking). It is at the core of the AI-103 exam and the standard platform for modern Azure AI development.

What is the relationship between Hub and Project?

Azure AI Foundry Hub-Project hierarchy. Hub (organization level): one Hub per organization or department, centrally manages shared infrastructure (Storage Account, Key Vault, Application Insights, Container Registry), and shares Compute Resources, Model Deployments, and Connections at the Hub level. Project (team/project level): multiple Projects sit under a Hub, isolated per team or project, run Prompt Flow, Agents, and Evaluation inside the Project, and inherit shared resources from the Hub. Typical layout: 1 organization -> 1-2 Hubs (production/non-production separation) -> 10-50 Projects (per team) inside each Hub. Access control: hierarchical RBAC roles like Hub Owner, Project Manager, and Project Contributor. Similar in design to the Microsoft Fabric Workspace Hub-Workspace model, enabling centralized AI governance for large organizations.

What is Prompt Flow?

Prompt Flow is Azure AI Foundry's LLM workflow design tool. It uses a DAG (Directed Acyclic Graph) to define complex LLM pipelines with a mix of visual and code. Typical flow: 1) user query -> 2) query classification (LLM Node), 3) RAG retrieval (Python Tool calling Azure AI Search), 4) build LLM Prompt from Prompt Template (LLM Node), 5) generate response with GPT-4o, 6) format output (Python Tool). Each Node is selected from LLM Tool, Python Tool, Prompt Tool, Embedding Tool, Connection Tool, and others. Typical use cases: 1) RAG pipelines (retrieval + generation), 2) multi-step Agents (complex decisions), 3) document Q&A, 4) chatbot construction, 5) code generation + validation. Built on a Microsoft-developed OSS project, it supports local development (promptflow CLI), and production deployment to Managed Endpoint or Azure Functions / Container Apps.

How does Agent Service work?

Azure AI Foundry Agent Service (formerly Azure AI Assistant API) is a managed service for building complex LLM Agents. An Agent has Tools (functions/APIs), Knowledge (files/data sources), and Behavior (System Message/Instructions), and executes multi-step autonomous actions for a user query. Typical Tools: 1) Code Interpreter (Python code execution and data analysis), 2) File Search (full-text search over uploaded files), 3) Bing Search (web search), 4) Function Calling (custom APIs), 5) OpenAPI Tool (REST API calls), 6) Logic Apps Tool (SaaS integration via 300+ connectors), 7) Azure AI Search Tool (Vector + Hybrid search). Typical scenarios: 1) Customer Support Agent (FAQ search + ticket creation), 2) Data Analyst Agent (DB queries + chart generation), 3) Code Review Agent (PR analysis + comments), 4) Sales Agent (CRM lookup + draft email generation). Multi-Agent patterns (multiple Agents collaborating) are also supported. This is a core topic of AI-103 exam new Domain 3.

How do you implement Evaluation?

Azure AI Foundry's Evaluation continuously assesses the quality of LLM responses. Metrics: 1) Groundedness (whether generated content is grounded in source data; hallucination detection), 2) Relevance (relevance to the query), 3) Coherence (logical consistency of the response), 4) Fluency (natural writing), 5) Similarity (similarity to Ground Truth), 6) F1 Score (Precision + Recall), 7) Retrieval Score (Top-K retrieval accuracy in RAG), 8) Custom metrics (organization-specific evaluation via LLM-as-a-Judge). Implementation flow: 1) prepare Test Dataset (Query + Expected Answer + Context), 2) run Evaluation Run (Prompt Flow + Test Dataset), 3) metrics are computed automatically, 4) compare and analyze trends in the Results Dashboard. Continuous improvement pattern: 1) extract Failed Cases from Production Logs, 2) add to Test Dataset, 3) improve Prompt/Model, 4) rerun Evaluation to confirm improvement. It is the core quality-assurance function for production, and the standard design is to integrate it into the CI/CD pipeline for continuous evaluation.

How do you use the Model Catalog?

Azure AI Foundry Model Catalog provides a unified catalog of 1,800+ AI models. By provider: 1) Azure OpenAI (gpt-4o, gpt-4o-mini, o1, o3, DALL-E, Whisper, Embeddings), 2) Microsoft (Phi-3, Phi-4 series, Florence, Speech models), 3) Meta (Llama 3.1, Llama 3.2/3.3), 4) Mistral (Mistral Large, Codestral), 5) Cohere (Command R+), 6) Hugging Face (BERT, T5, 1,500+ other OSS models), 7) partner models such as NVIDIA and Stability AI. Deployment options: 1) Pay-as-you-go API (Microsoft-managed, per-token pricing), 2) Managed Compute (dedicated VM, fine-tuning capable), 3) Serverless API (lightweight deployment), 4) local execution via container (for some OSS models). Typical selection: 1) general chat -> gpt-4o-mini, 2) lowest cost / on-prem execution -> Phi-4, 3) code generation -> Codestral, 4) Open License requirements -> Llama 3.3, 5) real-time voice -> GPT-4o Realtime. Model Catalog also provides model comparison and benchmarks.

How do you perform Fine-tuning?

Azure AI Foundry's Fine-tuning lets you fine-tune an existing LLM with your organization's own data. Supported models: gpt-4o-mini, gpt-3.5-turbo, Phi-3 series, and others (gpt-4o is Limited Preview at the time of writing). Steps: 1) prepare Training Dataset (JSONL format, minimum 50 examples, recommended 500-10,000), 2) prepare Validation Dataset (10-20% of Training), 3) create a job from the Fine-tuning UI in Azure AI Foundry, 4) configure Hyperparameters (Epochs, Learning Rate, Batch Size), 5) run training (hours to days depending on data volume), 6) compare the Fine-tuned model against the Base model with Evaluation, 7) deploy it for production. Typical use cases: 1) adapting organization-specific Tone/Style (Brand Voice), 2) improving understanding of industry terminology, 3) increasing accuracy of structured outputs, 4) strengthening multilingual support, 5) replacing few-shot examples with Fine-tuning to cut cost (shorter prompts). Cost: training time x unit price + monthly hosting of the Fine-tuned model (about 3-15 USD/h). RAG is often sufficient, so it is realistic to treat Fine-tuning as a last resort.

Which related certification exams cover this?

AI-103 (Developing AI Apps and Agents on Azure, GA 2026-06) is the headline certification where Azure AI Foundry is tested deeply at the core (Prompt Flow, Agent Service, Evaluation, Model Catalog, and Fine-tuning are all covered). AI-901 (AI Fundamentals, GA 2026-06, successor to AI-900) covers AI Foundry fundamentals, SC-100 (Cybersecurity Architect Expert) covers AI security and Responsible AI, and AZ-305 (Solutions Architect Expert) covers AI architecture. As the core platform of Microsoft's AI strategy, it is an essential skill for AI engineers and the most important area of AI-103 study.

Related Articles and Technical Deep Dives

Azure AI エンジニア キャリアロードマップ|AI-901 → AI-103 → 生成 AI アーキテクトへの道【2026 年版】

Azure AI エンジニアになるための認定取得ロードマップ完全版。AI-901 (2026-06 GA、AI-900 後継) → AI-103 (2026-06 GA、AI-102 後継) の最新ルート、Azure AI Foundry / Agent Service / OpenAI 中心の生成 AI 時代の構成、Databricks GenAI / OpenAI Direct との二刀流戦略、年収レンジまで日本語で網羅。

AI-103 完全ガイド|Developing AI Apps and Agents on Azure【2026 年 6 月 GA・AI-102 後継】

Microsoft Certified: Developing AI Apps and Agents on Azure (AI-103) の完全ガイド。AI-102 の後継として 2026 年 6 月 30 日 GA。Azure AI Foundry / Agent Service / OpenAI / AI Search を中心に、RAG パターン・Agent オーケストレーション・Responsible AI・Semantic Kernel SDK の実装スキル、3-4 ヶ月の合格ロードマップを日本語で網羅。

AI-901 完全ガイド|Azure AI Fundamentals 新試験 (2026 年 6 月 GA、AI-900 後継)

Microsoft Certified: Azure AI Fundamentals (AI-901) の出題範囲・Microsoft Foundry 中心の改訂内容・AI-900 との違い・公式学習リソースを日本語で完全解説。Responsible AI 6 原則、生成 AI 統合、Azure OpenAI / Vertex 系との比較も網羅。

Azure OpenAI Service 入門|モデル選定・PTU・Prompt Engineering・Function Calling・Embeddings【2026 年版】

Azure OpenAI Service の入門ガイド。gpt-4o / gpt-4o-mini / o1 / o3 / DALL-E / Whisper モデル選定、Standard vs Provisioned Throughput Units (PTU)、Prompt Engineering、Function Calling / Tool Calling、Embeddings と Vector Search、セキュリティ (Content Filter・Prompt Shield)、関連認定試験 (AI-103 / AI-901) を日本語で網羅。

The technical information in this article is based on the Azure AI Foundry Documentation. This article is not an official product of Microsoft Corporation and is not affiliated with or endorsed by Microsoft. Microsoft, Azure, and Azure OpenAI are trademarks of the Microsoft group of companies. OpenAI is a trademark of OpenAI, Inc., and Meta Llama is a trademark of Meta Platforms, Inc. Information is based on official public materials as of May 24, 2026. Always check official pages for the latest information.

Check what you learned with practice questions

Practice with certification-focused question sets

View Azure Exam Prep
Author

NicheeLab Editorial Team

NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.


Related articles
Azure

AZ-900 Azure Fundamentals: Complete Exam Guide (2026)

Pass AZ-900 — cloud concepts, Azure architecture, management...

Azure

Azure Certification Roadmap: Which Cert to Take Next (2026)

Choose your Azure certification path — Fundamentals, Associa...

Azure

AI-901 Azure AI Fundamentals (Beta): Complete Guide (2026)

Pass AI-901 — Microsoft Foundry, generative AI, responsible ...

Azure

Microsoft Entra ID Fundamentals for Azure Certs (2026)

Entra ID basics every cert candidate needs — tenants, identi...

Azure

DP-900 Azure Data Fundamentals: Complete Guide (2026)

Pass DP-900 — relational, non-relational, analytics, Power B...

Browse all Azure articles (104)
© 2026 NicheeLab All rights reserved.