AWS has released an open-source cloud emulator developed entirely by autonomous AI agents, allowing developers to build and test applications locally without deploying resources to the cloud.
Called AWS Emulator, the tool supports AWS APIs and works with existing software development kits (SDKs), command-line tools, and AI coding agents. AWS said thousands of autonomous agents wrote the software without human code review.
The emulator is available at no additional service charge and does not require an AWS account for local testing. Its source code has also been published on GitHub under a Creative Commons CC0 licence.
Testing AWS applications locally
AWS Emulator allows developers to simulate AWS services on their own computers or within continuous integration (CI) environments. Applications communicate with the emulator through a local HTTPS endpoint using the same APIs they would use when connecting to AWS.
Developers can use existing commands to create and manage simulated cloud resources, including Amazon S3 storage buckets and Amazon DynamoDB tables. This allows developers to test supported application workflows without provisioning billable AWS resources.
According to AWS, local API requests can return responses in milliseconds, eliminating the need to wait for cloud resources to be provisioned during supported tests. AWS Emulator has no additional service charge, although testing against actual AWS infrastructure remains subject to standard pricing.
Each emulator instance generates its own credentials and maintains separate resources in memory. This allows developers to run isolated tests within CI environments without sharing simulated resources between test jobs.
Built in Rust, the emulator uses AWS API models to reproduce service behaviour, including expected responses and error messages.
The tool supports local testing workflows involving AI coding agents such as Kiro and Claude Code. These agents can create simulated resources, execute tests, identify errors, and modify application code without repeatedly deploying workloads to AWS.
Advait Patel, senior site reliability engineer at Broadcom, told InfoWorld that local testing reduces the time AI coding agents spend waiting for cloud resources when repeatedly writing, testing, and correcting code.
“Teams get faster feedback, fewer leftover test resources, and smaller dev account bills,” Patel said.
AWS Emulator can be installed through RPM or Debian packages on Linux, while macOS and Windows users can run it through Docker. AWS also provides an embedded mode for the AWS SDK for Rust, allowing tests to run directly within an application process.
How AWS used AI agents to build the emulator
According to Matthew Goldberg, senior principal engineer at AWS, the project began as an experiment using Kiro to generate an implementation of Amazon Simple Queue Service (SQS).
Goldberg instructed the coding agent to create tests based on AWS command-line operations, validate them against real AWS services, and develop an in-memory implementation capable of passing those tests. The initial SQS implementation took approximately 15 minutes, although it had limitations.
AWS subsequently generated a web server capable of accepting requests defined by 438 AWS API models. The server initially lacked the underlying service functionality, which autonomous agents were then assigned to develop.
The project eventually developed into a system involving three groups of autonomous AI agents responsible for writing tests, identifying software issues, and implementing fixes. Goldberg said AWS engineers oversee the development system without directly writing or reviewing the emulator’s code.
“Our team hasn’t written or reviewed any of the code,” Goldberg said in an AWS engineering article.
The first group creates fidelity tests using AWS API models and verifies the results against actual cloud services. According to Goldberg, the system uses tens of thousands of tests to establish expected behaviour and measure how closely the emulator matches AWS.
A second group runs the tests against the emulator and identifies differences between its responses and those of AWS. The findings are recorded as software issues, which are then assigned to a third group of agents responsible for fixing them.
According to Goldberg, hundreds of agents work concurrently on the codebase, resolving thousands of identified issues daily. Each agent working on a fix is assigned a specific issue and must submit its changes for automated review.
The development process has also required adjustments to how the agents write code. Goldberg described an earlier version in which agents attempted to build their own Python interpreter to support AWS Lambda functions, prompting AWS to instruct them to reuse existing software libraries instead.
Each proposed code change must pass automated checks covering compilation, coding standards, security, and compatibility with existing tests. Changes that fail are returned to the agents for revision, while those that pass are merged into the codebase.
AWS said an independent security agent also conducts adversarial reviews while fixes are being developed and again during the release process. These checks are intended to identify security issues in AI-generated code before the changes are published.
The development process uses Amazon Bedrock AgentCore, AWS CodeCommit, and AWS CodePipeline. Approved changes undergo further building and testing before the software is packaged for release and its source code is published on GitHub.
The public GitHub repository also contains records of software issues identified by the agents, including completed fixes and outstanding problems. AWS maintains separate directories for resolved issues and those awaiting further work.
Testing accuracy and limitations
AWS measures the emulator’s accuracy through fidelity tests comparing API responses, HTTP status codes, error messages, and resulting resource states with actual AWS services. It publishes separate scores for each service, showing how many tests pass out of the total conducted.
These scores can change as additional tests are introduced, even when previously supported operations continue functioning correctly. Operations that have not been implemented return an HTTP 501 (Not Implemented) response.
AWS has published its Emulator Evaluation Suite on GitHub, providing developers with access to the tests used to measure compatibility. According to the repository, each fidelity test has been verified against at least two sandboxed AWS accounts using the AWS SDK for Python.
However, the repository states that behaviour outside the published tests remains unverified. It also includes tests the emulator has not yet passed, allowing developers to examine gaps in compatibility.
AWS’s documentation indicates that the emulator currently matches production services most closely for control-plane operations, including creating, describing, updating, and deleting resources. Support for data-plane operations, such as storing and retrieving data, varies between services.
Compatibility with infrastructure-as-code tools, including AWS CloudFormation, Terraform, and AWS CDK, also varies by service. AWS publishes fidelity scores with each release to document the operations that have been successfully tested.
AWS said the emulator does not evaluate Identity and Access Management (IAM) policies or resource-based permissions in the same way as its production services. Requests rejected by AWS because of insufficient permissions might therefore succeed during local testing.
Each emulator instance also operates as a single simulated AWS account without support for cross-account or cross-Region behaviour.
Devin Pratt, research director at IDC, told InfoWorld that the initial release does not simulate throttling, service outages, snapshot-and-restore operations, or differences in service availability between AWS Regions. Broadcom’s Patel also identified timeouts and partial failures as scenarios that require testing against actual cloud infrastructure to assess application recovery.
Pratt also raised concerns about the emulator’s lack of code isolation. AWS’s security documentation confirms that code executed through the emulator is not sandboxed and can access or modify local files using the developer’s permissions.
AWS said the emulator listens only on the local machine by default and generates its own credentials for API authentication. The company advises developers to run only trusted code and keep real AWS credentials and production data out of the testing environment.
The company advises developers to test security configurations and complete applications in AWS before deploying them to production, rather than relying solely on the emulator.
(Photo by Bernd 📷 Dittrich)
See also: Amazon discloses $80 billion loan facility as AI infrastructure spending rises
Want to learn more about Cloud Computing from industry leaders? Check out Cyber Security & Cloud Expo taking place in Amsterdam, California, and London. The comprehensive event is part of TechEx and is co-located with other leading technology events, click here for more information.
Cloud Computing News is powered by TechForge Media. Explore other upcoming enterprise technology events and webinars here.
