A five-step agentic inspection pipeline — two-stage YOLOv8 vision (custom-trained on 10,764 industrial metal defect images, mAP50 0.764), Claude AI reasoning, and a built-in QMSR audit trail. Live on AWS. Real inference. Real compliance.
Surgical instrument manufacturers rely on human visual inspection before instruments reach hospitals. The failure rate, the audit gap, and the recall cost all point to the same structural problem.
Inspector accuracy drops measurably after two hours. The same defect passes the morning shift and fails the afternoon shift. There is no reproducible baseline.
Cracks under 0.1mm, early-stage corrosion, and surface porosity — the defects most likely to cause OR failure — require magnification and controlled lighting that manual inspection cannot consistently apply at line speed.
FDA's new QMSR (effective Feb 2, 2026) requires retrieval-ready, immutable, event-linked inspection records. Manual paper logs cannot satisfy this standard under audit.
A single major recall costs $600M on average. The all-in cost to deploy DAMIAN on one line: $203K. The math is not complicated.
A fully agentic inspection pipeline — no scripted logic, no hardcoded rules. Claude reasons about each instrument independently using YOLO scan output, regulatory context, and risk scoring.
Three capabilities no incumbent — Cognex, Keyence, Teledyne, Landing AI, Instrumental, or any AI-native challenger — ships together in a single system.
Inspection #60. A needle holder with corrosion. Five agent steps, 737ms analysis time. Claude cites 21 CFR 820.88(c), ISO 7153-1, ASTM A967. Verdict: FAIL. CRS: 192.5 HIGH. Recommended action: quarantine.
This simulation walks through the inspection flow. To run real inference against the live model, open the application.
Every inspection generates an immutable record linking verdict, image hash, model version, operator ID, and timestamp — satisfying DHR requirements under QMSR §820.45.
Stage 1 — Instrument Classifier: YOLOv8n fine-tuned on real surgical instrument imagery. Identifies 6 instrument types before defect analysis begins.
Stage 2 — Defect Detector: YOLOv8s custom-trained on 10,764 industrial metal surface images (NEU Surface Defect, Rust Corrosion, NEU Steel Kaggle, Synthetic Industrial). Trained 77 epochs, converged at epoch 57 via early stopping. mAP50: 0.764.
Reasoning Layer: Claude Sonnet 4 receives YOLO detections, regulatory context, and risk inputs — and produces a written inspection rationale per run. Confidence scores are always displayed. This system augments human judgment; it does not replace it.
Select a publicly traded surgical instrument manufacturer. Cost savings are derived from FY2024 10-K filings using a fully documented assumptions chain — not marketing projections.
Savings estimates are derived from publicly available FY2024 10-K filings. Sources cited per company. DAMIAN augments human QC judgment — it does not replace it. Not a financial projection. Not endorsed by or affiliated with any company listed above.
On May 25, 2026, Pope Leo XIV published Magnifica Humanitas — the first papal encyclical on artificial intelligence. Its central question is the same one Cosmas was built to answer: does this AI serve the person using it, or does it try to replace them?
DAMIAN never autonomously removes an instrument, updates a production record, or sends an asset downstream. Every PASS, FLAGGED, and FAIL is a recommendation. A human QC inspector acts on it. That is not a limitation — it is the design.
Confidence scores appear on every result. If confidence falls below the inspector's threshold, a PASS automatically escalates to FLAGGED. The full 5-step AI reasoning chain is accessible on every inspection record. The inspector always knows what the AI considered and how sure it was.
FDA MAUDE records document real patient harm from defective surgical instruments. The business case — faster inspection, lower cost, better defect rates — is real. But the reason it matters is the patient on the table who cannot inspect the instruments used on them. Cost savings are the mechanism; patient safety is the purpose.
Magnifica Humanitas calls the honest pursuit of truth a common good. Cosmas discloses its model accuracy (mAP50 = 0.764), does not claim FDA approval, and does not claim the system prevents patient harm. The audit trail is real. The confidence scores are real. The limitations are documented.
A QC inspector reviewing 200+ instruments per shift faces fatigue, inconsistent lighting, and the cognitive load of six instrument types and five defect classes. DAMIAN handles that baseline consistently so the inspector's attention goes where it belongs: the instruments that genuinely require tactile judgment and experience.
Saints Cosmas and Damian were twin physicians — the Holy Unmercenary Physicians — who practiced medicine together, without charge, for anyone who needed it. The company is Cosmas. The AI is DAMIAN. They are not a brand. They are a promise: that the technology which protects patients should not be reserved for those who can afford it. Open, auditable, built on public infrastructure.
Architectural alignment documented in ADR-008: Alignment with Magnifica Humanitas — available in the public GitHub repository.
github.com/vincentdr-code/cosmas-surgical-qc ↗Install DAMIAN on a single production line. Run it in parallel with your existing QC process for 30 days. At the end, you have a side-by-side defect escape rate comparison, a complete QMSR audit trail, and a clear decision in front of you.
No long-term commitment. No cloud connection required for the enterprise product.