Skip to content

microsoft/iq-samples

Repository files navigation

IQ Samples

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.

Samples

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

🧪 Hands-on Lab

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.

Getting Started

Prerequisites

Quick Start

  1. Clone the repo:

    git clone https://github.com/microsoft/iq-samples.git
    cd iq-samples
  2. Pick a sample from the table above and navigate to its folder

  3. 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.md with solutions for all known errors. If you get stuck, check there first.

Learn More & Get Help

Contributing

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.

Trademarks

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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors