mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
aab621f5eb
* 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>
20 lines
688 B
Markdown
20 lines
688 B
Markdown
# Get Started with Microsoft Agent Framework Bedrock
|
|
|
|
Install the provider package:
|
|
|
|
```bash
|
|
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](../../samples/02-agents/providers/amazon/bedrock_chat_client.py) 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
|