ARCHITECTURE & EVALUATION

Subsea Lens

From a pressure alert to an evidence-linked investigation.

I built this project to help engineers distinguish possible pipeline leaks from sensor faults and operating changes. It combines my marine-sensor background with hands-on agent, backend and dashboard engineering.

How an investigation works

Received readings become a fixed evidence snapshot. The Response Coordinator sets a constrained plan; the three roles then work in sequence.

  1. Sensor Quality

    Check coverage and suspect readings before assessing a possible physical event.

  2. Event Diagnosis

    Compare pressure histories, topology and operating records to investigate competing causes.

  3. Response Coordinator

    Combine the findings, source references, uncertainty and next checks into an engineer-facing report.

Before publication: a separate review checks the report against its sources. Bounded corrections are allowed; unresolved checks withhold the report. The engineer decides what action to take.

What the model decides, and what code enforces

After required intake, the model can select scoped searches, original record reads and measured comparisons. Code controls the evidence window, permissions, source availability and execution budgets. Retrieved text is evidence, not permission to act.

I built the FastAPI backend and TypeScript dashboard, with PostgreSQL for evidence, tasks and spent budgets; LangGraph for conversation checkpoints; and OpenTelemetry for inspecting tool calls and review decisions. Restarting a worker does not reset its authority or allowance.

Evaluation and limits

The published checkpoint cohort covers 66 snapshots across seven simulated scenarios: 41 supported reports and 25 reviewed abstentions. The largest network has 112 pressure instruments across 11.2 km. Failed attempts and recovery records remain in the evaluation history.

In development, I also compare a single Investigator with the specialists and a fixed workflow, and test hybrid retrieval and reranking separately. The serial specialist workflow and lexical retrieval remain the defaults; more components are not assumed to produce better findings.

These are synthetic development evaluations, not independent field-accuracy measurements. Source review is not a safety certificate. This is read-only decision support, not a deployed safety system.