aoi-agent
Automated optical inspection re-verification for PCB lines: a vision model in front of the operator queue with an agent behind it.
What it does and how it connects
aoi-agent is a re-verification layer for PCB automated optical inspection lines. Production AOI is tuned for recall and over-flags, so six in ten flagged regions are false alarms that a person reviews today. The project puts a vision model in front of that queue and an agent behind it, so only what neither can settle reaches an operator.
A ResNet-18 re-verifier scores each candidate region, and a LangGraph flow gathers context and a language model rationale for the uncertain ones, escalating what it cannot settle to an operator through a durable interrupt. A second entrance, /ask, turns a supervisor question into a validated plan of typed lookups with a chart. The stack is Python 3.12 with PyTorch, LangGraph, MCP, FastAPI and SQLite, and the default model runs locally through Ollama.
The README reports its own benchmark on the public DeepPCB set: 55.6 percent of manual review removed at a 0.66 percent escape rate, against a 0.5 percent budget in the project's own work instruction, so on that reading the budget is not met. The README is explicit that the demo runs on the DeepPCB set with a differencing simulator and seeded line records, not on a live production line, and that photographed boards fail the differencing front end at the first gate.
Alternatives
Compare side by side- DeepPCB (defect benchmark)
The DeepPCB defect benchmark this tool evaluates against: a dataset of 1,500 aligned image pairs, rather than a re-verification agent.
- kicad-mcp-pro
A KiCad MCP server for design review, DFM and manufacturing export, rather than an AOI false-call filter for the inspection line.
- PCB-Agent-Teams
A multi-agent KiCad workspace that carries a board from topology discussion through schematic and layout, rather than re-verifying AOI flags.
Sources
Not verified
- Pricing: none stated on the repo.
- Real user voices: no real linked post read for this page; the only issue read is the maintainer's own demo-video issue.
- Related Error Index entries: no AOI or inspection entry exists in the live error map.
Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.