← All insights

News analysisLens: United States3 min read

AWS Emulator gives coding agents a local AWS to test against. It can also teach them what real AWS rejects

AWS released a free local emulator of hundreds of its service interfaces so developers and coding agents can test without cloud resources. Fast feedback is the gain; fidelity gaps are the risk.

An aircraft model mounted inside a wind tunnel, in La Madre duotone, beside the words Test before the cloud
Photo: U.S. Air Force photo by Jill Pickett (Wikimedia Commons, Public domain)

A coding agent writes a worker that reads orders from a queue and writes them to a database. Does it handle a duplicate order correctly? Today, finding out means deploying to a test account, waiting for resources, running the scenario and paying for it, or trusting mocks that return whatever the developer expected. Agents can generate code far faster than that loop can check it.

On November 11, AWS’s chief AI and technology officer, Matt Wood, announced AWS Emulator, a local environment that lets developers and coding agents use AWS APIs, SDKs and tools without provisioning cloud resources.

What it is

AWS Emulator spans hundreds of AWS service interfaces and runs locally, at no charge, on Linux or as a Docker container, with its source on GitHub. Calls to emulated operations incur no AWS service charges.

The difference from a mock is state. A mock returns a canned answer. The emulator evaluates each request against the current state of the emulated resources, so a sequence of operations behaves like a sequence: in AWS’s example, a conditional write to DynamoDB rejects a duplicate order, and the worker should then delete the queue message and continue. A mock would only test that if someone thought to write that case.

Because environments are independent and cheap, an agent can implement two approaches, run the same tests against both and hand the developer results to compare. AWS also positions the emulator for evaluating and training agents across many tasks.

The honest part of the announcement

AWS states the main risk itself: implementation completeness varies by service and operation, and the emulator may accept behavior that AWS would reject, or allow shortcuts because of defects. For an agent being trained or evaluated against the emulator, that is worse than a missing feature. It can learn the emulator’s mistakes and reproduce them in real code.

To manage that, AWS compares emulator responses with recorded responses from real AWS, accounting for expected differences such as timestamps, and publishes versioned tests and success rates for whole scenarios and individual steps. Those published rates are the first thing a platform team should read before adopting it for a given service.

Where it fits in an agent coding pipeline

We described how coding agents are leaving the laptop for sandboxes behind a gateway, ending in a pull request. AWS Emulator fits inside that sandbox: the agent’s inner loop runs against the emulator in seconds, and only changes that pass go on to real cloud tests. It is the cloud counterpart of database branches for parallel agents: cheap, isolated state that makes testing many attempts practical.

It does not replace the outer loop. Permissions, quotas, regional behavior, networking and performance only show up in a real account.

How to adopt it

Check coverage per service. Use the published success rates for the services your code uses. Low-fidelity services stay on real-account tests.

Keep a real-AWS gate. Every change that passes locally still runs integration tests in a development account before merge.

Watch for emulator-only passes. Track failures that appear in the real account after passing locally; each one is a fidelity gap to report and a test case to keep.

Separate training from trust. If you use the emulator to evaluate or tune agents, validate a sample of results against real AWS, so the agent learns AWS, not the emulator.

Have an AI use case stuck between prototype and production?

Tell us what you’re trying to ship. We’ll reply with honest next steps.

Discuss a use case