Skip to main content

AWS Bedrock provider for AgentForge — Anthropic, Titan, Cohere on Bedrock

Project description

agentforge-bedrock

AWS Bedrock provider for AgentForge.

Implements the LLMClient and EmbeddingClient contracts from agentforge-core over the AWS Bedrock Converse and embeddings APIs.

Install

uv add agentforge-bedrock

Quickstart

from agentforge import Agent

# Cross-region inference profile — recommended for production.
async with Agent(model="bedrock:us.anthropic.claude-haiku-4-5-20251001-v1:0") as agent:
    result = await agent.run("Summarise the AgentForge project in one sentence.")
    print(result.output)

Credentials follow the standard boto3 chain (env vars, ~/.aws/credentials, IAM role). Pass aws_profile= to override.

Model identifiers

Three forms are supported, all passed through to Bedrock unchanged:

Form Example
Region-pinned bedrock:anthropic.claude-3-5-sonnet-20240620-v1:0
Cross-region (geo) bedrock:us.anthropic.claude-haiku-4-5-20251001-v1:0
Cross-region (global) bedrock:global.anthropic.claude-sonnet-4-5-20250929-v1:0

Cross-region profiles route requests across destination regions automatically, smoothing throttling and improving availability. See Bedrock cross-region inference.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentforge_bedrock-0.2.2.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentforge_bedrock-0.2.2-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file agentforge_bedrock-0.2.2.tar.gz.

File metadata

  • Download URL: agentforge_bedrock-0.2.2.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for agentforge_bedrock-0.2.2.tar.gz
Algorithm Hash digest
SHA256 92b1263659c0317f65c8070bdbe7f0b06ee1ac13ab89cea9df33b32f0dabe44a
MD5 9eaff0dc56bc20022a841c6bb68c1de1
BLAKE2b-256 328ab81ac2bef00d562c90a6f2fa723aa1c587ae62b4380a7e366bf8c0eab4c9

See more details on using hashes here.

File details

Details for the file agentforge_bedrock-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_bedrock-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6530edf49c165f52e219ff0ce03e6e1f21609c4ac0ae4ac216e3e2ecee012767
MD5 a04bc7d161b828b6b7260265a77fb44f
BLAKE2b-256 480d6004ee75b7e517ffcf6bd12e269f3676221a300411ace2cd664b2915edd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page