OpsBridge
AI procurement exception investigation — deterministic matching, line-level citations, and human-approved actions
OpsBridge helps an accounts-payable or procurement investigator work out why an invoice is blocked — a missing goods receipt, a quantity mismatch, or a price mismatch — and take the correct, evidenced next step. It reads the purchase order, receipts, invoice, and supplier messages, matches them with deterministic rules, cites every finding to the exact document line, lets a model explain and draft (never decide), and executes a follow-up only after a different person approves the exact version they reviewed.
Key Features
- Deterministic matching — Decimal money, units and conversions, effective-dated policies, and cumulative receipts net of returns. Anything the rules cannot evaluate exactly becomes an explicit manual-review or needs-information finding.
- Line-level evidence — Every finding cites a page/line, CSV row, or JSON pointer of a specific document version and digest. Corrections overlay the original extraction instead of replacing it.
- Bounded agent steps — Mock, Anthropic, or local Ollama models sit behind one contract, with read-only evidence search through an MCP service. Validators reject unsupported numbers, unknown citations, and any route that differs from the rules.
- Approval-bound execution — Immutable proposals with canonical payload digests, approvals bound to version, policy, and expiry with separation of duties, a transactional outbox, and
outcome_unknownfor human review instead of blind retries. - Tenant isolation — OIDC sessions, PostgreSQL row-level security with non-bypass roles, tenant-scoped artifacts and retrieval, and redacted logs and telemetry.
- Verifiable evaluation — A frozen benchmark with hand-labelled held-out cases, strict offline replay, and EvalSeal receipts with tamper detection.
Results
| Signal | Result |
|---|---|
| Held-out benchmark (40 synthetic cases, mocked model responses) | Correct next action 36/40 = 0.90 (Wilson 95% CI 0.77–0.96) |
| Misses | All four were an unseen supplier invoice layout, escalated safely to a person |
| Test suite | 589 unit + 270 integration tests, including real Keycloak, PostgreSQL, and MCP |
| Hosted CI | Lint, types, unit, integration, browser, image build, SBOM, and vulnerability scan |
All data is synthetic. OpsBridge has not yet been validated with a real model, a live connector, a cloud deployment, or an operator pilot, and it is not production-ready.
Tech Stack
Python · FastAPI · PostgreSQL (row-level security) · Keycloak (OIDC) · MCP · Anthropic API · Ollama · React · TypeScript · Grafana · Docker