← All integrations

Integration · @namzu/bedrock

Namzu × AWS Bedrock.The Converse API, signed with your AWS credentials.

AWS Bedrock through the Converse API, with streaming and tool use, signed with your AWS credentials.

@namzu/bedrockv5.1.4FSL-1.1-MITnpm

Install.

pnpm add @namzu/sdk @namzu/bedrock

@namzu/sdk is a peer dependency, so install both. The SDK needs zod@^3 too.

Why pair the kernel with AWS Bedrock.

Regulated and enterprise workloads often mandate a specific cloud and model host. The driver carries Bedrock's region and credential semantics natively, as configuration rather than a base-URL override, and puts the kernel's runtime around the Converse API.

  • Streaming and tool calls go through ConverseStream on the official AWS SDK client, which signs requests with SigV4.
  • Credentials are explicit (accessKeyId, secretAccessKey, optional sessionToken) or, when you omit them, whatever the AWS SDK's default credential chain finds: environment, shared config or an IAM role. There is no separate key to manage.
  • region is part of the provider's configuration. The model is chosen per request by its Bedrock model ID or inference profile, for example us.anthropic.claude-sonnet-4-5-20250929-v1:0.
  • The driver does not map image or document attachments, and does not declare native JSON-schema output.

Example.

import { ProviderRegistry, runAgent } from '@namzu/sdk'
import { registerBedrock } from '@namzu/bedrock'

registerBedrock() // once, at startup

const { provider } = ProviderRegistry.create({
  type: 'bedrock',
  region: 'us-east-1',
})

const { output } = await runAgent({
  provider,
  model: 'us.anthropic.claude-sonnet-4-5-20250929-v1:0',
  prompt: 'Hello',
})
console.log(output)

Configure.

Configuration (type: 'bedrock')

regionstring
AWS region. When omitted, the AWS SDK resolves it.
accessKeyIdstring
Explicit credentials. Used only together with secretAccessKey.
secretAccessKeystring
Explicit credentials.
sessionTokenstring
Session token for temporary credentials.
timeoutnumber (ms)
Request timeout.

What the driver declares.

  • StreamingYes
  • Tool callsYes
  • Image attachmentsNot mapped
  • Document attachmentsNot mapped
  • Native JSON-schema outputNot declared

Ship AWS Bedrock agents on a runtime you can own.

AWS Bedrock owns the model host. Namzu owns the runtime. The package is a thin adapter, not a wrapper, so you keep everything AWS Bedrock ships and add the kernel concerns you do not get from the model API alone.