Watch AI Native DevCon on demandWatch AI Native DevCon on YouTube
Logo
  • Articles139
  • Podcast87
  • Devtools Landscape612
  • Events26
  • Newsletter34
  • DevCon
  • Articles139
  • Podcast87
  • Devtools Landscape612
  • Events26
  • Newsletter34
  • DevCon

Get Weekly Insights

Stay up to date with the latest in AI Native Development: insights, real-world experiences, and news from developers and industry leaders.

Email Address*
Full Name
Company
Company Role
We value your privacy. Your email will only be used for updates about AI Native Dev and Tessl.
Logo
  • Discord
  • LinkedIn
  • X
  • YouTube
  • Spotify
  • Apple Podcasts
  • Home
  • Articles
  • Podcast
  • Landscape
  • About
  • Privacy Policy
  • Code of Respect
  • Cookies
  • Contact
© AI Native Dev
Back to articlesHow Amazon’s Q CLI and Kiro can turn specs into automated QA

11 Sept 20255 minute read

Paul Sawers

Freelance tech writer at Tessl, former TechCrunch senior writer covering startups and open source

LinkedIn
X
Substack
AI-Native Development
AI Tools & Assistants
Testing & QA
Developer Experience
Spec Driven Development (SDD)
Table of Contents
AI goes from code generation to self-validation
A proof-of-concept with promise
Back to articles

How Amazon’s Q CLI and Kiro can turn specs into automated QA

11 Sept 20255 minute read

AI in software development is moving beyond just writing code. The next frontier is making sure that code actually does what it’s supposed to, including enabling AI to validate its own work against clearly defined requirements.

With that in mind, AI Native Dev last week reported on Amazon’s move to bring custom agents into its Q Developer CLI, allowing developers to spin up purpose-built versions of Q Developer (Amazon’s AI coding assistant) scoped to particular tasks. What makes that especially powerful is how those agents can plug directly into Kiro, an agentic IDE AWS debuted in July that turns natural-language prompts into structured specifications like requirements, design notes, and implementation guides, then uses them to steer the development process (listen to the AI Naive Dev podcast all about Kiro).

Now, the folks at AWS are showcasing how Q CLI agents can be guided by those very specifications, using Kiro’s structured docs as both blueprint and test plan. Instead of a developer telling an agent what to check, the spec itself defines what should be validated.

AI goes from code generation to self-validation

Massimo Re Ferrè, a product management director at AWS, introduced a hands-on experiment that did just that.

“I often spend time to check manually if the result of my prompt leads to good results… why should I (or someone in QA) follow that checklist, instead of having ‘an AI’ go through it, and report back with its findings?,” Re Ferrè wrote. “Enter Amazon Q CLI.”

Instead of manual QA, Re Ferrè crafted a custom Q CLI agent equipped with Playwright (for UI automation) and Fetch (for API testing), exposed as MCP servers. He defined it in a simple JSON config — giving the agent access to those tools, pointing it at Kiro’s requirements.md, and restricting its permissions so it could read files and run checks but not alter the codebase. From there, the agent navigated the generated application and validated each acceptance criterion, producing a structured report of passes, failures, and partial matches.

{ "$schema": "https://raw.githubusercontent.com/aws/amazon-q-developer-cli/refs/heads/main/schemas/agent-v1.json", "name": "kiroqa", "description": "An agent to QA Kiro specs requirements", "mcpServers": { "fetch": { "command": "uvx", "args": \["mcp-server-fetch"\] }, "playwright": { "command": "npx", "args": \["@playwright/mcp@latest"\] } }, "allowedTools": \["fs\_read", "execute\_bash", "@fetch", "@playwright"\], "resources": \["file://requirements.md"\] }

Next, Re Ferrè extended the setup with a companion markdown file, test_requirements_prompt.md, which laid out what the agent should do during its QA run. Rather than hand-craft it, he prompted Q CLI to generate the script, then iterated between manual tweaks and further AI refinements. With that in place, he ran his go-to “litmus test” (a small Flask voting app spec) and let the agent automatically check each acceptance criterion, outputting a structured report of passes, failures, and partial matches.

A proof-of-concept with promise

Re Ferrè is careful to frame the exercise as a proof-of-concept, rather than a production-ready setup. The experiment shows how agents can validate Kiro’s specs automatically, but he also emphasizes the importance of keeping them constrained and under human control. And while his conclusions are worth noting, they also come with the caveat that Re Ferrè is an AWS employee, so he is incentivized to present the company’s tools favorably. But of course, anyone is free to take the same approach and test it for themselves.

Nonetheless, the experiment demonstrates a practical loop where AI not only builds software but also validates it against the specifications that defined it. It’s a glimpse at a future where QA is continuous, automated, and spec-driven by design.

Resources

Visit resource
Q Developer CLI
Visit resource
Kiro
Visit resource
AI Naive Dev podcast (Kiro)
Visit resource
Using Q CLI to validate Kiro specs

Related Articles

Custom agents land in Amazon Q Developer CLI, bringing task-specific AI workflows to the terminal

3 Sept 2025

Augment’s coding agent arrives in the terminal

14 Aug 2025

Docker brings agent orchestration into your microservices workflow

14 Jul 2025

Paul Sawers

Freelance tech writer at Tessl, former TechCrunch senior writer covering startups and open source

LinkedIn
X
Substack
AI-Native Development
AI Tools & Assistants
Testing & QA
Developer Experience
Spec Driven Development (SDD)
Table of Contents
AI goes from code generation to self-validation
A proof-of-concept with promise

Resources

Visit resource
Q Developer CLI
Visit resource
Kiro
Visit resource
AI Naive Dev podcast (Kiro)
Visit resource
Using Q CLI to validate Kiro specs

Related Articles

Custom agents land in Amazon Q Developer CLI, bringing task-specific AI workflows to the terminal

3 Sept 2025

Augment’s coding agent arrives in the terminal

14 Aug 2025

Docker brings agent orchestration into your microservices workflow

14 Jul 2025