Tutorial part 3: Create a Foundry agent with tools¶
In this tutorial, you build an agent with the Microsoft Foundry Agents SDK and connect three IQ tools: Fabric IQ (structured data), Foundry IQ (documents), and Work IQ (Microsoft 365).
Prerequisites: Tutorial part 1 completed, Microsoft Foundry project with a deployed model (e.g. gpt-4.1-mini), Python 3.10+
Skills¶
Run these skills in Copilot Chat:
| Skill | What it does |
|---|---|
/miq-3a-create-foundry-agent |
Create a basic agent with the Foundry SDK |
/miq-3b-add-fabric-iq |
Connect Fabric IQ to query Lakehouse data |
/miq-3c-add-foundry-iq |
Connect Foundry IQ for document retrieval via AI Search |
/miq-3d-add-work-iq |
Connect Work IQ to access Teams, email, and meetings |
What's happening in this module
Create basic agent -- The Microsoft Foundry Agent Service hosts a persistent, versioned agent created with the Python SDK.
Add Fabric IQ -- Connects the Fabric Data Agent so the agent can query Lakehouse tables with natural language.
Add Foundry IQ -- Connects Azure AI Search as a knowledge base for document retrieval (RAG).
Add Work IQ -- Connects the Microsoft 365 tool to access Teams chats, emails, and calendar events via Microsoft Graph.
Supporting documentation¶
- Microsoft Foundry Agent Service
- Create an agent with the Python SDK
- Connect Fabric Data Agent to Foundry
- Connect Azure AI Search to Foundry
- Connect Microsoft 365 tools
- Agent tool connections overview
Next steps¶
Continue to Tutorial part 4: Build an API and web app.