< Back to all clusters
[TECHNOLOGY] · 2 sources

started · updated

Amazon Bedrock adds interactive shell to AgentCore Runtime for terminal access

Amazon Bedrock's AgentCore Runtime now supports an interactive shell via the new InvokeAgentRuntimeCommandShell API. The feature opens a persistent, PTY‑backed terminal over WebSocket into a running agent session hosted on an isolated microVM, allowing developers to use a full terminal experience—including colors, tab completion, Ctrl+C, and terminal resizing—without SSH.

The shell retains environment variables, working directory, and command history across commands, and up to ten concurrent shells can run on a single runtime. It enables debugging and inspection of coding agents such as Claude Code, OpenAI Codex and Amazon Kiro. Reconnection is automatic after brief network drops, and longer disconnects can be resumed using the same session and shell IDs.

Pricing follows the standard runtime consumption model, with no additional fees for the interactive shell. Costs are based on actual CPU and memory usage (e.g., $0.0895 per vCPU‑hour and $0.00945 per GB‑hour). The feature was demonstrated in a Japanese technical blog, which detailed setup steps using Docker, the AgentCore CLI, and deployment to the us‑west‑2 region, confirming successful interactive connections to the microVM.