π€Overview | πQuick Start | π¦Prerequisites | βοΈLocal Setup | πWorkshop Content | π§©Project Structure | βSupport | π€Contributing
A hands-on workshop that guides you through building intelligent AI agents using Azure AI Foundry's SDK, with examples ranging from customer service to health and dietary advice. You will:
- Learn Azure AI Foundry fundamentals
- Set up authentication and project configuration
- Deploy and test AI models
- Build AI agents (customer service and health advisor examples)
- Implement health calculations and dietary planning
- Evaluate agent performance with safety checks
Duration: 2-4 hours
Focus: Hands-on exercises, interactive notebooks, practical examples
-
Clone the repo:
git clone https://github.com/Azure/azure-ai-foundry-workshop.git cd azure-ai-foundry-workshop
-
Create & activate a virtual environment:
python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate
-
Install dependencies:
# Install core Azure AI SDKs pip install azure-identity azure-ai-projects azure-ai-inference azure-ai-evaluation azure-ai-contentsafety azure-monitor-opentelemetry # Install additional requirements pip install -r requirements.txt
-
Start Jupyter:
jupyter notebook
-
Follow the Learning Path:
-
Introduction (
introduction/
)0-authentication.ipynb
: Set up your Azure credentials1-project_setup.ipynb
: Configure your AI Foundry project2-quick_start.ipynb
: Learn basic operations
-
Main Workshop (after completing introduction)
- Building Agents
- Model Deployment
- Evaluation
- Advanced Features
-
- Python 3.10+
- Azure subscription with access to Azure AI Foundry
- Basic Python knowledge
- Azure CLI
- Git
# Install Azure CLI (Ubuntu)
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
# Login and set subscription
az login
az account set --subscription <YOUR_SUBSCRIPTION_ID>
-
Verify Python Version:
python --version # Should be 3.10 or higher
-
Create & activate virtual environment:
python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Configure environment:
- Copy
.env.example
to.env
- Update with your Azure credentials
- Copy
-
Start Jupyter:
jupyter notebook
- Authentication setup
- Project configuration
- Quick start guide
- Basic concepts
- Agent design principles
- Implementation strategies
- Customer Service Agent
- Health Advisor Agent
- BMI calculations
- Dietary planning
- Nutritional guidance
- Testing and deployment
- Content safety checks
- Best practices
- Available models
- Deployment options
- Configuration
- Performance tuning
- Metrics and monitoring
- Performance analysis
- Optimization techniques
- Continuous improvement
azure-ai-foundry-workshop/
βββ introduction/
β βββ 0-authentication.ipynb
β βββ 1-project_setup.ipynb
β βββ 2-quick_start.ipynb
βββ building_agent/
β βββ design/
β βββ implementation/
β βββ testing/
βββ model_deployment/
β βββ setup/
β βββ configuration/
βββ evaluation/
β βββ metrics/
β βββ analysis/
βββ docs/
β βββ guides/
βββ requirements.txt
βββ README.md
If you encounter issues:
-
Check Prerequisites:
- Verify Python version
- Confirm Azure CLI installation
- Check environment variables
-
Common Solutions:
- Restart Jupyter kernel
- Reactivate virtual environment
- Clear notebook output and restart
-
Get Help:
- Check Azure AI Foundry docs
- Search open issues
- Submit a new issue
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a Pull Request
- Follow PEP 8 style guide
- Add tests for new features
- Update documentation
- Keep examples simple and clear
This project follows the Microsoft Open Source Code of Conduct.
MIT License
Copyright (c) Microsoft
See LICENSE.txt for details.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos must follow Microsoft's Trademark & Brand Guidelines.