Amazon Bedrock AgentCore Runtime now supports InvokeAgentRuntimeCommand, a new API that lets you execute shell commands directly inside a running AgentCore Runtime session. Developers can send a command, stream the output in real time over HTTP/2, and receive the exit code — without building custom command execution logic in their containers.
AI agents often operate in workflows where deterministic operations such as running tests, installing dependencies, or executing git commands need to run alongside LLM-powered reasoning. Previously, developers had to build custom logic inside their containers to distinguish agent invocations from shell commands, spawn child processes, capture stdout and stderr, and handle timeouts. InvokeAgentRuntimeCommand eliminates this undifferentiated work by providing a platform-level API for command execution. Commands run inside the same container, filesystem, and environment as the agent session, and can execute concurrently with agent invocations without blocking.
Executing shell commands in AgentCore Runtime is supported across fourteen AWS Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Canada (Central), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), and Europe (Stockholm).
To learn more, see Execute shell commands in AgentCore Runtime.
Categories: general:products/amazon-bedrock
Source: Amazon Web Services

![(Updated) Viva Engage: Feature conversations to all network members [MC1272652] 2 pexels tirachard kumtanom 112571 347139](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-tirachard-kumtanom-112571-347139-150x150.webp)

![(Updated) Microsoft Edge: Copilot new tab page [MC1250274] 4 pexels goumbik 296287](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-goumbik-296287-150x150.webp)
![(Updated) Microsoft Teams: New Drafts quick view [MC1223827] 5 pexels padrinan 1111317](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-padrinan-1111317-150x150.webp)
