AI coding agent hallucinates AWS APIs because it's guessing from training data frozen in the past.

The Agent Toolkit for AWS fixes the source of truth: it gives any MCP-compatible agent live AWS docs, tested skills, and guardrails. Here's the before/after, and how to install it in one command.

Ask a coding agent to "set up an S3 bucket with sensible security defaults" and watch what happens.

It writes a bucket policy from memory. The policy references an API parameter that was renamed two releases ago. The deploy fails. The agent retries with a slightly different guess. That fails too. Three iterations later you have a bucket that technically exists, public access block half-configured, and a transcript that burned a few thousand tokens getting there.

AI coding agents don't fail loudly when they touch AWS. They fail plausibly. The code looks right, the service names are real, and the mistake only surfaces at deploy time, or worse, at security-review time.