Prompt Buddy logoPrompt Buddy

microsoft · Azure Docs

Azure Microsoft Foundry Quickstart

A guide to initializing and using models and agents within the Microsoft Foundry environment through code.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Azure Microsoft Foundry Quickstart

A guide to initializing and using models and agents within the Microsoft Foundry environment through code.

When To Use

Use when you need to implement a code-based workflow to interact with models and agents in Microsoft Foundry.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/azure-ai-foundry-get-started-microsoft-quickstart-workflow-guide.mdA markdown guide outlining the prerequisites and steps to generate model responses and create agents within Azure AI Foundry.Questions about a markdown guide outlining the prerequisites and steps to generate model responses and create agents within Azure AI...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-quick.textA text file containing the required environment variable configuration for the Azure AI Foundry quickstart project.Exact payloads, commands, or snippets shown in A text file containing the required environment variable configuration for the Azure AI Foundry quickstart project.
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-quick-2.textA text file containing the required configuration variables and endpoint placeholders for the Azure AI Foundry quickstart.Exact payloads, commands, or snippets shown in A text file containing the required configuration variables and endpoint placeholders for the Azure AI Foundry quicks...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-az-cl.textAn Azure CLI command to retrieve an access token with the specific scope for the Azure AI Foundry service.Exact payloads, commands, or snippets shown in An Azure CLI command to retrieve an access token with the specific scope for the Azure AI Foundry service.
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-quick-3.textThe shell command to install the azure-ai-projects library version 2.0.0 or higher using pip.Exact payloads, commands, or snippets shown in The shell command to install the azure-ai-projects library version 2.0.0 or higher using pip.
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-dotne.textdotnet CLI commands to install the required Azure AI Projects, Agents, Extensions, and Identity NuGet packages.Exact payloads, commands, or snippets shown in dotnet CLI commands to install the required Azure AI Projects, Agents, Extensions, and Identity NuGet packages.
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-quick-4.textThe npm install command required to add the @azure/ai-projects package for the Azure Microsoft Foundry quickstart.Exact payloads, commands, or snippets shown in The npm install command required to add the @azure/ai-projects package for the Azure Microsoft Foundry quickstart.
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-quick-5.textA Maven dependency configuration snippet for the com.azure azure-ai-agents 2.0.0 library.Exact payloads, commands, or snippets shown in A Maven dependency configuration snippet for the com.azure azure-ai-agents 2.0.0 library.
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-pytho.textA Python script demonstrating how to initialize an AIProjectClient using DefaultAzureCredential to connect to an Azure AI Foundry project.Exact payloads, commands, or snippets shown in A Python script demonstrating how to initialize an AIProjectClient using DefaultAzureCredential to connect to an Azur...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-cshar.textA C# code example demonstrating how to initialize an AIProjectClient using Azure.Identity to connect to an Azure AI Foundry project.Exact payloads, commands, or snippets shown in A C# code example demonstrating how to initialize an AIProjectClient using Azure.Identity to connect to an Azure AI F...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-types.textA TypeScript code example demonstrating how to initialize an AIProjectClient and OpenAI client using DefaultAzureCredential to interact with the Azure AI Foundry API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize an AIProjectClient and OpenAI client using DefaultAzureCred...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-java-.textA Java implementation demonstrating how to initialize an AgentsClient and interact with an AI agent using the Azure AI Foundry SDK.Exact payloads, commands, or snippets shown in A Java implementation demonstrating how to initialize an AgentsClient and interact with an AI agent using the Azure A...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-curl-.textA curl command demonstrating how to send a POST request to the Azure AI Foundry API to generate a model response.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a POST request to the Azure AI Foundry API to generate a model response.
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-pytho-2.textA Python script demonstrating how to initialize an AIProjectClient using DefaultAzureCredential to interact with Azure AI Foundry.Exact payloads, commands, or snippets shown in A Python script demonstrating how to initialize an AIProjectClient using DefaultAzureCredential to interact with Azur...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-quick-6.textA C# code example demonstrating how to initialize an AIProjectClient and interact with Azure AI Foundry agents using the Azure.AI.Projects SDK.Exact payloads, commands, or snippets shown in A C# code example demonstrating how to initialize an AIProjectClient and interact with Azure AI Foundry agents using...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-types-2.textA TypeScript code example demonstrating how to initialize an AIProjectClient and create an agent using the Azure AI Foundry API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize an AIProjectClient and create an agent using the Azure AI F...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-java--2.textA Java code example demonstrating how to use the Azure AI Agents client to create an agent within an Azure AI Foundry project.Exact payloads, commands, or snippets shown in A Java code example demonstrating how to use the Azure AI Agents client to create an agent within an Azure AI Foundry...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-creat.textA curl command demonstrating how to create a new agent in Azure AI Foundry using a POST request to the agents API.Exact payloads, commands, or snippets shown in A curl command demonstrating how to create a new agent in Azure AI Foundry using a POST request to the agents API.
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-pytho-3.textA Python script demonstrating how to initialize an AIProjectClient using DefaultAzureCredential to connect to an Azure AI Foundry project.Exact payloads, commands, or snippets shown in A Python script demonstrating how to initialize an AIProjectClient using DefaultAzureCredential to connect to an Azur...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-cshar-2.textA C# code example demonstrating how to initialize an AIProjectClient using Azure.Identity to connect to an Azure AI Foundry project.Exact payloads, commands, or snippets shown in A C# code example demonstrating how to initialize an AIProjectClient using Azure.Identity to connect to an Azure AI F...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-types-3.textA TypeScript code example demonstrating how to initialize an AIProjectClient and OpenAI client using DefaultAzureCredential to interact with the Azure AI Foundry API.Exact payloads, commands, or snippets shown in A TypeScript code example demonstrating how to initialize an AIProjectClient and OpenAI client using DefaultAzureCred...
examples/azure-ai-foundry-get-started-microsoft-quickstart-azure-ai-foundry-agent.textA curl command demonstrating how to send a POST request to the Azure AI Foundry API to generate a response using an agent.Exact payloads, commands, or snippets shown in A curl command demonstrating how to send a POST request to the Azure AI Foundry API to generate a response using an a...

What This Skill Covers

  • In this quickstart you'll get started using models and agents in Foundry.
  • Main sections: In this article, Prerequisites, Set environment variables and get the code, Install and authenticate, Chat with a model.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://learn.microsoft.com/en-us/azure/ai-foundry/quickstarts/get-started-code