News
This article announces interactive shell support in Amazon Bedrock AgentCore Runtime through a new InvokeAgentRuntimeCommandShell API, enabling persistent terminal access into agent sessions over WebSocket.
- New InvokeAgentRuntimeCommandShell API provides PTY-backed terminal access to running agent sessions
- Complements existing InvokeAgentRuntimeCommand API for one-shot command execution
- Supports full terminal features: colors, tab completion, Ctrl+C, terminal resize, automatic reconnect
- Enables developers to authenticate, inspect files, debug, and interact with coding agents interactively
- Persistent state maintained across commands: environment variables, working directory, command history
- Sessions identified by runtime session ID and shell ID for reconnection to same shell
- Supports up to 10 concurrent shells per agent runtime for parallel development workflows
- Access via AgentCore CLI: agentcore exec --it --runtime <runtime-arn>
This enhancement provides developers with full terminal control over agent environments, improving debugging and interactive development capabilities for coding agents on AgentCore Runtime.
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.