Give Every AI Agent Its Own Ephemeral Instance LocalStack published a walkthrough showing how to run multiple coding agents in parallel by giving each its own ephemeral LocalStack cloud instance and Git worktree, using Claude Code and the LocalStack MCP server. In the example, three agents build separate data (DynamoDB), messaging (SQS plus Lambda) and api (API Gateway plus Lambda) stacks that connect through SSM Parameter Store, avoiding the resource-name collisions and overwritten state that occurred when a team ran several agents against a single shared LocalStack instance. The LocalStack MCP server exposes four tools — localstack-ephemeral-instances, localstack-deployer, localstack-aws-client and localstack-management — and setup requires Docker, a LOCALSTACK_AUTH_TOKEN on a plan or trial that includes Ephemeral Instances, Node.js 22+ and Terraform. Coding agents work well in parallel. One can write the API while others handle messaging and the database. Problems begin when they share the same cloud environment. They may create resources with the same name or overwrite state that another agent needs. A fast parallel build can quickly turn into a mess. We saw this while helping a team run several agents against AWS. The agents wrote solid infrastructure code, but they all deployed to a single shared LocalStack instance and interfered with one another. The team needed a fresh, isolated cloud environment for every agent. Ephemeral Instances https://docs.localstack.cloud/aws/developer-tools/cloud-sandbox/ephemeral-instances/ provide that isolation. In this post, I use Claude Code https://www.claude.com/product/claude-code and the LocalStack MCP server https://github.com/localstack/localstack-mcp-server to build a small AWS application as three separate stacks. Each agent works in its own Git worktree and deploys to its own ephemeral instance. They run simultaneously without conflicts, and a final agent connects the stacks and tests the complete application. An ephemeral instance is a full LocalStack environment that runs in the cloud instead of on your laptop. Each instance has a unique endpoint, such as https://ls-