Giles Odigwe and GitHub
88e0ee1a2c
Python: Fix local MCP tools with AzureAIProjectAgentProvider ( #3315 )
...
* azureai v2 local mcp fix
* addressed copilot comments
2026-01-21 12:43:05 +00:00
Eduard van Valkenburg and GitHub
83e6229c11
Python: [Breaking] Simplified Content types to a single class with classmethod constructors. ( #3252 )
...
* ported Content to a new model
* fixed linting
* fixes
* fixed data format handling
* fix for 3.10 mypy
* fix
* fix int test
2026-01-20 22:09:39 +00:00
Dmytro Struk and GitHub
83e8965c8e
Python: [BREAKING] Make response_format validation errors visible to users ( #3274 )
...
* Make response_format validation errors visible to users
* Small fix
* Addressed comments
2026-01-19 17:20:46 +00:00
3243652df6
Python: Filter conversation_id when passing kwargs to agent as tool ( #3266 )
...
* Filter conversation_id when passing kwargs to agent as tool
* Small fix
* Update python/samples/getting_started/agents/azure_ai/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/agents/openai/openai_responses_client_with_agent_as_tool.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/getting_started/agents/azure_ai/azure_ai_with_agent_as_tool.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-19 12:54:06 +00:00
Dmytro Struk and GitHub
915df3b404
Python: Added rai_config to Azure AI agent creation ( #3265 )
...
* Add kwargs to create_agent method
* Added test for kwargs
* Addressed comment
* Added doc string
2026-01-19 12:51:27 +00:00
Dmytro Struk and GitHub
5687e13221
Python: [BREAKING] Renamed create_agent to as_agent ( #3249 )
...
* Renamed create_agent to as_agent
* Override for as_agent
* Added override
2026-01-16 19:21:52 +00:00
Dmytro Struk and GitHub
b773830e4b
Create/Get Agent API - fixes and example improvements ( #3246 )
2026-01-16 04:36:34 +00:00
Dmytro Struk and GitHub
b5ca0c8eda
Python: Create/Get Agent API for OpenAI Assistants ( #3208 )
...
* Added provider implementation
* Added example with response format
* Small improvements
2026-01-15 22:52:32 +00:00
Dmytro Struk and GitHub
48d124efbe
Python: Create/Get Agent API for Azure V1 ( #3192 )
...
* Added provider implementation for Azure AI V1
* Small fixes
* Fixed OpenAPI example
* Fixed local MCP example
* Fixed hosted MCP example
* Fixed file search sample
* Small fixes
* Resolved comments
* Doc updates
2026-01-15 22:19:03 +00:00
Evan Mattson and GitHub
15d0c34d9f
Python: Properly configure structured outputs based on new options dict ( #3213 )
...
* Properly configure structured outputs based on new options dict
* Fix mypy
2026-01-15 11:41:46 +09:00
Giles Odigwe and GitHub
9b9a0f178c
Python: Added AzureAI sample for downloading code interpreter generated files ( #3189 )
...
* added azure ai code interpreter file download sample
* copilot fix suggestions
* function name fixes + readme update
* small fix
2026-01-14 22:50:07 +00:00
99c5718696
Python: Create/Get Agent API for Azure V2 ( #3059 )
...
* Added get_agent method to Azure AI V2
* Small fixes
* Small fix
* Removed AzureAIAgentProvider
* Added create_agent method
* Small fixes
* Fixed code interpreter tool mapping
* Added agent provider for V2 client
* Updated response format handling
* Added provider example
* Fixed errors
* Update python/samples/getting_started/agents/azure_ai/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Small fix
* Updates from merge
* Resolved comments
* Resolved comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-14 19:35:01 +00:00
Eduard van Valkenburg and GitHub
d8cf8361bd
renamed all ( #3207 )
2026-01-14 05:54:07 +00:00
Eduard van Valkenburg and GitHub
3e97425245
Python: [BREAKING]: Introducing Options as TypedDict and Generic ( #3140 )
...
* WIP typeddict for options
* updated all clients and ChatAgents
* updated everything
* added ADR
* fix mypy
* proper typevar imports
* fixed import
* fixed other imports
* slight update in the sample
* updated from feedback
* fixes
* fixed missing covariants and test fixes
* fixed typing
* updated anthropic thinking config
* ruff fixes
* fixed int tests
* fix tests and mypy
* updated integration tests
* updated docstring and test fix
* improved options handling in obser
* mypy fix
* updated a host of integration tests
* fix tests
* bedrock fix
2026-01-13 16:41:05 +00:00
Eduard van Valkenburg and GitHub
203fb7b1c4
Python: [BREAKING]: removed display_name, renamed context_providers, middleware and AggregateContextProvider ( #3139 )
...
* removed display_name, renamed context_providers, middleware and AggregateContextProvider
* fixes
* fixed test
* testfix
* removed mistakenly put back test
* updated new test
* rename middlewares to middleware
* middleware fixes
2026-01-13 02:24:07 +00:00
Giles Odigwe and GitHub
ef44fb4960
azureai direct a2a endpoint support ( #3127 )
2026-01-12 22:03:04 +00:00
Dina Suehiro Jones and GitHub
3a5fe31263
Fix Ollama model env var in documentation ( #3156 )
...
Signed-off-by: Dina Suehiro Jones <dina.s.jones@intel.com >
2026-01-12 14:15:49 +00:00
3f7ea350dc
Python: Add tool call/result content types and update connectors and samples ( #2971 )
...
* Add new AI content types and image tool support
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Add Python content types for tool calls/results and image generation tool support
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Address review feedback for tool content and samples
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Tighten image generation typing and sample tools list
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Align image generation output typing
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Handle MCP naming, image options mapping, and connector tool content
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Allow MCP call in function approval request
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Remove raw image_generation tool remapping
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Restore Anthropic tool_use to function calls unless code execution
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Fix lint issues for hosted file docstring and MCP parsing
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Import ChatResponse types in Anthropic client
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Fix Anthropics citation type imports and MCP typing for handoff/tools
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* Skip lightning tests without agentlightning and fix function call import
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
* fix lint on lab package
* rebuilt anthropic parsing
* redid anthropic parsing
* typo
* updated parsing and added missing docstrings
* fix tests
* mypy fixes
* second mypy fix
* add new class to other samples
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: eavanvalkenburg <13749212+eavanvalkenburg@users.noreply.github.com >
Co-authored-by: eavanvalkenburg <github@vanvalkenburg.eu >
2026-01-08 19:46:32 +00:00
Giles Odigwe and GitHub
ea370f8ff6
sharepoint sample fix ( #3108 )
2026-01-06 22:57:54 +00:00
SuperKenVery and GitHub
85d70f01f6
Python: Preserve reasoning blocks with OpenRouter ( #2950 )
...
* Preserve reasoning blocks with OpenRouter
* Put encrypted reasoning in TextReasoningContent
* Remove unneccessary change
* Fix docs
* Support streaming
* Fix handling None in TextReasoningContent.text
2025-12-19 17:03:19 +00:00
Evan Mattson and GitHub
ca1532cf22
Python: Move ollama samples to samples getting started dir ( #2921 )
...
* Move ollama samples to samples getting started dir
* Address feedback
2025-12-18 08:37:05 +00:00
Giles Odigwe and GitHub
d5527982b6
Python: Azure AI Agent with Bing Grounding Citations Sample ( #2892 )
...
* bing grounding sample with citations
* small fix
* fix
2025-12-17 00:43:38 +00:00
2f06fe557a
Python : Ollama Connector for Agent Framework ( #1104 )
...
* Initial Commit for Olama Connector
* Added Olama Sample
* Add Sample & Fixed Open Telemetry
* Fixed Spelling from Olama to Ollama
* remove"opentelemetry-semantic-conventions-ai ~=0.4.13" since its handled in a different pr
* Added Tool Calling
* Finalizing test cases
* Adjust samples to be more reliable
* Update python/packages/ollama/agent_framework_ollama/_chat_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/ollama/pyproject.toml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/ollama/tests/test_ollama_chat_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/ollama/agent_framework_ollama/_chat_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Improved Docstrings & Sample
* Update python/packages/ollama/agent_framework_ollama/_chat_client.py
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
* Integrate PR Feedback
- Divided Streaming and Non-Streaming into independent Methods
- Catch Ollama Validation Error
- Add OTEL Provider Name
- Checked Ollama Messages
- Add Usage Statistics
* Revert setting, so it can be none
* Validate Message formatting between AF and Ollama
* Catch Ollama Error and raise a ServiceResponse Error
* Fix mypy error
* remove .vscode comma
* Add Reasoning support & adjust to new structure
* Add Ollama Multimodality and Reasoning
* Add test cases for reasoning
* Add Tests for Error Handling in Ollama Client
* Update python/samples/getting_started/multimodal_input/ollama_chat_multimodal.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Integrated Copilot Feedback
* Implement first PR Feedback
* Adjust Readme files for examples
* Adjust argument passing via additional chat options
* Implemented PR Feedback
* Removing Ollama Package from Core and moving samples
* Fix Link & Adding Samples to Main Sample Readme
* Fixing Links in Readme
* Moved Multimodal and Chat Example
* Fixed Link in ChatClient to Ollama
* Fix AgentFramework Links in Ollama Project
* Fix observability breaking change
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com >
2025-12-16 15:02:38 +00:00
Evan Mattson and GitHub
3481914981
Capture file IDs from code interpreter in streaming responses ( #2741 )
2025-12-11 07:30:19 +00:00
Giles Odigwe and GitHub
b55095f0fb
azureai image gen sample update ( #2709 )
2025-12-09 13:50:04 +00:00
Dmytro Struk and GitHub
cfcb71334a
Renamed async_credential to credential ( #2648 )
2025-12-08 01:21:18 +00:00
Giles Odigwe and GitHub
f5f909f2e2
Python: Added Azure OpenAI Responses File Search sample + Integration test update ( #2645 )
...
* added azure responses file search sample + int test update
* sample update to use token credential
2025-12-05 19:01:48 +00:00
Giles Odigwe and GitHub
365e438981
Python: AzureAI Local MCP Sample ( #2616 )
...
* added azure ai local mcp sample
* small fix
* handling for local mcp
* remove redundant local mcp handling
2025-12-04 19:10:00 +00:00
5d8be5836c
Python: Added support for application endpoints in Azure AI client ( #2460 )
...
* Added support for application endpoints in Azure AI client
* Fixed tests
* Update python/samples/getting_started/agents/azure_ai/azure_ai_with_application_endpoint.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Addressed comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-25 19:32:55 +00:00
Dmytro Struk and GitHub
b8260ae24c
Python: [BREAKING] Removed default "store" value ( #2443 )
...
* Removed default store value
* Small fix
2025-11-25 17:53:08 +00:00
Evan Mattson and GitHub
2a4802eac3
Python: Fix runtime response format for responses client ( #2440 )
...
* Fix runtime response format for responses client
* Handle run time schema for Azure AI Client.
2025-11-25 07:50:20 +00:00
Giles Odigwe and GitHub
e303cc963d
Python: AzureAI OpenAPI + Memory Search Samples ( #2390 )
...
* openapi + memory search samples
* readme update
* memory store name fix
2025-11-25 01:17:14 +00:00
Eduard van Valkenburg and GitHub
9f43108ef1
Python: renamed ai search and cleanup of samples and unified import logic ( #2369 )
...
* renamed ai search and cleanup of samples and unified import logic
* fixed error messages
* fixed folder name
* remove old samples from readme
2025-11-24 17:06:22 +00:00
Giles Odigwe and GitHub
ec08ee541d
a2a sample update ( #2391 )
2025-11-24 10:57:00 +00:00
ee8936d514
Python: Integration tests for Azure AI client and fixes in samples ( #2387 )
...
* Added integration tests
* Update python/packages/azure-ai/tests/test_azure_ai_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Small fixes in samples
* Small fix
* Small fix
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-22 00:31:57 +00:00
d18ce24bf8
Python: feat(mcp): add full _meta field support for CallToolResult objects ( #2286 )
...
* feat(mcp): add full _meta field support for CallToolResult objects
- Extract and preserve complete _meta field from MCP CallToolResult responses
- Merge metadata into additional_properties of converted content items
- Handle isError field for proper error state integration
- Support arbitrary metadata like token usage, costs, and performance metrics
- Maintain backward compatibility with existing tool execution workflows
- Add comprehensive test coverage for all metadata scenarios including edge cases
- Update documentation with metadata handling examples and patterns
Fixes protocol compliance violation where _meta fields were being dropped,
enables proper monitoring and cost tracking of MCP tool usage.
* Update python/packages/core/agent_framework/_mcp.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Clarify MCP _meta field test to use generic example metadata
- Updated test_mcp_call_tool_result_with_meta_arbitrary_data to use arbitrary metadata fields
- Added comments to emphasize that _meta structure is server-specific and not standardized
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-21 08:43:24 +00:00
Evan Mattson and GitHub
5bdf8a774a
Sample to show passing in JSON schema for structured outputs ( #2362 )
2025-11-21 01:42:46 +00:00
04e711cd55
Python: Feature/azure ai search agentic rag (search as separate package) ( #2328 )
...
* Python: Fix pyright errors and move search provider to core (#1546 )
* address pablo coments
* update azure ai search pypi version to latest prev
* init update
* Fix MyPy type annotation errors in search provider
- Add type annotation to DEFAULT_CONTEXT_PROMPT
- Add type annotation to vectorizable_fields
- Add union type annotation to vector_queries
* Fix DEFAULT_CONTEXT_PROMPT MyPy error and update test
- Rename DEFAULT_CONTEXT_PROMPT to _DEFAULT_SEARCH_CONTEXT_PROMPT to avoid conflict with base class Final variable
- Update test to use new constant name
- All core package tests passing (1123 passed)
* Python: Move Azure AI Search to separate package per PR feedback
Addresses reviewer feedback from PR #1546 by isolating the beta dependency
(azure-search-documents==11.7.0b2) into a new agent-framework-aisearch package.
Changes:
- Created new agent-framework-aisearch package with complete structure
- Moved AzureAISearchContextProvider from core to aisearch package
- Added AzureAISearchSettings class for environment variable auto-loading
- Added support for direct API key string (auto-converts to AzureKeyCredential)
- Added azure_openai_api_key parameter for Knowledge Base authentication
- Updated embedding_function type to Callable[[str], Awaitable[list[float]]]
- Moved Role import to top-level imports
- Maintained lazy loading through agent_framework.azure module
- Removed beta dependency from core package
- Updated all tests to use new package location
- All quality checks pass: ruff format/lint, pyright, mypy (0 errors)
- All 21 unit tests pass with 59% coverage
Semantic search mode verified working with both API key and managed identity authentication.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* Python: Clarify top_k parameter only applies to semantic mode
Updated documentation to clarify that the top_k parameter only affects
semantic search mode. In agentic mode, the server-side Knowledge Base
determines retrieval based on query complexity and reasoning effort.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* Python: Add Knowledge Base output mode and retrieval reasoning effort parameters
Added support for configurable Knowledge Base behavior in agentic mode:
- knowledge_base_output_mode: "extractive_data" (default) or "answer_synthesis"
Some knowledge sources require answer_synthesis mode for proper functionality.
- retrieval_reasoning_effort: "minimal" (default), "medium", or "low"
Controls query planning complexity and multi-hop reasoning depth.
These parameters give users fine-grained control over Knowledge Base behavior
and enable support for knowledge sources that require answer synthesis.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* effort and outputmode query params
* Address PR review feedback for Azure AI Search context provider
* comments eduward
* ed latest comments
---------
Co-authored-by: Farzad Sunavala <farzad.sunavala.enovate.ai>
Co-authored-by: farzad528 <farzad528@users.noreply.github.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-20 22:34:46 +00:00
79bb87061b
Python: Clean up imports ( #2318 )
...
* chore: tidy imports
* Update python/packages/azurefunctions/agent_framework_azurefunctions/_errors.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/azurefunctions/agent_framework_azurefunctions/_callbacks.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* chore: revert stub file change
* chore: trigger pre-commit hook, re-add `annotations` import
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-19 23:41:01 +00:00
Giles Odigwe and GitHub
d5165e2532
Python: Added Foundry Sample for A2A + SharePoint Samples ( #2313 )
...
* a2a + sharepoint samples
* small fixes
2025-11-19 11:13:47 +00:00
Eduard van Valkenburg and GitHub
8a7260140a
Python: Anthropic foundry ( #2302 )
...
* added anthropic foundry sample
* updated readme
* typo
2025-11-18 16:03:40 +00:00
Dmytro Struk and GitHub
ea066771d9
Python: Updated documentation for Azure AI ( #2280 )
...
* Updated documentation for Azure AI
* Small fixes
2025-11-17 19:14:07 +00:00
Eduard van Valkenburg and GitHub
fcc3f1b6c0
Python: fix anthropic code interpreter tool repr ( #2244 )
...
* fix anthropic code interpreter tool repr
* fixes
* added skills and sample
* test fix
* add new sample to readme
* fixes tests
2025-11-17 10:06:10 +00:00
c1786b38a7
Python: Added Bing Custom Search Sample using HostedWebSearchTool ( #2226 )
...
* custom search sample using hostedwebsearch
* small fixes
* Update python/samples/getting_started/agents/azure_ai_agent/azure_ai_with_bing_custom_search.py
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
---------
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com >
2025-11-14 19:12:51 +00:00
Giles Odigwe and GitHub
8b3732795c
Python: Added Fabric and Browser Automation Samples ( #2207 )
...
* fabric + browser automation
* tool type fixes
2025-11-14 19:00:22 +00:00
Dmytro Struk and GitHub
8458b4ade7
Agent name as required for AzureAIClient ( #2198 )
2025-11-14 01:17:50 +00:00
15d0bda8a2
Python: Added an Azure OpenAI Responses API Hosted MCP sample ( #2108 )
...
* Add files via upload
* Update python/samples/getting_started/agents/azure_openai/azure_responses_client_with_hosted_mcp.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Updated README.md
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-13 22:44:49 +00:00
Giles Odigwe and GitHub
f04f5ef297
Python: Added Samples for Bing Grounding and Custom Search ( #2200 )
...
* bing grounding and custom search samples
* readme
2025-11-13 21:57:16 +00:00
Giles Odigwe and GitHub
21dceca482
Python: Enhance Azure AI Search Citations with Complete URL Information ( #2066 )
...
* add get_url to raw rep for absolute path url
* fixes
* add real url to citation annotation
* small fix
* project client + openapi fix
* openapi sample revert
* tool call list fix
2025-11-13 19:23:11 +00:00
Tao Chen and GitHub
348ac764e6
Add samples for web search and image gen tools ( #2155 )
2025-11-12 23:58:23 +00:00