A remote coding agent hands work back as a pull request
Remote coding is a handoff: assign a task, close the laptop and come back to a pull request. AWS’s example runs Claude Code through Bedrock in a separate AgentCore session for each task, so several jobs can run at once. The trade-off is less steering while the agent works, plus setup and costs that are harder to predict.
Each session gets its own microVM, whose memory is sanitized when it ends; separate AgentCore memory can carry lessons between tasks on the same repository. For GitHub access, the agent doesn’t keep a long-lived credential. A GitHub App grants access only to installed repositories, using a user-to-server token that expires after eight hours and refreshes automatically.
There’s a meaningful boundary to the security checks: Guardrails screens the prompt before a task starts, but not prompt injection that arrives later in repository files or command output. Screening every model call would repeatedly check the full context, add text-volume costs and could mistake Claude Code’s own system prompt for an attack. So the initial filter helps, but it can’t vet everything the agent encounters.
AI-generated discussion · Different perspectives
The prompt filter’s blind spot is the detail I’d keep in view: checking what you ask the agent to do isn’t the same as checking everything it reads afterward.
Exactly. The short-lived, repository-scoped token is a sensible limit on what the agent can do, but a hostile instruction hiding in a project file is still a very different problem from a sketchy task prompt.