Python: Add AzureAIAgent Deep Research Tool support#13034
Merged
Conversation
Collaborator
Author
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for the Azure AI Agent Deep Research Tool to the Semantic Kernel Python implementation. The Deep Research Tool enables agents to perform comprehensive research using advanced AI capabilities and Bing search integration.
- Implements support for both streaming and non-streaming Deep Research tool operations
- Adds necessary content generation functions for processing Deep Research tool calls and results
- Includes comprehensive sample applications demonstrating proper usage and configuration
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
python/semantic_kernel/agents/azure_ai/azure_ai_agent_settings.py |
Adds deep_research_model configuration field to agent settings |
python/semantic_kernel/agents/azure_ai/agent_thread_actions.py |
Integrates Deep Research tool support into agent execution flow for both streaming and non-streaming modes |
python/semantic_kernel/agents/azure_ai/agent_content_generation.py |
Implements content generation functions for Deep Research tool calls and responses |
python/samples/getting_started_with_agents/azure_ai_agent/step10_azure_ai_agent_deep_research.py |
Provides non-streaming Deep Research sample with detailed documentation |
python/samples/concepts/agents/azure_ai_agent/azure_ai_agent_deep_research_streaming.py |
Demonstrates streaming Deep Research functionality |
python/pyproject.toml |
Updates azure-ai-agents dependency to support Deep Research features |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
TaoChenOSU
approved these changes
Aug 29, 2025
eavanvalkenburg
approved these changes
Aug 30, 2025
ekzhu
approved these changes
Sep 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
The deep research tool was introduced for the AzureAIAgent; however, we didn't have support yet in SK. Adding support now for using the deep research tool for both streaming and non-streaming. Samples added as well.
Description
AZURE_AI_AGENT_DEEP_RESEARCH_MODELenv var withinAzureAIAgentSettingsclass.azure-ai-agentspackage ver to 1.2.0b3.Contribution Checklist