AI Agent for API Testing: The Quality Agent, Part One
An AI agent for API testing sounds like a robot that tests for you. The Quality Agent is a reviewer: it reads what the project knows and puts what to fix first in order. It never runs a test and never changes one.
This is lesson 9.22, part 1 of 2, of Shift-Left API in Depth, the product track of the learning center. Lesson 9.21 answered "is this API ready to release?" Now an agent keeps looking between releases. Quality Agent reviews come with Professional, the 15-day trial and Enterprise.
What is an AI agent for API testing?
An AI agent for API testing sounds like a robot that tests for you. So who keeps looking over the whole project between releases, and what does the Quality Agent in Shift-Left API really do? It is a reviewer, not a tester. It reads what the project already knows (tests, runs, causes of failures, spec changes) and puts what to fix first in order, with a reason and a next step for each finding. At its first level it never runs a test and never changes one.
What does a review read, and how far does it go?
A review orders its findings from most to least serious and explains each in plain words. You choose How far it goes. Only tell me what to fix looks, orders what it finds and explains it; it spends nothing and changes nothing. The second level, which prepares fixes for you to review, is the subject of part 2.
How do you switch it on?
Open Project Settings, then the AI Generation tab, then the Failing tests section; the Quality agent panel is last in it. Tick Review this project on a schedule, then choose How often: Every week (the default) or Every day. A scheduled check runs hourly, so a never-reviewed project is reviewed at the next check, and later reviews follow a week or a day after the last one.
Also review when adds events: a specification is imported, a specification change is approved, or a test run has been analysed. These start at most one review every half hour per project, and never while one is running. The panel also covers who may do what and who is told, so a review doesn't surprise the people who own the project.
What does the first review look like?
Run a review now. The result lists findings in order. Each has a reason, such as a test that fails for the same cause as others, and a next step you can act on. An action line says in words what the agent did and didn't do, and a refusal is written out in words as well. The video's project has hand-made tests, one pack and one analysed run, and the review points at the causes first.
Because the agent only reports at this level, it is safe to leave switched on: you read the review, and you decide.
Try it yourself
With a Professional, trial or Enterprise edition, open Project Settings → AI Generation, find Quality agent under Failing tests, tick the schedule box, and keep Only tell me what to fix. Run a review now and read the findings from the top. If the panel isn't there, the edition doesn't include it.
Recap
- An AI agent for API testing can be a reviewer: the Quality Agent reads the project and orders what to fix first.
- You choose when it looks (a schedule, events, or on demand) and how far it goes.
- At its first level it never runs a test and never changes one. API testing using AI agents starts with deciding what they may touch.
Next, part 2 lets the agent prepare fixes that wait for you. For the wider picture, read our round-up of agentic QA tools.
Try it: With a Professional, trial or Enterprise edition, open Project Settings, go to AI Generation, find Quality agent under Failing tests, tick the schedule box, leave How far it goes at Only tell me what to fix, and run a review now.
Frequently asked questions
What does an AI agent for API testing really do?+
It depends on the agent. The Quality Agent in Shift-Left API is a reviewer, not a tester. On a schedule, after an event you pick, or when you ask, it reads what the project already knows and puts what to fix first in order, with a reason and a next step for each finding. At its first level it never runs a test and never changes one.
When does the Quality Agent look at a project?+
On a schedule (every week by default, or every day), when you ask, and after events you choose: a specification is imported, a specification change is approved, or a test run has been analysed. Event reviews start at most once every half hour per project and never while another review runs.
Which editions include the Quality Agent?+
Quality Agent reviews come with Professional, the 15-day trial and Enterprise. Prepared fixes, covered in part 2, come with the trial and Enterprise, and a person decides on each one. The Free edition has neither.
Related lessons
Who decides what a release needs, and how do you prove months later what you knew when you released? Change a rule and watch the answer change, keep the verdict as a record, and fail a build that isn't ready.
The Quality Agent can prepare fixes for the causes a change to a test can fix. They wait for you: a person reads each one, before and after, and accepts it or leaves it out. The agent never applies a fix itself.
Let the AI agent you already use ask your API testing tool for tests. Create an agent key with only the permissions it needs, connect a real MCP client, and see the tests it generates appear in your project.