pi-provider-bedrock

Bedrock provider for pi — routes to AWS Bedrock models via AWS profile auth

Package details

extension

Install pi-provider-bedrock from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-provider-bedrock
Package
pi-provider-bedrock
Version
0.1.1
Published
Apr 16, 2026
Downloads
278/mo · 15/wk
Author
samfp
License
MIT
Types
extension
Size
3.9 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-provider-bedrock

AWS Bedrock provider for pi. Routes model requests to Bedrock via AWS profile authentication.

Install

pi install npm:pi-provider-bedrock

Setup

Set your AWS profile in your shell environment:

export PI_BEDROCK_PROFILE=my-bedrock-profile
export PI_BEDROCK_REGION=us-east-1  # optional, defaults to us-east-1

The provider only activates when PI_BEDROCK_PROFILE is set.

Models

ID Model
claude-opus-4-6 Claude Opus 4.6 (1M context)
claude-sonnet-4-6 Claude Sonnet 4.6 (1M context)

Switch models with /model bedrock/claude-opus-4-6 or Ctrl+P.

License

MIT