-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Python: Add AzureAIAgent Deep Research Tool support #13034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python: Add AzureAIAgent Deep Research Tool support #13034
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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_MODEL
env var withinAzureAIAgentSettings
class.azure-ai-agents
package ver to 1.2.0b3.Contribution Checklist