Get the newsletter
IBM · AI / ML · Filed Feb 13, 2025 · USPTO published Aug 13, 2026 · Aug 13 release

IBM Patents a Two-Layer System That Catches and Fixes Its Own Mistakes

IBM has patented a system where AI agents don't just do a job, they watch themselves do it and flag their own mistakes before passing results along. It's a built-in quality-control loop, baked into the architecture.

State signals and processing feedback loops interconnecting across multiple operational nodes. Drawing from patent filing US 2026/0236340 A1.
State signals and processing feedback loops interconnecting across multiple operational nodes.All 10 drawings ↓
Publication number
US 2026/0236340 A1(US20260236340A1)
Applicant
International Business Machines Corporation
Filed · Published
Feb 13, 2025 · Aug 13, 2026
Inventors
Zhong Fang YUAN, Tong LIU, Wen WANG, He LI, Raymond Lee Man Lee Man KONG, Pan LI
Status when we published
Waiting for an examiner
Document
20 claims
US classification
706/31

How IBM's self-checking AI agent loop works

An assembly line robot welds a car door, and a camera overhead checks every seam before the door moves on. If the weld looks off, the robot gets a signal to fix it on the spot. IBM is applying that same idea to AI software.

The patent describes a two-layer system for AI agents, programs that carry out tasks autonomously. The first layer does the work and produces an answer. The second layer reviews that answer, spots any errors, and sends a correction signal back down. The first layer then either revises its answer or confirms that it already fixed the underlying problem. The whole loop happens before any bad output leaves the system.

For you as a user, this matters because AI agents are increasingly being trusted to write code, draft reports, and make decisions with minimal human oversight. A system that can catch its own mistakes internally is a step toward AI pipelines that don't require a person to babysit every result.

From the filing · CLAIM 1
… receive a second output, as an indication of a second state of the first layer, from the first layer, the second output being revised from the first output based at least in part on the indication of the error …

Translation: The supervisor layer gets a corrected answer back after pointing out the original mistake.

Inside IBM's two-layer error-reflection architecture

The patent describes a hierarchical workflow made up of at least two layers, where each layer is a stage in an automated AI pipeline.

  • Layer one executes a task and produces a first output, which the patent calls a record of the system's "first state." Think of it as a draft answer.
  • Layer two acts as a reflection layer: it ingests that draft, evaluates it against some criteria or known-good baseline, and generates an error signal pointing back at layer one.
  • Layer one responds by either revising its output (a new "second state") or confirming that it corrected the underlying operation that caused the error, leaving the output unchanged but fixing the process.

The key engineering idea is that the feedback loop is structural, not bolted on. The second layer is generated as part of the same workflow-construction step, so the reflection capability is built into the pipeline from the start rather than added as an afterthought.

This pattern is closely related to what AI researchers call self-reflection or critic-agent architectures (where one AI model evaluates another's work), but IBM's claim frames it as a general hierarchical workflow method that can apply to any multi-step automated process, not just large language model chains.

From the filing · THE ABSTRACT
… the second output may be the same as the first output after correcting performance of one or more operations at the first layer.

Translation: Sometimes the output stays the same, but the underlying steps are fixed to run correctly.

What self-correcting AI agents mean for enterprise software

As companies deploy AI agents for real business tasks, the central worry is reliability. An agent that writes a wrong answer confidently and passes it downstream can cause cascading failures in automated pipelines. IBM's approach embeds a correction checkpoint inside the workflow itself, which means errors can be caught and resolved without a human having to monitor every step.

The practical target here is enterprise automation, the kind of multi-step AI workflows IBM sells through its watsonx platform. A built-in reflection layer could reduce the need for manual review in high-stakes pipelines like compliance checks, code generation, or document processing. IBM's AI-agent filings sit alongside a broad wave of new Big Tech patents targeting the reliability layer of autonomous AI systems, a space that is heating up fast as production deployments expose the real cost of unchecked agent errors.

Source: US 2026/0236340 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time IBM patent news breaks.

There are more where this came from

We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings · 10 sheets

10 drawing sheets from US 2026/0236340 A1 · click any drawing to enlarge

Hierarchical workflow layer architecture, drawing sheet 1 from US 2026/0236340 A1
Sheet 1 Hierarchical workflow layer architecture
Service grouping into autonomous agents, drawing sheet 2 from US 2026/0236340 A1
Sheet 2 Service grouping into autonomous agents
Signal routing between system states, drawing sheet 3 from US 2026/0236340 A1
Sheet 3 Signal routing between system states
Task memory workflow node network, drawing sheet 4 from US 2026/0236340 A1
Sheet 4 Task memory workflow node network
Error detection and workflow reuse, drawing sheet 5 from US 2026/0236340 A1
Sheet 5 Error detection and workflow reuse
Computer networking and server infrastructure, drawing sheet 6 from US 2026/0236340 A1
Sheet 6 Computer networking and server infrastructure
Central processing and memory components, drawing sheet 7 from US 2026/0236340 A1
Sheet 7 Central processing and memory components
Hierarchical layer workflow generation steps, drawing sheet 8 from US 2026/0236340 A1
Sheet 8 Hierarchical layer workflow generation steps
Show the other 2 sheets
IBM Patents a Two-Layer System That Catches and Fixes Its Own Mistakes patent drawing, sheet 9
Sheet 9
IBM Patents a Two-Layer System That Catches and Fixes Its Own Mistakes patent drawing, sheet 10
Sheet 10
Patent filing page

More in AI assistant & agent

All 413 AI assistant & agent patents →

Watchlists this filing belongs to

All watchlists →