Files
agent-framework/python/packages/bedrock
T
Thota Sai Karthik 5d98beddf5 Python: feat(bedrock): implement native structured output support via Converse API (#6052)
* feat(bedrock): add structured output support via Converse API (Fixes #5966)

* fix(bedrock): improve unsupported model exception handling and schema parsing

* refactor(bedrock): use generic traversal for strict schema enforcement

* address Copilot review comments on structured output

* refine bedrock structured output: guard additionalProperties, TypeError check, docs + test

* fix(bedrock): widen response_format to Mapping and add missing test coverage
5d98beddf5 ยท 2026-06-01 23:30:19 +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 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