How to Extend Claude Code to Remote Sessions on Amazon Bedrock AgentCore
Extend Claude Code to remote sessions on Amazon Bedrock AgentCore with security controls

- Who
- AWS
- What
- explains a sample architecture for running Claude Code coding tasks in isolated Amazon Bedrock AgentCore sessions
- Quote
This post shows how to go a step further: run it as a remote agent on Amazon Bedrock AgentCore, a platform to build, connect, and optimize agents at scale, with any framework or model.
What happened
AWS shows how to run Claude Code on Amazon Bedrock in isolated Amazon Bedrock AgentCore runtime sessions and return coding tasks as GitHub pull requests. The sample screens task prompts with Amazon Bedrock Guardrails, uses short-lived GitHub tokens, and runs in private subnets in the user's AWS account. The post includes deployment and repository setup steps, along with security controls and cleanup guidance.
Why it matters
The walkthrough traces how isolated AgentCore sessions, short-lived GitHub credentials, private networking, and human-reviewed pull requests fit together, giving teams a concrete pattern for delegating scoped coding tasks within their AWS account.
Read next
See the full storyAWS Shows How to Run Claude Code Tasks in Remote AgentCore SessionsThe story so far
AWS published a sample architecture for running Claude Code coding tasks in isolated Amazon Bedrock AgentCore sessions and returning each task as a GitHub pull request for review and merging. The sample screens prompts with Amazon Bedrock Guardrails, uses short-lived GitHub tokens, and runs in private subnets in the user's AWS account. Deploying the sample takes 15–25 minutes, with another 8–12 minutes to register a repository. The deployment continues to incur charges while idle for services including the NAT gateway, interface endpoints, AWS WAF, Cognito user pool, DNS Firewall, images, and logs. It sets a default $200 monthly Amazon Bedrock budget that sends email alerts but does not cap spending.
Keep up with AI, one email a day
Model releases, price changes and compute developments, with original sources. Free, confirmed by email, and easy to unsubscribe. Read a past issue · 2026-11-06
