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.3.1.tar.gz (35.5 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.3.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentforge_bedrock-0.3.1.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentforge_bedrock-0.3.1.tar.gz
Algorithm Hash digest
SHA256 78f12518735d5641f7887c1730d9896facaf558633a3bd45cd5f733d07129f8b
MD5 4866f5283d72c067c00c89fbb0a52391
BLAKE2b-256 3f704eebe21ae03b2611553390fbbe549373f731b92a189aa23c7cbfdacff52f

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_bedrock-0.3.1.tar.gz:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for agentforge_bedrock-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09ce7c733ae19b6b09bf416e819384cd45e69b5b825a368e3102b29d1f644c26
MD5 b1dad55d1464b09558a27d096fd35a13
BLAKE2b-256 2548c0866b6533543a27dfea13a21079bec02872ea1ba88d84018a839960f0d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_bedrock-0.3.1-py3-none-any.whl:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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