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
- Simplified permissions for Amazon S3 Tables and Iceberg materialized views

- New admin control for AI‑generated code previews in Microsoft 365 Copilot Pages [MC1254560]
![New admin control for AI‑generated code previews in Microsoft 365 Copilot Pages [MC1254560] 3 pexels ashamplifies 3663024](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Purview DSPM’s Data Risk Assessments now support item-level investigation and remediation of SharePoint [MC1254556]
![Purview DSPM’s Data Risk Assessments now support item-level investigation and remediation of SharePoint [MC1254556] 4 pexels cottonbro 5054213](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Copilot Notebooks: New features coming to Frontier Public [MC1254552]
![Copilot Notebooks: New features coming to Frontier Public [MC1254552] 5 pexels anniroenkae 2457284](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)


![New admin control for AI‑generated code previews in Microsoft 365 Copilot Pages [MC1254560] 3 pexels ashamplifies 3663024](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-ashamplifies-3663024-150x150.webp)
![Purview DSPM’s Data Risk Assessments now support item-level investigation and remediation of SharePoint [MC1254556] 4 pexels cottonbro 5054213](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-cottonbro-5054213-150x150.webp)
![Copilot Notebooks: New features coming to Frontier Public [MC1254552] 5 pexels anniroenkae 2457284](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-anniroenkae-2457284-150x150.webp)
