Python: Anthropic foundry#2302
Merged
eavanvalkenburg merged 3 commits intomicrosoft:mainfrom Nov 18, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new Python sample demonstrating how to use Anthropic Claude models through Azure Foundry endpoints with the Agent Framework.
Key Changes
- New sample file
anthropic_foundry.pyshowing Foundry integration with AsyncAnthropicFoundry client - Updated README to document Foundry-specific environment variables
- Updated README environment variable name from
ANTHROPIC_MODELtoANTHROPIC_CHAT_MODEL_IDfor consistency
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
python/samples/getting_started/agents/anthropic/anthropic_foundry.py |
New sample demonstrating Anthropic Foundry integration with hosted tools and thinking feature |
python/samples/getting_started/agents/anthropic/README.md |
Added documentation for the new sample and Foundry-specific environment variables |
python/samples/getting_started/agents/anthropic/anthropic_foundry.py
Outdated
Show resolved
Hide resolved
dmytrostruk
approved these changes
Nov 18, 2025
alliscode
approved these changes
Nov 18, 2025
victordibia
approved these changes
Nov 18, 2025
arisng
pushed a commit
to arisng/agent-framework
that referenced
this pull request
Feb 2, 2026
* added anthropic foundry sample * updated readme * typo
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
Adds a sample showing how to run agent framework with the new Anthropic endpoints in Foundry.
Description
Contribution Checklist