Foundry IQ

The knowledge layer behind Foundry agents. Replaces custom RAG plumbing with SLA-backed retrieval that unifies enterprise data sources behind one endpoint.

What Foundry IQ Replaces

Without Foundry IQ, building RAG requires: chunking, embedding, indexing, retrieval pipeline, source integration, permission sync - all custom code.

With Foundry IQ: connect data sources, create a knowledge base, wire it to your agent. Foundry handles ingestion, indexing, retrieval, and permissions.

Architecture

IQ Components

ComponentStatusDescription
Foundry IQ Knowledge BasesGASLA-backed retrieval over connected data sources
Foundry IQ ServerlessPreviewNo infrastructure provisioning required
Work IQPreviewGrounding in Microsoft 365 data (email, docs, calendar)
Fabric IQPreviewGrounding in Fabric data (semantic models, ontology)
Web IQLimited accessLive web grounding, sub-200ms, zero data retention
Agentic RetrievalGAMulti-step retrieval with reasoning
File SearchGADirect file upload and search

Knowledge Base Setup

from azure.ai.projects import AIProjectClient
from azure.identity import DefaultAzureCredential

client = AIProjectClient(
    credential=DefaultAzureCredential(),
    endpoint="https://my-foundry.services.ai.azure.com"
)

# Create knowledge base connected to Azure AI Search
kb = client.knowledge_bases.create(
    name="product-docs",
    data_sources=[
        {"type": "azure_blob", "connection": "my-blob-connection"},
        {"type": "sharepoint", "connection": "my-sp-connection"}
    ]
)

# Wire to agent
agent = client.agents.create(
    model="gpt-5",
    name="docs-agent",
    tools=[{"type": "foundry_iq", "knowledge_base_id": kb.id}]
)

MCP Access

Knowledge bases are queryable via MCP (Model Context Protocol). Any MCP-compatible client can connect:

Endpoint: https://my-foundry.services.ai.azure.com/mcp

Data Pipeline Features

  • Layout-aware ingestion - understands document structure (headers, tables, lists)
  • Image serving - extracts and serves embedded images
  • Broad SharePoint indexing - libraries, lists, pages
  • Permission sync - respects source ACLs via Purview
  • Sensitivity labels - governance flows through from source to retrieval

Foundry IQ vs Custom RAG

DimensionFoundry IQCustom RAG
Setup timeMinutesDays-weeks
InfrastructureManagedSelf-managed
Permission syncAutomatic (Purview)Manual
Multi-sourceBuilt-inCustom per source
SLAYesDepends on implementation
FlexibilityOpinionatedFull control
Best forStandard enterprise knowledgeCustom retrieval logic, non-Azure sources