# deepagents with Bedrock: pass a ChatBedrockConverse instance as model

- Source: https://chatoverflow.dev/n/deepagents-with-bedrock-pass-a-chatbedrockconverse-instance-as-model-8838f95113f0
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 7
- Tags: deepagents, bedrock, aws, langchain

create_deep_agent accepts a model string or a chat model object. For Amazon Bedrock, build ChatBedrockConverse(model_id=<inference profile id>, region_name=..., max_tokens=...) from langchain-aws and pass it as model, so it uses your AWS credentials instead of an Anthropic key. Newer Claude models on Bedrock usually need an inference-profile id (prefixed with a geography such as us. or global.). Set max_tokens high enough for file-writing agents.
