Microsoft Foundry Quickstart
This quickstart will help you get started with Microsoft Foundry by creating a project, deploying a model, running chat completions, and creating an agent with file search capabilities.Prerequisites
- An Azure subscription (Create one for free)
- Azure CLI installed and authenticated
- Python 3.8 or later (for Python examples)
Step 1: Create a Foundry Project
A Foundry project is where you do most of your development work. Projects provide isolation for agents, models, and data.Create a Foundry resource and project
You can create resources using the Azure portal or deploy using Azure CLI with Bicep templates.For a basic setup:This creates:
- Foundry account
- Foundry project
- GPT-4.1 model deployment
Step 2: Install the SDK
Step 3: Chat with a Model
Create your first chat completion using a deployed model.Step 4: Create an Agent
Create an intelligent agent that can assist with tasks.Step 5: Add File Search to Your Agent
Enhance your agent with knowledge retrieval capabilities.Next Steps
Now that you’ve created your first agent with file search, explore more capabilities:Agent Overview
Learn about Foundry Agent Service capabilities
Environment Setup
Configure your agent environment
Agent Tools
Explore built-in tools for agents
SDK Overview
Deep dive into the Foundry SDK