Home icon
It’s safe to close your laptop now: Hosting coding agents on Amazon Bedrock AgentCore

Machine Learning Blog



This article explains how to host coding agents on Amazon Bedrock AgentCore Runtime instead of laptops, enabling persistent, scalable, and secure agent execution.

  • Laptops are insecure hosts: agents share shell, filesystem, tokens, SSH keys, and credentials
  • AgentCore Runtime provides isolated Linux microVMs with persistent /mnt/workspace storage
  • Support for any coding agent (Claude Code, Codex, Kiro, Cursor) and any model via Bedrock or direct APIs
  • Run multiple agents in parallel without localhost port collisions or resource conflicts
  • Interactive shell access via agentcore exec --it with reconnection support across network drops
  • AgentCore Gateway and Identity manage tool access and credentials securely without exposing secrets
  • VPC networking controls package registries, git remotes, and domain access at network level
  • CloudTrail audit logs and CloudWatch observability for all invocations and traces
  • Managed session storage persists across 14 days of inactivity; sessions resume in milliseconds
  • Deterministic command execution via InvokeAgentRuntimeCommand skips LLM for non-probabilistic operations
  • S3 Files and EFS mounts enable shared Skills libraries and dependency caches across sessions
  • Companion GitHub repo demonstrates racing agents, benchmarking performance, and interactive monitoring

AgentCore Runtime eliminates the need to keep laptop lids open by providing secure, isolated, persistent environments for coding agents with enterprise-grade identity, networking, and observability.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.