From Inspection to Investigation: How Jidoka Is Bringing Agentic AI to the Quality Line

Third I – Vision AI Insights for Industry 5.0

By
Dr. Krishna Iyengar
|
November 22, 2026

Machine vision has automated the inspection decision. The investigation around it, why parts fail, whether a difference matters and what to change, is still done by hand. Agentic AI changes that, if it is engineered with the same discipline as the inspection system it sits on.

1. The limits of a pass/fail decision

A reject tells you what the camera saw. It does not tell you why. Across our installations, more than 300 million inspections a day pass through our software, and every one of them ends in a decision that someone may need to explain.

The work that follows a decision is still largely manual:

  • Borderline parts: a detection in the low-confidence band goes to a quality engineer (QE), who compares it with the approved sample by eye.
  • Reject spikes: finding the cause means cross-checking results, images, alarms and configuration changes by shift, lot and line.
  • Field complaints: tracing a complaint back to that part's inspection images and settings takes hours of searching.
  • Support: when an installation misbehaves, an engineer reads configuration files and logs to work out why.

The inspection is automated; the investigation is not. That is the work we are building agents for.

2. Two loops: fast decisions, slower investigations

The first design decision was to keep the real-time decision and the investigation in separate loops.

  • The fast loop decides. Kompass detection, classification, segmentation and OCR models (TensorFlow and YOLO-NAS detectors served on Triton) and our patented anomaly scorer, trained on good parts only (US 12,437,523), decide every part at the edge in milliseconds and write the result to the PLC.
  • The slow loop explains. Agents and a vision-language model (VLM) work off the critical path, after the decision. They read what the fast loop produces: boxes, scores, class names, anomaly heatmaps and the low-confidence band.
  • Neither overrides the other. The line never waits for an agent, and an agent never reverses a decision. A rejected part stays rejected until a person decides.
How work is split between Jidoka's fast and slow loops
Fast loopSlow loop
JobAccept or reject every partExplain, investigate, recommend
ModelsDetectors, segmentation, OCR, anomaly scorerAgents, VLM, reasoning model
Time budgetMilliseconds, in lineSeconds to minutes, off the critical path
OutputPLC signal and MES recordEvidence pack or recommendation
Who actsThe line, automaticallyA named person, after review

This split is what makes agents safe to add to a running line. The parts of the system that must be fast and deterministic stay that way.

3. What makes an agent: tools, models and autonomy

An agent is a model that chooses steps and tools to reach a goal. In our design, most of its work is done by deterministic tools, and the AI models are used where judgement is needed.

  • Tools do the counting and finding. Queries on the results database, trends, alarm logs, configuration history and similar-defect search (DINOv3 features of defect crops, clustered with UMAP and HDBSCAN) give the agent facts it can rely on.
  • The VLM looks and judges. It compares an image with its golden reference and lists each difference with location and severity. It also checks a region against a written defect limit, such as "scratch longer than 2 mm on the sealing face is NG", and answers yes, no or "cannot tell". Detector boxes go into its prompt, because VLMs localise poorly on their own.
  • A reasoning model chooses the steps. It is an open-weight model that we train and run on premises. A frontier model is used for the hardest cases only where the customer allows cloud use.
  • A knowledge base supplies context. It holds structured background on Kompass and Nagare, how each defect type arises and looks, and each customer's lines, SKUs and limits. The agent uses it to check whether a finding fits what is known.

Agents also differ in how much freedom they have. At L1 an agent follows a fixed workflow. At L2 it picks one of a few defined routes. At L3 it chooses its own steps and tools. An L3 agent keeps a ledger of hypotheses with the evidence for and against each one. If its checks fail, it stops and answers "Unsure", naming the evidence it is missing, rather than guessing.

4. The first agents: Q1 2027

We are starting with three agents. All three are read-only, advise only and run on data we already hold.

  • Golden-sample comparator (for the line, L1). It compares a part or label with its approved golden reference for the same SKU, camera and recipe version. Traditional image tools find where the two images differ; the VLM then says what each difference is and whether it matters. It is also a building block: later agents, such as reject triage and complaint trace, call it as a tool.
  • Configuration reference (for our engineers). Every installation runs a configuration tuned to that customer's parts, cameras and PLC. This agent runs on a Jidoka server that holds our code and our customers' configurations. It checks a configuration against our rules and against similar setups that already work, before it reaches the line.
  • Troubleshooting (for our engineers, L1 to L3). It finds why a Kompass or Nagare build or installation misbehaves. It runs on the test PC, and later on the customer PC, reading the loaded configuration, logs and runtime state. It starts with configuration checks in January and adds crash diagnosis by March. It then extends to log analysis and to faults on installed systems: over-rejection, missed defects, camera, lighting or trigger faults, and PLC handshake problems.

The troubleshooting agent gives the engineer a diagnosis card with evidence, a confidence level and a suggested fix. It never changes the configuration, the code or the PLC itself.

The two engineering agents use a two-zone design. The troubleshooting agent on the PC never holds source code. When it needs evidence, it asks the configuration reference agent over an authenticated channel with a fixed set of request types. Answers carry findings, rule references and anonymised statistics from similar setups, never code or another customer's configuration. Every message is logged on both sides, and messages queue when a site is offline.

Two of the first three agents serve our own engineers, and that is deliberate. Customers feel support speed directly, and our engineers are the safest first users: they can judge every recommendation before it reaches a customer's line.

5. HILDA, extended: the rules every agent follows

In 2024 we wrote about HILDA, Human-In-The-Loop Designed Algorithms: automate the repetitive work and keep people on the decisions that need judgement. Our agents follow the same principle.

  • Advise, never act alone. No agent changes a setting, a recipe or a PLC value on its own. A named person approves every change.
  • Every output is traceable. Each recommendation is logged with the line, the software build, the approver and the source image. We are building the audit trail with IATF 16949, FDA 21 CFR Part 11 and the EU AI Act in mind.
  • Images stay in the plant. The reasoning model runs on premises. A VLM fine-tuned on our inspection data will be distilled to run beside Kompass on the edge PC, sharing its GPU.
  • Every approved review teaches the system. A QE's verdict on a recommendation becomes a training label, so the models improve with use.

These rules are not only about compliance. A quality team will trust an agent only if they can see its evidence, and they can overrule it every time.

6. What comes next

The first three agents and the shared foundation under them (approval and audit log, agent runtime, reasoning model, and reading of customer specifications and drawings) prepare the ground for the agents quality teams will use every day.

  • Reject triage routes every Kompass reject to the right QE review queue, using an image-quality check, the golden-sample comparator, similar past defects and a rule table. It runs first in shadow mode on pilot lines. Our target is to halve the false rejects that reach a QE, with zero safety-critical escapes.
  • The inspection agent investigates a reject spike across a lot, shift or line and returns an evidence pack with ranked cause hypotheses.
  • The quality assistant writes shift reports and SPC warnings, and answers plain-language questions about quality data.
  • Complaint trace turns a field complaint, by serial number or batch, into that part's inspection images, results, configuration version and line events, through the Kompass trace code.
  • Recipe and SOP set-up drafts the inspection recipe for a new variant, or an SOP from documents and video.
  • The process agent flags skipped or wrong steps in Nagare cycles.
  • NCR and CAPA drafting prepares non-conformance and 8D documents from an evidence pack, for a QE to edit and sign off.
  • An evidence API and MCP server let other plant platforms call our agents.

Further out, Harmony will recommend machine and process settings based on what inspection finds, still approved by a person. That closes the loop from finding defects to preventing them.

Conclusion: From Inspection to Understanding

Machine vision gave manufacturers a reliable answer to one question: is this part good? Agentic AI lets us start answering the next ones: why it failed, whether it matters and what to change. We are doing it the way we built inspection: deterministic where it must be, evidence-based everywhere, and with a person making every decision.

Our first agents go into use in Q1 2027. If you run Kompass or Nagare and would like one of your lines to be among our pilot lines, we would like to hear from you.

Timelines in this article are our current plans, not commitments.

Conclusion

Join Us and Let’s Explore Together

Get latest insights on machine vision AI and market!

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

CONNECT WITH OUR EXPERTS

Maximize Quality & Productivity with Our Vision Inspection System for Manufacturing and Logistics.

Get in touch