Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseCode / SDK · ActionableAWS Machine Learning Blog→ original

AWS releases ToolSimulator for safe testing of AI agents in Strands Evals

AWS has released ToolSimulator, a framework for testing AI agents that work with external tools. Instead of real API calls, which can leak personal data or trigger unwanted actions in production, ToolSimulator uses an LLM to simulate responses. It ships as part of the Strands Evals SDK and helps catch integration bugs early and test edge cases without risk.

AI-processed from AWS Machine Learning Blog; edited by Hamidun News
AWS releases ToolSimulator for safe testing of AI agents in Strands Evals
Source: AWS Machine Learning Blog. Collage: Hamidun News.
Listen to article

AWS has published ToolSimulator, a framework for testing AI agents that work with external tools. Instead of risky calls to real APIs, it uses an LLM to simulate responses dynamically: safely, at scale and without data leaks.

Any AI agent that can call APIs, read databases or control external services faces the same testing problem: how do you verify the agent's behavior without touching production? Traditional approaches don't solve it fully. Direct calls to a real API are dangerous: the agent might accidentally send an email, create a CRM record or pass personal data to an external service. Static mocks work for simple scenarios but fall apart in multi-step dialogues, where a tool's response affects the agent's next request.

AWS has proposed a third path: ToolSimulator, part of the Strands Evals SDK. The framework uses an LLM to generate realistic tool responses, as if a real API were answering the agent's request. No data goes anywhere: everything happens inside an isolated test environment.

How it works in practice. The developer describes the tools the agent uses: their schema, possible responses and edge cases. ToolSimulator takes these descriptions and, when the agent calls a tool during a test, generates a plausible response. The agent doesn't know it is working with a simulator rather than a real service. This makes it possible to test multi-step chains: the agent gets a response, makes its next decision, calls the tool again, and so on through the whole scenario.

The framework's key capabilities fall into three areas. Scale: ToolSimulator can run hundreds of test scenarios in parallel, something that would take enormous costs and infrastructure load with real APIs. Edge-case coverage: you can simulate an unavailable API, a slow response, an unexpected data format or an authorization error, and check how the agent behaves in each situation. Safety: no real calls means no risk of leaking personal data or triggering unintended actions in production.

ToolSimulator is available today as part of the Strands Evals SDK, AWS's open-source toolkit for evaluating the quality of AI agents. Strands Agents is a relatively new agent framework from AWS; Strands Evals appeared as a companion component for testing. ToolSimulator extends this toolkit with a solution to one of the most painful problems: reliably testing agents that have real dependencies.

The problem affects the whole industry. As AI agents move from demos to production, the reliability requirements rise sharply. An agent that manages email, a CRM or financial transactions must behave predictably under any conditions, including when the tools it relies on behave in unexpected ways. Before approaches like ToolSimulator, developers had to choose between incomplete coverage and the risk that real API calls carry in a test environment.

For agent developers, ToolSimulator lowers the barrier to writing comprehensive tests where it was previously too difficult or dangerous. Teams should be able to find integration bugs faster, systematically check edge cases and ship agents with more confidence in their behavior.

The tool fits a broader trend: as the agent market matures, specialized products are emerging not only for building agents but also for testing and evaluating them, and AWS is betting on claiming that niche.

Story
ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

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.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — AWS releases ToolSimulator for safe testing of AI agents in Strands Evals https://news.hamidun.com/en/news/6810/aws-releases-toolsimulator-for-safe-testing-of-ai-agents-in

What do you think?
Loading comments…