Files
agent-framework/python/packages/bedrock
T
Eduard van Valkenburg aab621f5eb Python: Fix tool normalization and provider sample consolidation (#3953)
* Fix tool normalization and provider samples

- restore callable/single-tool normalization paths and unset tool-choice behavior\n- consolidate and expand chat/provider samples (OpenAI/Azure/Anthropic/Ollama/Bedrock)\n- migrate Bedrock lazy import surface to agent_framework.amazon and move provider samples

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* small fix in sample

* Finalize provider, samples, and core cleanup

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix CopilotTool passthrough in agent

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix link

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
aab621f5eb ยท 2026-02-16 16:30:38 +00:00
History
..
2026-02-13 00:00:57 +00:00

Get Started with Microsoft Agent Framework Bedrock

Install the provider package:

pip install agent-framework-bedrock --pre

Bedrock Integration

The Bedrock integration enables Microsoft Agent Framework applications to call Amazon Bedrock models with familiar chat abstractions, including tool/function calling when you attach tools through ChatOptions.

Basic Usage Example

See the Bedrock sample for a runnable end-to-end script that:

  • Loads credentials from the BEDROCK_* environment variables
  • Instantiates BedrockChatClient
  • Sends a simple conversation turn and prints the response