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
- Durable Objects, Workers – New `us` jurisdiction for Durable Objects

- (Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635]
![(Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635] 3 pexels punttim 139764](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Extending AI in SharePoint using custom skills [MC1269209]
![(Updated) Extending AI in SharePoint using custom skills [MC1269209] 4 pexels googledeepmind 18069694](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft OneNote: Multimodal recording in Copilot Notebooks on Windows [MC1405506]
![Microsoft OneNote: Multimodal recording in Copilot Notebooks on Windows [MC1405506] 5 pexels googledeepmind 25626583](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)


![(Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635] 3 pexels punttim 139764](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-punttim-139764-150x150.webp)
![(Updated) Extending AI in SharePoint using custom skills [MC1269209] 4 pexels googledeepmind 18069694](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-18069694-150x150.webp)
![Microsoft OneNote: Multimodal recording in Copilot Notebooks on Windows [MC1405506] 5 pexels googledeepmind 25626583](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-25626583-150x150.webp)
