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
Latest Posts
- (Updated) Microsoft Purview | Data lifecycle Management cmdlet connectivity change [MC1213770]
![(Updated) Microsoft Purview | Data lifecycle Management cmdlet connectivity change [MC1213770] 2 pexels leofallflat 1089194](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Edge for Business: New PDF viewer powered by Adobe engine now available for testing in Edge Beta [MC1072406]
![(Updated) Microsoft Edge for Business: New PDF viewer powered by Adobe engine now available for testing in Edge Beta [MC1072406] 3 light 3777575 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams town halls now support backup Real-Time Messaging Protocol (RTMP) streams [MC1261595]
![(Updated) Microsoft Teams town halls now support backup Real-Time Messaging Protocol (RTMP) streams [MC1261595] 4 city 5213052 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Automatic removal of EXIF data from shared images [MC1217997]
![(Updated) Microsoft Teams: Automatic removal of EXIF data from shared images [MC1217997] 5 pexels pixabay 163036](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Microsoft Purview | Data lifecycle Management cmdlet connectivity change [MC1213770] 2 pexels leofallflat 1089194](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-leofallflat-1089194-150x150.webp)
![(Updated) Microsoft Edge for Business: New PDF viewer powered by Adobe engine now available for testing in Edge Beta [MC1072406] 3 light 3777575 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/light-3777575_1920-150x150.webp)
![(Updated) Microsoft Teams town halls now support backup Real-Time Messaging Protocol (RTMP) streams [MC1261595] 4 city 5213052 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/city-5213052_1920-150x150.webp)
![(Updated) Microsoft Teams: Automatic removal of EXIF data from shared images [MC1217997] 5 pexels pixabay 163036](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-163036-150x150.webp)
