Skip to content

Python: Anthropic foundry#2302

Merged
eavanvalkenburg merged 3 commits into
microsoft:mainfrom
eavanvalkenburg:anthropic_foundry
Nov 18, 2025
Merged

Python: Anthropic foundry#2302
eavanvalkenburg merged 3 commits into
microsoft:mainfrom
eavanvalkenburg:anthropic_foundry

Conversation

@eavanvalkenburg

Copy link
Copy Markdown
Member

Motivation and Context

Adds a sample showing how to run agent framework with the new Anthropic endpoints in Foundry.

Description

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings November 18, 2025 15:46
@markwallace-microsoft markwallace-microsoft added documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs python Usage: [Issues, PRs], Target: Python labels Nov 18, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 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.py showing Foundry integration with AsyncAnthropicFoundry client
  • Updated README to document Foundry-specific environment variables
  • Updated README environment variable name from ANTHROPIC_MODEL to ANTHROPIC_CHAT_MODEL_ID for 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

Comment thread python/samples/getting_started/agents/anthropic/anthropic_foundry.py Outdated
@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Nov 18, 2025
Merged via the queue into microsoft:main with commit 8a72601 Nov 18, 2025
23 checks passed
arisng pushed a commit to arisng/agent-framework that referenced this pull request Feb 2, 2026
* added anthropic foundry sample

* updated readme

* typo
@eavanvalkenburg eavanvalkenburg deleted the anthropic_foundry branch June 30, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants