#rig #bedrock #aws #rig-bedrock

rig-bedrock

AWS Bedrock model provider for Rig integration

2 releases

new 0.1.1 Apr 15, 2025
0.1.0 Apr 7, 2025

#5 in #rig

Download history 48/week @ 2025-04-01 71/week @ 2025-04-08

119 downloads per month

MIT license

76KB
1.5K SLoC

Rig-Bedrock

This companion crate integrates AWS Bedrock as model provider with Rig.

Usage

Add the companion crate to your Cargo.toml, along with the rig-core crate:

[dependencies]
rig-bedrock = "0.1.0"
rig-core = "0.9.1"

You can also run cargo add rig-bedrock rig-core to add the most recent versions of the dependencies to your project.

See the /examples folder for usage examples.

Make sure to have AWS credentials env vars loaded before starting client such as:

export AWS_DEFAULT_REGION=us-east-1
export AWS_SECRET_ACCESS_KEY=.......
export AWS_ACCESS_KEY_ID=......

Dependencies

~19–30MB
~434K SLoC