I Let AI Agents Run My QA Pipeline for 30 Days — Here's What Happened
Suneet Malhotra
Mar 30, 2026
I Let AI Agents Run My QA Pipeline for 30 Days — Here's What Happened
Thirty days ago, I made a decision that made a few of my colleagues nervous: I was going to let AI agents handle the bulk of my QA pipeline autonomously. Test generation, failure triage, coverage gap analysis, even the daily reporting — all of it offloaded to agents I'd built and configured.
The context: I'm a Sr. Manager of Test Engineering at Motorola Solutions, with 20+ years in QA. I've seen every wave of automation tooling. When I say agentic AI is different, I don't mean it lightly.
Here's the honest account of what worked, what failed, and what I'd do differently.
The Setup
The pipeline had four AI agents running in sequence:
Agent 1: PR Analyzer — On every pull request, this agent read the diff, mapped changes to existing test coverage, and generated candidate Playwright tests for uncovered paths. Prompt-engineered with project context, it produced surprisingly idiomatic test code about 70% of the time.
Agent 2: Failure Triage Bot — When CI runs failed, instead of a raw stack trace in Slack, this agent analyzed the failure, classified it (flaky vs. real regression vs. environment issue), and wrote a 3-sentence summary with a suggested fix or next step.
Agent 3: Coverage Sentinel — Nightly, this agent scanned the codebase for new components and routes with no test coverage and filed GitHub issues with context on what needed testing.
Agent 4: Weekly Report Writer — Every Friday at 4 PM, it pulled metrics from our CI dashboard, wrote a quality health summary, and sent it to the engineering leadership Slack channel.
What Actually Worked
The failure triage agent was the biggest win — and the one I least expected. Engineers hate reading CI logs. A two-sentence "this looks like a real regression in the auth flow, here's the relevant line" message changed team behavior fast. People started fixing failures the same day instead of letting them sit for days.
The PR analyzer saved real time. Not perfectly — maybe 60% of its generated tests were usable with minor edits, another 20% needed significant rework. But even 60% usable is time I'm not spending on manual test scripting for boilerplate cases.
The weekly reports were... fine. They were accurate and saved me 30 minutes of report preparation. But they were also somewhat bland. Leadership noticed they read slightly differently week over week. I eventually added a human review step before send.
Where It Broke Down
The coverage sentinel generated noise. Without context about which parts of the codebase were actually risky versus internal utilities, it filed issues for things that genuinely didn't need tests. I spent time triaging the agent's own output — which partially defeated the purpose.
The fix: I needed to inject domain knowledge. After teaching the agent which directories mattered (API routes, auth flows, payment components) versus which were safe to ignore (i18n strings, static assets), the signal-to-noise ratio improved dramatically.
The PR analyzer also had a hallucination problem on complex state management code. It would generate tests that looked syntactically correct but tested subtly wrong things — testing that a function was called rather than that the right outcome happened. These are the kinds of errors that give false confidence. I added a human review gate for any agent-generated tests touching payment or auth.
The Real Lesson: Agents Need Guardrails, Not Babysitting
The biggest mental shift was realizing agents aren't juniors you supervise constantly — they're systems you design well upfront and then monitor. The 30 days taught me that most agent failures traced back to one of three root causes:
- Insufficient context — the agent didn't know enough about the domain
- Missing constraints — I hadn't told it what NOT to do
- No feedback loop — it had no way to learn from bad outputs
Once I addressed those three things — injecting richer context, adding explicit constraint prompts, and building a lightweight feedback mechanism — reliability improved substantially.
What I'd Tell Other QA Engineers
Agentic AI in QA isn't coming. It's here. The engineers I see struggling with it are the ones treating it like another tool to learn. The ones thriving are treating it like a new team member to onboard.
You wouldn't hand a new hire a task without context, constraints, and a feedback channel. Same rule applies.
If you're building toward Suneet Malhotra QA automation territory — AI-driven test generation, self-healing pipelines, agentic coverage analysis — start small. Pick one pain point (failure triage is a great first one). Build the agent, measure the outcome, iterate.
The next 18 months of QA engineering will be defined by who figured out how to deploy agents reliably. That's where the interesting work is.
Suneet Malhotra is Sr. Manager of Test Engineering at Motorola Solutions, with 20+ years in QA automation and AI-driven testing.
Share this post
You Might Also Like
The One Step I Never Hand to a Subagent
My content routine dispatches a fleet of subagents to gather, then hands none of them the draft. A fleet parallelizes retrieval. It cannot parallelize a voice.
AI & AutomationThe Number My Model Is Not Allowed to Know
There is a rule I enforce across every agent I run, and it has nothing to do with how good the model is. The model writes the words. It never computes the numbers.
Agentic AIEverything in My Context Window Is an Instruction
This routine reads the open web, then commits to a live site with no human in the loop. Those two facts sit in the same context window, and the model has no way to tell them apart.
Quantitative TradingThe Edge I Assume Is Already Decaying
Wall Street spent this week arguing that AI is cutting the useful life of a trading edge from seven years to eighteen months. If that is even half right, it changes what a signal is worth.
Latest Blog Posts
Everything in My Context Window Is an Instruction
This routine reads the open web, then commits to a live site with no human in the loop. Those two facts sit in the same context window, and the model has no way to tell them apart.
The Edge I Assume Is Already Decaying
Wall Street spent this week arguing that AI is cutting the useful life of a trading edge from seven years to eighteen months. If that is even half right, it changes what a signal is worth.
The If Statement My Audit Never Read
On May 20 I published a rule for which steps of a routine are safe to run twice, and put my repo pull in the safest bucket. On July 9 that step failed. It never ran.
Related Tools & Demos
Multi-Model LLM Harness
One interface to call any AI model — capability routing, fallback chains, budgets, circuit breakers, and a quality feedback loop. A practical architecture pattern write-up.
Automated Trading System
Multi-engine trading platform with real-time risk management, regime-based strategy selection, and automated order execution.
View Source Code →Personal Health Analytics
Multi-modal health data platform integrating wearables, lab results, and lifestyle tracking with predictive habit modeling.
View Source Code →
Stay in the Loop
Get weekly insights on AI-driven QA, engineering leadership, and automation strategies.
No spam, ever. Unsubscribe anytime.