End-to-end samples showcasing Foundry IQ, Fabric IQ, Work IQ, and Web IQ integrations in AI agents.
📚 New to the IQs? Start with The Microsoft IQ Series — a guided learning series that explains Foundry IQ, Fabric IQ, Work IQ, and Web IQ from the ground up. Then come back here to build with them.
💬 Questions or stuck? Ask in the IQ Discussions — we (and the community) are there to help.
| Sample | Description | Stack |
|---|---|---|
| Refund Agent (A365) | A365 agent wrapping an Microsoft Foundry agent with Fabric Data Agent, Foundry IQ knowledge, and Work IQ (Teams/email) — deployed to Microsoft Teams | Python 3.11+, A365 SDK, React/Vite dashboard |
| Travel Agent (Hosted, Foundry IQ + Work IQ) | A hosted Microsoft Foundry agent (Agent Framework SDK) grounded with Foundry IQ travel policies and Work IQ Mail — answers with both standing policy and recent email overrides, with an evaluation suite | Python 3.12, Agent Framework SDK, pytest-agent-evals |
Want a guided, self-paced walkthrough? Build Lab 532 — From Data to Context: Agent-Ready Knowledge with Foundry IQ takes you from raw data to a grounded, agent-ready knowledge base step by step.
- 🧑🏫 Lab repo — the full hands-on lab
- 🛠️ Self-deployment guide — deploy and run it yourself, at your own pace
- Azure subscription with access to Microsoft Foundry
- Microsoft 365 tenant enrolled in the Frontier Preview Program
- Azure CLI (
az login) and A365 CLI (install guide) - Python 3.11+ (for agent samples)
- Node.js 18+ (for dashboard frontends)
-
Clone the repo:
git clone https://github.com/microsoft/iq-samples.git cd iq-samples -
Pick a sample from the table above and navigate to its folder
-
Follow the sample's README — each sample has step-by-step setup instructions covering:
- Creating and configuring the Foundry agent with IQ tools
- Setting up Foundry IQ (knowledge/RAG), Work IQ (Teams/email), and Fabric IQ (data agent)
- A365 teammate provisioning and deployment
- Troubleshooting common errors
Tip: Each sample also includes a
TROUBLESHOOTING.mdwith solutions for all known errors. If you get stuck, check there first.
- 📚 The Microsoft IQ Series — a guided learning series covering Foundry IQ, Fabric IQ, Work IQ, and Web IQ. The best place to understand the concepts before (or while) building these samples.
- 🧪 Build Lab 532 — From Data to Context (Foundry IQ) — a hands-on lab with a self-deployment guide you can run at your own pace.
- 💬 IQ Discussions — ask questions, share what you built, and get help from the team and community.
- 🐛 Issues — found a bug in a sample? Open an issue in this repo.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit Contributor License Agreements.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.