AIToday
Large Language ModelsAI Coding AssistantsAI Business & IndustryAmazon AI BlogPublished: Nov 7, 2026, 04:00 JST

AWS sample runs Claude Code remotely on AgentCore

Send on LINE
AWS sample runs Claude Code remotely on AgentCore

3 Key Points

  1. What happened

    AWS released sample-remote-coding-agent, which runs each coding task as an AgentCore runtime session in the customer's AWS account and returns a GitHub pull request for review, never merging it.

  2. Why it matters

    The pattern turns coding into a hand-off: tasks run in parallel, in disposable environments outside the laptop, while a human still decides what ships (an inference about workflow impact).

WHO IT HITSThe sample lands on engineering teams and platform/security staff who want to offload scoped coding tasks without handing over long-lived credentials.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The post positions the sample as an extension of an existing setup, not a replacement. It assumes Claude Code already runs locally backed by the same cloud provider, and the remote version keeps model calls on that same path while moving the work into a disposable environment. The trade-offs are stated plainly: less steering while a task runs, some environment setup, and harder-to-predict cost.

The security model is built around short-lived credentials and human review. The agent never holds a long-lived GitHub credential; tokens expire after 8 hours, and commits are authored by the app's bot account. Each task gets its own microVM with sanitized memory, and the agent opens pull requests but never merges them. The guardrail screens what you type before queuing, not what the agent reads during a run, so prompt injection arriving through repository files or command output is outside its scope.

The sample is scoped to scoped features, bug fixes, and tests on a trusted repository that declares its own setup and test commands. Registration takes 8–12 minutes, deployment 15–25 minutes, and the deployment bills while idle through components such as the NAT gateway and interface endpoints, with a default $200 monthly budget that emails but does not cap spending. The post says the same pattern works for other coding agents that can use the same model provider.

FAQ
What does the sample actually produce?
Each task ends with a GitHub pull request that records the verification command, its exit code, and the attempts used. It opens as a draft unless verification passed.
What kinds of tasks is it not suited for?
Untrusted code, because the agent runs the repository's own commands, and open-ended work, because each task stops after three attempts.
How does the agent get GitHub access?
It uses a GitHub App registered with AgentCore Identity. Each container gets a user-to-server token that expires after 8 hours and is refreshed automatically.
Amazon AI BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articlePersistence Analytics' Osnato: AI capex outruns verified evidence