Anthropic integration for Microsoft Agent Framework.
Project Links
Meta
Author: Microsoft
Requires Python: >=3.10
Classifiers
License
- OSI Approved :: MIT License
Development Status
- 4 - Beta
Intended Audience
- Developers
Programming Language
- Python :: 3
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Typing
- Typed
Get Started with Microsoft Agent Framework Anthropic
Please install this package via pip:
pip install agent-framework-anthropic --pre
Anthropic Integration
The Anthropic integration enables communication with the Anthropic API, allowing your Agent Framework applications to leverage Anthropic's capabilities.
The package also includes Anthropic-hosted transport wrappers for:
- Microsoft Foundry via
AnthropicFoundryClient - Amazon Bedrock via
AnthropicBedrockClient - Google Vertex AI via
AnthropicVertexClient
Basic Usage Example
See the Anthropic agent examples which demonstrate:
- Connecting to a Anthropic endpoint with an agent
- Streaming and non-streaming responses
Structured system blocks for prompt caching
Use instructions with Anthropic-native system blocks when you need structured system prompt content, such as
prompt-cache cache_control metadata. Do not combine structured instructions blocks with a leading system message.
from anthropic.types.beta import BetaTextBlockParam
from agent_framework_anthropic import AnthropicClient
client = AnthropicClient()
system_blocks: list[BetaTextBlockParam] = [
{"type": "text", "text": "Stable instructions", "cache_control": {"type": "ephemeral", "ttl": "1h"}},
]
response = await client.get_response("Hello", options={"instructions": system_blocks})
1.0.0b260730
Jul 30, 2026
1.0.0b260721
Jul 21, 2026
1.0.0b260709
Jul 10, 2026
1.0.0b260630
Jun 30, 2026
1.0.0b260618
Jun 18, 2026
1.0.0b260604
Jun 04, 2026
1.0.0b260521
May 22, 2026
1.0.0b260519
May 20, 2026
1.0.0b260514
May 15, 2026
1.0.0b260507
May 08, 2026
1.0.0b260429
Apr 29, 2026
1.0.0b260428
Apr 28, 2026
1.0.0b260424
Apr 24, 2026
1.0.0b260423
Apr 23, 2026
1.0.0b260421
Apr 21, 2026
1.0.0b260409
Apr 10, 2026
1.0.0b260402
Apr 02, 2026
1.0.0b260330
Mar 30, 2026
1.0.0b260319
Mar 20, 2026
1.0.0b260311
Mar 11, 2026
1.0.0b260304
Mar 04, 2026
1.0.0b260225
Feb 26, 2026
1.0.0b260219
Feb 20, 2026
1.0.0b260212
Feb 13, 2026
1.0.0b260210
Feb 11, 2026
1.0.0b260130
Jan 30, 2026
1.0.0b260128
Jan 28, 2026
1.0.0b260127
Jan 27, 2026
1.0.0b260123
Jan 23, 2026
1.0.0b260116
Jan 16, 2026
1.0.0b260114
Jan 14, 2026
1.0.0b260107
Jan 07, 2026
1.0.0b260106
Jan 07, 2026
1.0.0b251223
Dec 24, 2025
1.0.0b251218
Dec 19, 2025
1.0.0b251216
Dec 17, 2025
1.0.0b251211
Dec 11, 2025
1.0.0b251209
Dec 09, 2025
1.0.0b251204
Dec 04, 2025
1.0.0b251120
Nov 21, 2025
1.0.0b251114
Nov 15, 2025
1.0.0b251112.post1
Nov 13, 2025
1.0.0b251112
Nov 13, 2025
1.0.0b251111
Nov 11, 2025
1.0.0b251108
Nov 08, 2025
1.0.0b251105
Nov 05, 2025
1.0.0b251104
Nov 04, 2025
0.0.0a1
Sep 30, 2025