AWS built AWS Emulator without a human reviewing a single line of code
Chanwoo Song 10 min read

On November 11 (US time), AWS officially released AWS Emulator, which imitates AWS on your own computer. When the AWS CLI, an SDK or a coding agent sends requests to a local address instead of real AWS, tasks such as creating an S3 bucket or writing values to a DynamoDB table run without deploying to the cloud. There is no separate charge. The code is released under CC0, a public domain dedication that claims no copyright.
What drew attention was not the features but how it was built. Matthew Goldberg, the AWS senior principal engineer who started the project, wrote in the launch post: “The emulator was written entirely by autonomous agents, and our team did not write or review a single line of code.” On Hacker News it reached the front page, with 739 points and 225 comments as of November 12.
It emulates 438 AWS services on a single laptop
Using it is simple. On Linux you install it from an RPM or Debian package. On macOS and Windows you build and start a container from a short Dockerfile in the documentation. Once running, it accepts HTTPS requests at 127.0.0.1:9297 and generates its own access keys, configuration file and certificate. Change only your environment variables to point at this address, and your tests go to the local emulator while the application code stays as it is.
The access keys the emulator generates start with EMULATOR, so they cannot be confused with real AWS keys, and it rejects requests signed with any other key. There is only one account, 000000000000. It is written in Rust. With the Rust SDK you can also use an embedded mode, which puts the whole emulator inside the test process and starts a separate instance for each test.
The scope is broad. It was built by reading the public API models (in Smithy format) that AWS uses to build its SDKs, so requests and errors have the same shape as in real AWS. Goldberg said that when he first created the repository, he generated an empty web server that accepted requests for 438 AWS API models but did nothing with them. The repository's services folder does contain 438 per-service crates. AWS's own post describes this as more than 200 services.
It started with a three-line instruction to Kiro
Goldberg says his thinking took shape when he saw Anthropic build a C compiler with agents earlier this year. The idea is that if you have a specification and a real implementation to refer to, an agent can build something that behaves according to the specification on its own. AWS had both. The public API models are the specification, and the AWS cloud that customers use is itself the reference implementation.
So he gave Kiro, AWS's coding agent, only these instructions: write tests based on the AWS CLI, fix them until they pass against real AWS, and build an in-memory implementation that passes the same tests. Fifteen minutes later, Kiro produced a workable first version of Amazon SQS. He refined the instructions and had it build the rest of AWS over the weekend. By the following Monday, the team had started using it to test their own software.
Still, Goldberg wrote that there was a big gap between a weekend experiment and a product for customers. What closed that gap were mechanisms that keep the agents inside the lines. He compared them to a coloring book for agents: if the areas to color are fixed, the big picture comes together on its own.
Three agent teams write tests, find what is wrong, and fix it

The first team writes tests. It reads the public API models, builds scenarios a real customer might run, and submits them only after running them against real AWS to confirm they are correct. For SQS, for example, the flow is: create a queue, send a message, receive it, acknowledge it, and delete the queue. Tens of thousands of fidelity tests have been collected this way. Once verified, they can be run any number of times without calling AWS again.
The second team reruns these tests against the emulator and files the failures as issues. It is also instructed to group failures that appear to share a cause. In the third team, one agent is assigned to each issue to find the cause and fix the code.
Fixed code must pass a merge gate before it enters the mainline. Code that does not compile is blocked as a matter of course. The gate also includes an agent that checks coding standards, an agent that checks security, and a check that existing test pass rates have not dropped. If any of them fails, the change goes back to the agent that made the fix. Goldberg said hundreds of agents work at the same time and fix thousands of issues a day. He wrote that without this gate, he could not have trusted what the agents built. It is the same approach I covered earlier this month in “How do Claude and Codex split one task at AXIT?”: separating the agents that build from the agents that check.
The code first goes into CodeCommit, an internal AWS repository. It is built and tested again in the release pipeline, and only then published to GitHub. That is why the GitHub repository does not accept outside PRs. Bugs and behavior that differs from real AWS are accepted only as issues.
29,684 commits in three weeks
The public record on GitHub shows the scale of this approach. The first commit is “Initial emulator scaffold,” made by a name called Scaffolder on October 21. By November 10, there were 29,684 commits. The author field shows agent names such as IssueFinderAgent and IssueFixerAgent instead of human names.

All issues are also kept as files in the repository. Behavior that still differs from real AWS goes in the issues/things-that-do-not-work folder, and fixed items go in the issues/things-that-now-work folder. As of November 10, 12,709 issues had been fixed and 6,545 remained.
Some odd records remain as well. Goldberg's favorite is from an earlier version, when the agents decided to build their own Python interpreter to run AWS Lambda functions. After that, he says, they added a guideline to reuse existing libraries. It shows that agents can make choices a person would obviously never make, if no rule stops them.
About 56% behaves exactly like real AWS
AWS reports how closely the emulator matches the real thing as the number of fidelity tests passed. Each test is a short program that runs a workflow through the SDK. It passes only if every call matches real AWS in status code, response body, error code and message. The test suite is public in the aws-emulator-evaluation-suite repository, including the tests that do not pass yet.
The score file for v1.0.322, released November 11, shows that it passed 24,243 of the 42,937 recorded tests, or about 56%. Matched against the test suite's classification table, it passed about 67% of control plane tests, which create and configure resources. It passed about 54% of data plane tests, which cover actual functionality such as sending and receiving messages or running functions. AWS's documentation also notes that the control plane is currently the closest match, and that data plane, CloudFormation, Terraform and CDK support vary by service.

The differences between services are large. SQS passed 94% even on data plane tests, and S3 and DynamoDB are around 80%. Lambda, by contrast, passed only 31% of the tests that actually run functions, and EC2 reached only 44% even on the control plane. In other words, it is usable now for ordinary backend tests that use queues, buckets and tables. It is still too early for tests that need to emulate an entire infrastructure.
The security limits are also clearly documented. The emulator does not evaluate IAM policies the way AWS does, so requests that AWS would reject can go through. There is only one account, and there is no cross-account or cross-region behavior. For this reason, AWS says not to use it for testing security settings, and to verify on real AWS before deploying. Usage data collection is also on by default. To turn it off, you have to disable it separately with a runtime option or an environment variable.
What the engineers built was not code but the means to check it
Amazon CTO Werner Vogels's blog also published a post by Swami Sivasubramanian, who worked on the design of Dynamo. He began with a story from 20 years ago. When building Alf, the distributed locking service that runs underneath S3 and DynamoDB, they simulated the network and servers inside a single program and deliberately dropped packets to catch concurrency bugs. Back then there were only a few services, so people could build that kind of environment by hand. Today AWS has more than 200 services.
He also wrote about recently rebuilding Alf's replication engine with Kiro. That part had taken four months to build the first time. After watching the agent for four nights, he realized it had no way to check its results. Once he gave it a specification and a test environment, the rebuild took about two hours. His conclusion is that when agents write the code, the engineer is the person who builds specifications, tests and merge gates to define when the work is done.
Reactions on Hacker News were split. The comment with the most replies said it was unclear whether this was a practice project or a product that would be maintained, so the commenter would keep using existing alternatives. Another comment took the opposite view: this is a scale no one would have attempted by hand because of the cost, and existing tools such as LocalStack have lost their edge. On the point about the engineer's role, someone asked: product planners and QA have written specifications and tests for a long time, so what do engineers do?
What AWS Emulator shows are the conditions under which people do not need to read the code. It worked because there was an answer key in real AWS, tests that can be rerun every time, and a gate that nothing gets through without passing. But with the pass rate still only a little over half, I think the scores of the next few releases will show how far this approach can be trusted.
https://www.aboutamazon.com/news/aws/how-autonomous-ai-agents-built-aws-emulator