Skip to content

Feature Request: Add Native Support for Azure AI Foundry (Anthropic)Β #3469

@ameyer117

Description

@ameyer117

Is your feature request related to a problem? Please describe.
Microsoft and Anthropic have very recently announced a strategic partnership bringing Claude models to Azure AI Foundry (formerly Azure AI Studio).

While Pydantic AI currently offers first-class support for the standard Anthropic API, as well as cloud-specific integrations for AWS Bedrock and Google Vertex AI, there is currently no native support for Azure-hosted Anthropic models. Users wishing to use Claude on Azure must currently build custom providers to handle Azure-specific endpoints and authentication (Entra ID), which creates unnecessary friction for enterprise users within the Microsoft ecosystem.

Describe the solution you'd like
I would like to see a new model integration added for Azure, following the same pattern currently used for Bedrock and Vertex AI.

Specifically:

  1. Add an implementation (e.g., AnthropicAzureModel) that wraps the AnthropicFoundry client recently added to the official anthropic Python SDK.
  2. Ensure the implementation supports Azure-specific authentication methods, particularly Azure AD / Entra ID (via azure-identity), similar to how other Azure integrations are handled.
  3. Maintain API consistency with the existing AnthropicBedrockModel and AnthropicVertexModel classes to ensure a uniform experience across different cloud providers.

Describe alternatives you've considered
The current alternative is manually instantiating the AnthropicFoundry client and wrapping it in a custom generic model adapter, which is verbose and prone to configuration errors compared to a native Pydantic AI implementation.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions