skillfed

agent-framework-anthropic

Anthropic integration for Microsoft Agent Framework.

agent-framework-anthropic v1.0.0b260730 543.2K downloads/30d#6,085 on PyPI12,804
Permissive license Active released

What it is and what it does

This package bridges Microsoft's Agent Framework with Anthropic's API, letting you build agent applications that call Anthropic models. It provides a unified client interface (AnthropicClient) for direct Anthropic endpoints and three hosted transport wrappers—AnthropicFoundryClient, AnthropicBedrockClient, and AnthropicVertexClient—that route requests through Microsoft Foundry, Amazon Bedrock, and Google Vertex AI respectively.

The package supports both streaming and non-streaming responses, and includes structured system block support for Anthropic's prompt caching feature with cache control metadata. It depends on agent-framework-core for the framework scaffolding and anthropic for API communication. The package is in beta and requires Python 3.10 or later.

Use it for:

  • Build multi-provider agent applications that can switch between direct Anthropic and hosted transports without changing core logic.
  • Implement agents with prompt caching to reduce latency and costs on repeated or similar requests to Anthropic.
  • Route agent workloads through Amazon Bedrock or Google Vertex AI for compliance, latency, or organizational requirements.
  • Stream agent responses for real-time interaction while maintaining structured system prompts with cache control.
  • Integrate Anthropic models into existing Microsoft Agent Framework deployments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Connects Agent Framework applications to Anthropic's API, providing client implementations for direct Anthropic endpoints and hosted transports via Microsoft Foundry, Amazon Bedrock, and Google Vertex AI.

Yes, if you are building agents with Microsoft Agent Framework and want to use Anthropic models. The package is actively maintained, has low install friction, carries a permissive MIT license, and offers both direct and multi-cloud transport options. Be aware it is in beta—test thoroughly before production use.

Install

agent-framework-anthropic on PyPI

pip

pip install agent-framework-anthropic

uv

uv add agent-framework-anthropic

poetry

poetry add agent-framework-anthropic

Installing agent-framework-anthropic

Before you install

Low friction install with only two runtime dependencies. Active maintenance—released 15 days ago with recent commits and a healthy repository signal.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install agent-framework-anthropic --pre

from agent_framework_anthropic import AnthropicClient

client = AnthropicClient()
response = await client.get_response("Hello")

Requires Python 3.10 or later; package is in beta (pre-release) and depends on agent-framework-core and anthropic packages.

Verify before relying

  • Whether streaming and non-streaming response modes have feature parity or known differences.
  • Whether prompt caching with ephemeral TTL is supported across all three hosted transports (Foundry, Bedrock, Vertex).
  • Performance characteristics and latency overhead of the transport wrappers compared to direct Anthropic API calls.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — agent-framework-core, anthropic
Maintenance actively maintained — 15 days since the last release
Last repo commit
First released
Downloads 543,188/month — #6,085 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: agent_framework_anthropic-1.0.0b260730-py3-none-any.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

anthropic agent framework integrationagent framework anthropic clientbedrock vertex foundry anthropicanthropic api agent wrapperstructured prompts anthropic agentsmulti-provider anthropic transport
agent-frameworkanthropic-integrationmulti-cloud-transport

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

agent-framework-bedrock

Connects Microsoft Agent Framework applications…

permissive · top 15,000 on PyPI

agent-framework-core

Build, orchestrate, and deploy AI agents and…

permissive · top 5,000 on PyPI

agent-framework-foundry-local

Integrates Microsoft Agent Framework with…

permissive · top 15,000 on PyPI

agent-framework

Builds and orchestrates AI agents powered by…

permissive · top 5,000 on PyPI

agent-framework-azure-ai

Integrates Azure AI Foundry memory capabilities…

permissive · top 15,000 on PyPI

agent-framework-ollama

Integrates Ollama LLM provider support into…

permissive · top 15,000 on PyPI

agent-framework-claude

Integrates Claude with Microsoft Agent…

permissive · top 15,000 on PyPI

agent-framework-foundry

Provides Microsoft Foundry integrations for the…

permissive · top 15,000 on PyPI

bedrock-agentcore

Deploy AI agents to AWS Bedrock AgentCore with…

permissive · top 5,000 on PyPI

agent-framework-foundry-hosting

Integrates Agent Framework agents and workflows…

permissive · top 15,000 on PyPI

Further reading