iq-series
Copilot instructions383 starsChanged 9 months agoMITView on GitHub
This repository is The IQ Series — a hands-on learning series for Microsoft IQ, Microsoft's unified intelligence layer for the enterprise. It covers three intelligence services:
- Reads credentials
The file
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Authentication: Always use DefaultAzureCredential — never hardcode API keys
- Very specific: line 34
Agent creation: Use AIProjectClient with MCPTool pointing to the knowledge base MCP endpoint
- Distinctive: line 47
All Azure resource creation uses Bicep (not raw ARM templates)
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions for The IQ Series
Project Overview
This repository is The IQ Series — a hands-on learning series for Microsoft IQ, Microsoft's unified intelligence layer for the enterprise. It covers three intelligence services:
- Foundry IQ: A managed knowledge layer for enterprise data (Azure AI Search + Foundry Agent Service)
- Work IQ: Intelligence layer for Microsoft 365 Copilot (coming soon)
- Fabric IQ: Business semantics for intelligent agents and decisions (coming soon)
Repository Structure
1-Foundry-IQ-Unlocking-Knowledge-for-Agents/— Episode 1: Core concepts, knowledge sources, knowledge bases, agentic retrieval2-Foundry-IQ-Building-the-Data-Pipeline-with-Knowledge-Sources/— Episode 2: Data pipelines, indexed/remote/web knowledge sources3-Foundry-IQ-Querying-the-Multi-Source-AI-Knowledge-Bases/— Episode 3: Multi-source querying and knowledge base compositioninfra/— Bicep and ARM templates for deploying all Azure resources- Each episode has a
cookbook/folder with Jupyter notebooks
Key Azure Services
- Azure AI Search — Provides the search index and agentic retrieval capabilities
- Azure OpenAI — Hosts embedding (
text-embedding-3-large) and chat (gpt-4o-mini) model deployments - Azure AI Services (Foundry) — The parent resource for Foundry projects
- Foundry Project — Hosts agents and connections
- RBAC Roles — Search Service Contributor, Search Index Data Contributor, Search Index Data Reader, Cognitive Services User
SDK & API Patterns
- Authentication: Always use
DefaultAzureCredential— never hardcode API keys - Environment variables: Loaded from
.envfiles usingpython-dotenv - Key packages:
azure-search-documents,azure-ai-projects,azure-identity - Agentic retrieval: Knowledge sources → Knowledge bases →
KnowledgeBaseRetrievalClient.retrieve() - Agent integration: Knowledge bases expose an MCP endpoint at
{search_endpoint}/knowledgebases/{kb_name}/mcp - Agent creation: Use
AIProjectClientwithMCPToolpointing to the knowledge base MCP endpoint
Foundry IQ Concepts
- Knowledge Source: A pointer to a search index — tells Foundry IQ where to find data
- Knowledge Base: Wraps knowledge sources with an LLM config — defines how queries are planned, executed, and synthesized
- Agentic Retrieval: Query planning → parallel sub-queries → semantic reranking → answer synthesis with citations
- MCP Endpoint: Each knowledge base exposes a Model Context Protocol endpoint for tool-based access by agents
Conventions
- Markdown files use ATX-style headers (
#,##, etc.) - Code examples use Python 3.10+
- All Azure resource creation uses Bicep (not raw ARM templates)
- The ARM template (
azuredeploy.json) is generated from Bicep viaaz bicep build - Deploy to Azure button links use
https://aka.ms/iq-series/deploytoazure
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

