AWS adds session memory and shell-command execution to AI agents
AWS has extended Bedrock AgentCore with two practical features for coding agents: persistent storage for session files and direct shell-command execution. An agent can now return to the same workspace after a pause, and commands such as npm test, pytest or git push run in the same container, without extra orchestration through the model. The platform also streams stdout and stderr in real time, which speeds up checking edits and debugging.
AI-processed from AWS Machine Learning Blog; edited by Hamidun News
AWS has updated its Bedrock AgentCore Runtime service: AI agents can now keep sessions across restarts and run shell commands directly from the model.
Why do AI agents need persistent storage?
Previously, an agent's session lived inside a separate micro-VM and lost all its files once it stopped. Now an agent can keep its working state across restarts, so saved dependencies or generated code, for example, are no longer lost.
Which commands can an AWS Bedrock AI agent run?
An agent can run predictable shell commands, such as tests or git operations, directly inside its own environment, without needing external tools.
Why should AI agents run shell commands?
To perform predictable operations such as tests, git commands and dependency installation safely inside the model's isolated environment.
- Dec 2, 2026Amazon Releases Ergo Open Weights for Coding: 1.1 Trillion Parameters and 2,200 Tokens per Second
- Dec 2, 2026Tacit, a Startup With $93.5 Million in Funding, Built Earbuds for Silent Text Input
- Dec 2, 2026Amazon to Speed Up Ergo From 400 to 2,200 Tokens per Second and Buy 2 Million More Nvidia GPUs
- Dec 2, 2026Amazon Releases Ergo: US Open Model Closes the Gap With GPT-6.1 Terra at 38 Points
Key Questions Answered
Why do AI agents need persistent storage?
Previously, an agent's session lived inside a separate micro-VM and lost all its files once it stopped. Now an agent can keep its working state across restarts, so saved dependencies or generated code, for example, are no longer lost.
Which commands can an AWS Bedrock AI agent run?
An agent can run predictable shell commands, such as tests or git operations, directly inside its own environment, without needing external tools.
Why should AI agents run shell commands?
To perform predictable operations such as tests, git commands and dependency installation safely inside the model's isolated environment.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
