Files
agent-framework/python/packages/bedrock
T
Eduard van Valkenburg a7d924a7d2 Python: [BREAKING] changed AIFunction to FunctionTool and @ai_function to @tool (#3413)
* changed AIFunction to FunctionTool and @ai_function to @tool

* test and mypy fixes

* mypy fix

* switch function tool to always_require

* fix noop

* fix github copilot imports

* test fixes

* fix ollama test

* fixes for tests

* fix tests

* reverted change to always_require and extended timeout

* fix test
a7d924a7d2 ยท 2026-01-28 14:53:53 +00:00
History
..

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 script 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