Quality gate
A quality gate is a point where an agent’s work stops until an independent check answers “accepted”: the agent does not mark “done” itself. A gate has three answers: accepted, not accepted (errors go back to the agent) and “not sure” (a person decides). The check is done by a machine (tests, types, linter), a separate reviewing agent or a person, and it stands outside the agent: in a hook or in server permissions.
Frequently asked questions
What is a quality gate for an AI agent?
A point where an agent’s work stops until an independent check answers “accepted”. The agent does not mark “done” itself.Where should a quality gate stand?
Outside the agent, in a client hook or in server permissions, and at a bounded-context border.Source: Sonar: quality gate for agentic AI
Read more: What are quality gates for AI agents
Where it appears · 8
- Escalation to a human in AI agents · Harness
- AI agent maturity levels · Specs and context
- What are quality gates for AI agents · Harness
- Where to check an AI agent’s work · Specs and context
- How many AI agents you need · Harness
More 3
- MCP scopes in Claude Code · Harness
- MCP for an AI agent · Harness
- Harness engineering in practice · Harness