Senior Well Control Specialist at Boots & Coots · Certified Well Control Instructor · 25+ Years in Operations Management
Well Operations, Drilling, Completions & Well Intervention (Land & Sea) · Surface & Subsea BOPs · Active & Passive MPD
🌐 Engineering Hub & Blog: eng.kcklayton.com
🧪 Live Production Simulators: kill.kcklayton.com · wellsim.kcklayton.com · wellcontrol.kcklayton.com
Through years of software engineering alongside field operations, I design and build production-grade AI architectures for safety-critical energy operations—combining real-time WITSML rig telemetry, deterministic multiphase well control physics, Model Context Protocol (MCP) tool servers, and CI-gated compliance evaluation.
Core Architectural Principle: Never let an LLM guess wellbore pressures. Every agentic workflow in this portfolio pairs LLM reasoning and SOP retrieval with deterministic, API RP 53 / IADC / IWCF-verified physics engines and automated CI evaluation gates.
See
docs/ARCHITECTURE.mdfor the complete sequence diagram and integration specification connecting WITSML telemetry, thewellcontrolMCP server,wellsimmultiphase simulation, andsop-rag-judge.
flowchart TB
subgraph RigEdge["Rig Edge Telemetry & Anomaly Detection"]
WITSML["WITSML v1.4.1.1 / v2.0 Stream<br/>(SPP, Pit Gain, Flow Out, Hookload, Torque)"]
EdgeAgent["witsml-edge-agent<br/>Air-Gapped Rig Site Telemetry & Ollama Sidecar"]
Mesh["event-driven-telemetry-mesh<br/>High-Frequency Rig Instrumentation Event Bus"]
WITSML --> EdgeAgent
WITSML --> Mesh
end
subgraph DeterministicPhysics["Deterministic Physics & Engineering Engines (MCP Tools)"]
WC["wellcontrol (1,312 Tests)<br/>Driller's / W&W / Bullhead / Volumetric / Stripping<br/>7-Screen FastAPI Choke Simulator + MCP Server"]
WS["wellsim (783 Tests)<br/>Transient Multiphase Blowout, Relief Well<br/>Ranging & Monte Carlo Kill Risk Engine"]
KSC["kill-sheet-calculations (636 Tests)<br/>IWCF / IADC Surface & Subsea Kill Sheets<br/>+ 45-Module CWI & Drilling Engineering Suite"]
K5R["5kr-kill-sheet<br/>Interactive IADC WellSharp Single-Page App<br/>Directional Rounding & Live Choke Tracking"]
end
subgraph Governance["Enterprise AI Governance, RAG Judge & Sentinel Mesh"]
Judge["sop-rag-judge<br/>Deterministic Citation, Groundedness &<br/>Numeric Drift CI Gate for Drilling SOPs"]
Gateway["ai-gateway-sentinel<br/>3-Tier LiteLLM Fallback Router (Edge -> Local -> Cloud)<br/>+ OpenTelemetry Observability"]
Twin["rig-digital-twin-core<br/>State-Space Drilling Physics Digital Twin"]
BOP["bop-fault-sentinel<br/>Acoustic & Hydraulic Anomaly Detection"]
Vision["rig-vision-sentinel<br/>Drill Floor Red Zone Intrusion Monitoring"]
end
EdgeAgent -->|"MCP Tool Calls"| WC
EdgeAgent -->|"Kill / Relief Simulation"| WS
WC <-->|"Cross-Verified Formulas"| KSC
Gateway -.->|"Resilient Model Routing"| EdgeAgent
Mesh --> Twin
Mesh --> BOP
| Repository | Focus Area & Live Apps | Verification & Highlights |
|---|---|---|
| 5kr-kill-sheet | Interactive IADC WellSharp Kill Sheet Web App 🌐 Live at: kill.kcklayton.com |
12 passing unit tests · Zero-dependency single-page calculation engine · Enforces strict directional rounding (KMW round UP, LOT/MAMW round DOWN, MAASP round DOWN) with floating-point epsilon safeguards · SVG kill plot, printable kill sheet with sign-off blocks & live actual-vs-planned choke deviation tracking. |
| wellcontrol | Full-Lifecycle Well Control Engine, 7-Screen Choke Simulator & MCP Server 🌐 Live at: wellcontrol.kcklayton.com |
1,312 passing tests · Zero external runtime dependencies for core math · Driller's Method, Wait & Weight, Concurrent, Bullheading, Volumetric, Stripping/Snubbing, Barite Requirements, Multi-station Torque & Drag, and real-time FastAPI/WebSocket Choke Simulator + Model Context Protocol (MCP) Server. |
| wellsim | Transient Multiphase Blowout, Relief Well Ranging & Dynamic Kill Simulator 🌐 Live at: wellsim.kcklayton.com |
783 passing tests · Drift-flux multiphase hydraulics benchmarked against public well documents and experimental test datasets from research institutes including LSU's Petroleum Engineering program · Peng-Robinson / Beggs-Brill PVT, magnetic ranging & intersection solver, Monte Carlo kill risk quantification, and React/Three.js 3D trajectory frontend. |
| kill-sheet-calculations | IWCF / IADC Kill Sheet Engine + 45-Module CWI & Drilling Engineering Suite | 636 passing tests · Zero-dependency Python package (killsheet) + programmatic 45-sheet Excel engineering generator covering Coiled Tubing, Snubbing, Wireline, Hydraulic Workover, Subsea Kill Sheets, Casing Design, and Tubing Stress Analysis. |
| Repository | Focus Area | Verification & Highlights |
|---|---|---|
| witsml-edge-agent | Air-Gapped Rig-Edge WITSML AI Sidecar & Live Operator Dashboard | Designed for intermittent satellite connectivity on remote rigs; runs containerized Node.js + local Ollama inference (llama3.2:3b) with deterministic SOP guardrails and WebSocket alerting. |
| ai-gateway-sentinel | Enterprise Energy AI Reference Architecture & LiteLLM Gateway | Production starter with 3-tier multi-model fallback routing (edge-fast edge-reasoning cloud-fallback), strict JSON schema validation, and OpenTelemetry distributed tracing. |
| bop-fault-sentinel | BOP Acoustic & Hydraulic Signature Anomaly Detection | Subsea and surface BOP monitoring engine analyzing hydraulic accumulator signatures and acoustic transients for early fault detection. |
| event-driven-telemetry-mesh | High-Frequency Rig Telemetry Stream & Event Bus | Low-latency event streaming architecture designed for distributed sensor networks on modern cyber rigs. |
| rig-digital-twin-core | Physics-Informed Digital Twin of Rig Systems | State-space dynamic modeling of drawworks hoisting, mud pump circulation, and top drive rotation. |
| rig-vision-sentinel | Computer Vision Red Zone Intrusion & Safety Monitoring | Real-time object detection and spatial boundary enforcement protecting personnel on active drill floors. |
| safety-graph-orchestrator | Knowledge Graph Barrier Verification & API RP 53 Compliance | Automated verification of well control barrier envelopes and regulatory standards compliance. |
| wellbore-knowledge-graph | Wellbore Ontology & Offset Well Analytics | Semantic graph database connecting historical well logs, casing programs, lithology, and operational drilling incidents. |
- Well Operations & Petroleum Engineering: Surface & Subsea Well Control (IWCF / IADC / API RP 53 / API RP 59), Dynamic Kill & Relief Well Design, Completion & Well Intervention (Coiled Tubing, Snubbing, Hydraulic Workover, Wireline, Slickline), Torque & Drag, Multiphase Hydraulics.
- AI Architecture & Agentic Workflows: Model Context Protocol (MCP), Deterministic Physics Tool Use, Hybrid Edge/Cloud LLM Routing (LiteLLM, Ollama, vLLM, OpenAI, Anthropic), RAG Evaluation & Hallucination Guardrails.
- Software Engineering & MLOps: Python (
pytest,FastAPI,Pydantic,NumPy,SciPy,Streamlit), TypeScript / Node.js, React / Three.js, Docker, GitHub Actions CI/CD, WITSML / Energistics Real-Time Telemetry.