AWS Emulator: How agents built a local AWS, and how it compares with Floci and LocalStack
You don’t need to create a real AWS queue every time you edit code that sends and consumes SQS messages. AWS Emulator takes CLI and SDK requests locally and emulates operations such as creating queues, sending messages, and receiving them. The AWSTip introduction shows examples using S3, SQS, and DynamoDB.
The more interesting question is how AWS assigned autonomous agents to build software expected to behave like its cloud. According to the AWS engineering account published in Korean, the team divided the work around tests checked against real AWS and merged changes only after they passed a set of checks. This article draws on that account and the product documentation. I didn’t run or benchmark the three products.
What it means to call AWS APIs without an AWS account
Section titled “What it means to call AWS APIs without an AWS account”You can use the same CLI or SDK, but the requests go somewhere different. Point the client at AWS and it works with cloud resources. Point it at a local endpoint and it works with test resources. Sending and reading a message on a local SQS queue does not create that queue or message on AWS.
Original illustration. Source: AWS Emulator announcement.
Not needing an AWS account doesn’t mean requests go unsigned. The AWS Emulator local process generates its own test keys and certificate. By default it accepts SigV4 requests signed with those keys at https://127.0.0.1:9297. Keep real AWS credentials out of the test environment. Rust tests can also use embedded mode, which connects the emulator’s HTTP client directly to the SDK instead of starting a separate server.
How AWS assigned the work to autonomous agents
Section titled “How AWS assigned the work to autonomous agents”The specification and the reference served different purposes
Section titled “The specification and the reference served different purposes”AWS’s account starts with an SQS experiment given to Kiro. The task was to write tests using the AWS CLI, check the expected behavior against real AWS, then build an in-memory implementation that passed the same tests. The published Smithy API models specify request and response shapes. Real AWS supplied the reference for what state or error a sequence of calls should produce.
Testing, issue finding, and fixing were separate jobs
Section titled “Testing, issue finding, and fixing were separate jobs”- The test team used the API models to write scenarios and verified them against real AWS before submission. A single scenario can cover creating a queue and sending, receiving, and deleting a message, so the emulator must match both responses and state changes.
- The issue-finding team replayed those tests against the emulator. Rather than handing off every failing test as a separate task, it looked for problems that could explain several failures and grouped them into issues.
- The fixing team assigned one issue to one agent. Builds, coding standards, safety, and regressions in existing fidelity tests were checked before merging. A change that failed any check went back for rework.
Original illustration. Source: AWS’s account of how the agents built AWS Emulator.
Merging code and publishing it to GitHub were separate steps
Section titled “Merging code and publishing it to GitHub were separate steps”AWS says the agents used CodeCommit as their working repository. The release pipeline rebuilt and retested changes after they merged to main. It packaged the binary before publishing the source to GitHub. The public commits show the results of that work, not where changes were first merged.
AWS says team members did not directly write or review the emulator code. That doesn’t mean people were absent from the development process. They chose real AWS as the reference, divided agent responsibilities, and decided which changes had to go back for rework. The takeaway is that tests described the expected behavior and merge checks enforced it, making it possible to assign many fixes in parallel.
A fidelity score isn’t an API coverage percentage
Section titled “A fidelity score isn’t an API coverage percentage”If an AWS release reports a fidelity score of 40/50, that service passed 40 of 50 evaluation tests. It doesn’t mean 80 percent of the APIs are supported. Adding tests can lower the fraction even when the product improves. Look for whether the sequence of calls and failure conditions your application relies on were tested.
According to the AWS announcement, the emulator assumes a single account and doesn’t replace AWS for cross-account or cross-Region behavior or IAM policy evaluation. Test message handling and retries locally for fast feedback, but use AWS to check what actual roles and resource policies allow or deny and how your application behaves after deployment.
Choosing between AWS Emulator, Floci, and LocalStack
Section titled “Choosing between AWS Emulator, Floci, and LocalStack”| Criterion | AWS Emulator | Floci | LocalStack |
|---|---|---|---|
| Getting started locally | Uses its own keys and certificate without an AWS account. Offers Linux packages, Docker on macOS and Windows, and an embedded mode for the Rust SDK. | Doesn’t require an AWS account or a product activation token. Runs through its CLI or Docker, with 4566 as the default port. | The current official distribution requires a LocalStack activation token, including on the free Hobby plan. This token is separate from AWS credentials. |
| Licensing and plans | The source is CC0 1.0, except vendor/, which is Apache 2.0. | Uses the MIT license. | Offers a free Hobby plan and paid plans. Features vary by plan. |
| Checking features | Look for the required behavior in release fidelity results and public issues. | Check the required APIs and supporting services in the docs. LocalStack compatibility settings don’t mean all behaviors are identical. | Check API coverage and plan requirements, not only service names. See whether your existing init hooks, persistence, and test integrations carry over. |
| When to look at it first | When you want evidence of behavior checked against AWS or isolated state for each Rust test | When you need to run without an activation token or want an alternative for existing tests on 4566 | When keeping your LocalStack integrations matters and you already know which features and plan you need |
If your CI suite only creates an SQS queue and sends a message, the total number of services each tool supports doesn’t tell you much. If the suite checks retry behavior when a message isn’t received, use that behavior to narrow the list. Then check what you’d need to move, such as credentials, init hooks, and persisted state.