skillfed

agent-framework-azure-ai-search

Azure AI Search integration for Microsoft Agent Framework.

agent-framework-azure-ai-search v1.0.0b260813 477.9K downloads/30d#6,441 on PyPI12,804
Permissive license Active released

What it is and what it does

This package integrates Azure AI Search into the Microsoft Agent Framework, enabling retrieval-augmented generation (RAG) for agent applications. It offers two retrieval modes: Semantic Mode performs fast hybrid search combining vector and keyword matching with semantic ranking, while Agentic Mode supports multi-hop reasoning over Knowledge Bases for complex queries that require iterative refinement. The package automatically detects which version of azure-search-documents is installed and adapts its behavior accordingly—stable builds use extractive output with minimal reasoning, while preview builds unlock advanced features like answer synthesis and extended reasoning effort levels.

The integration handles query-time user identity by forwarding caller-specific Azure AI Search authorization tokens, enabling document-level access control when the index uses permission fields. It supports both API key and managed identity authentication, and configuration is typically done via environment variables. The package is in active development (beta status) and requires Python 3.10 or later.

Use it for:

  • Build RAG agents that retrieve context from Azure AI Search indexes using hybrid vector + keyword search with semantic ranking.
  • Implement multi-hop reasoning agents that iteratively refine queries against Knowledge Bases to answer complex questions.
  • Enforce document-level access control in agent queries by passing user-specific credentials to retrieve only authorized results.
  • Migrate between stable and preview Azure AI Search API versions without code changes—just update the install command.
  • Integrate Azure AI Search retrieval into larger agent-framework applications for context-aware decision-making.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides RAG (Retrieval Augmented Generation) context providers for Azure AI Search, supporting both semantic hybrid search and agentic multi-hop reasoning modes within the Microsoft Agent Framework.

Yes. The package is actively maintained, has no known vulnerabilities, and offers low install friction. It's permissively licensed (MIT) and supports current Python versions. The integration is well-suited if you're building agents that need RAG capabilities with Azure AI Search, especially if you require either semantic hybrid search or multi-hop reasoning. The auto-detection of API versions is a practical design choice that reduces maintenance burden.

Install

agent-framework-azure-ai-search on PyPI

pip

pip install agent-framework-azure-ai-search

uv

uv add agent-framework-azure-ai-search

poetry

poetry add agent-framework-azure-ai-search

Installing agent-framework-azure-ai-search

Before you install

Low install friction with a pure-Python wheel. The package is actively maintained with a recent release and no known vulnerabilities. It requires agent-framework-core and azure-search-documents as runtime dependencies; the latter auto-detects its own API version, so no pinning is needed in code.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install agent-framework-azure-ai-search --pre

from agent_framework_azure_ai_search import AzureAISearchContextProvider

context_provider = AzureAISearchContextProvider(
    endpoint=search_endpoint,
    credential=application_credential,
    mode="agentic",
    knowledge_base_name=knowledge_base_name,
)

Requires Python 3.10 or later. Preview features (agentic output modes and extended reasoning) require azure-search-documents>=12.1.0b1 installed with --pre flag.

Verify before relying

  • Whether the package's Knowledge Base multi-hop reasoning scales to typical enterprise query complexity and latency requirements.
  • Performance characteristics and cost implications of semantic ranking vs. agentic modes for typical workloads.
  • Compatibility and integration patterns with other agent-framework components beyond what the excerpt covers.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — agent-framework-core, azure-search-documents
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Downloads 477,949/month — #6,441 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: agent_framework_azure_ai_search-1.0.0b260813-py3-none-any.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

azure ai search rag integrationretrieval augmented generation azuresemantic hybrid search azureagent framework context providerknowledge base multi-hop reasoningazure search vector keyword hybridagentic retrieval azure
rag-retrievalazure-integrationagent-framework

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

azure-search-documents

Client library for querying, indexing, and…

unclear · top 5,000 on PyPI

agent-framework-azure-ai

Integrates Azure AI Foundry memory capabilities…

permissive · top 15,000 on PyPI

llama-index-vector-stores-azureaisearch

Integrates Azure AI Search as a vector store…

permissive · top 15,000 on PyPI

redisvl

RedisVL is a Python client for building AI…

permissive · top 5,000 on PyPI

llama-index-embeddings-azure-openai

Integrates Azure OpenAI's embedding models with…

permissive · top 15,000 on PyPI

h2ogpte

Python client for querying and managing…

unclear · top 15,000 on PyPI

needle-python

Python client library for the Needle API,…

permissive · top 15,000 on PyPI

langchain-milvus

Integrates LangChain with Milvus vector…

permissive · top 15,000 on PyPI

agent-framework-redis

Adds Redis-backed persistent memory and…

permissive · top 15,000 on PyPI

strands-agents-tools

Provides ready-to-use tools for AI agents to…

permissive · top 5,000 on PyPI

Further reading