Solution Architect · Senior Software Engineer

Elfege Arthur Leylavergne, Ph.D.

I architect systems that anticipate their own failure modes.

Ph.D. Logic & Epistemology (Université de Nantes, 2014). Research since 2001. Production engineering since 2022. Full-stack across Python/FastAPI/PostgreSQL and Next.js 15/React 19/TypeScript.

90%+
async cycle-time reduction across thousands of networked devices
120+ days
continuous uptime on safety-critical edge deployment
4 ms
end-to-end API latency — architected at design time, not debugged

Flagship Work

OHVD — Over-Height Vehicle Detection

Safety-critical edge · State DOT

Trucks exceeding bridge clearance damage infrastructure and endanger traffic below. The system must detect within milliseconds, correlate multi-modal sensors, and never falsely trigger — a missed event is as unacceptable as a false one.

Sole architect. Fault-isolated multi-process architecture with layered watchdogs. Dual-sensor correlation — LiDAR plus video analytics — with intelligent deduplication. Detection pipeline optimized for tight latency budgets on modest edge hardware.

  • 120+ days continuous uptime in production.
  • Six-subsystem integration delivered by a single engineer.
  • Production-deployed at a State DOT partner site.
Python · LiDAR / TEMS · Bosch RCP+ · FFmpeg · Docker · edge Linux
Deep dive →

DSMS — Device Status Monitoring at Scale

Async infrastructure · State DOT

A State DOT client needed real-time health of thousands of field devices distributed across hundreds of subnets. The previous polling architecture could not keep up; stale data was the operational norm.

Architected async monitoring end-to-end. Asyncio pools with adaptive batching, APScheduler per-group with adaptive intervals, PostgREST streaming writes to a staging table, trigger-based synchronization between dynamic and historical stores. The 4 ms end-to-end latency target was set at design — I identified the bottlenecks before writing the first async primitive. Deployment scripts refuse to boot if the OS ulimit is insufficient, and guide the operator to the correct configuration before anything starts.

  • 90%+ cycle-time reduction over the prior architecture.
  • Extended zero-error operation across thousands of devices.
  • 4 ms API latency — deliberate, not emergent.
Python · asyncio · aiohttp · APScheduler · PostgreSQL · PostgREST · Docker · AWS
Deep dive →

dDMSC — Dynamic Message Sign Control

Protocol reverse-engineering · NTCIP 1203

Highway Dynamic Message Signs speak NTCIP 1203 over SNMP, but every vendor interprets the MIB differently and proprietary SDKs are gated behind vendor contact. Traffic operations cannot wait for sales cycles.

Sole architect. Reverse-engineered NTCIP 1203 directly from MIB specifications to build a vendor-agnostic driver framework covering Daktronics VFC-3000, PCMS-548, and others. Full protocol lifecycle: MULTI validation, CRC computation, activation sequences, readback verification. Driver interface designed so adding a new vendor is a schema, not a rewrite.

  • 15+ REST endpoints for full DMS command & control.
  • Vendor-agnostic driver architecture — new signs plug in as data, not code.
  • Delivered under a fast turnaround (~2 months) with no vendor SDK access.
Python · Flask · SNMP · NTCIP 1203 · PostgreSQL · MIB parsing · MULTI · CRC
Deep dive →

Anamnesis — Episodic Memory for AI

Vector embeddings · Personal research

Large language model instances forget between sessions. Conversations that should accumulate — architectural decisions, user preferences, hard-won context — dissolve. The standard workaround (stuff everything into the prompt) does not scale past a few turns.

Built a persistent episodic memory layer. 1024-dimensional sentence-transformer embeddings indexed in MongoDB, with semantic search, priority weighting, and time-decay boosting. Exposes a REST API over LAN: any Claude/LLM instance can write significant episodes and retrieve relevant ones on startup. In daily production use across a fleet of 20+ agent instances.

  • 1024-dim sentence-transformer embeddings, MongoDB vector search.
  • Multi-instance persistence: agents share continuity across machines & sessions.
  • Daily use in real workflows — not a demo.
Python · FastAPI · MongoDB · sentence-transformers · REST · Docker
Deep dive →

SAM — Subscription Alert Model

Real-time event platform · Kafka / Flink

Traffic operations span many roles and agencies, each subscribing to different event classes with different urgency and routing. A naive fan-out wastes bandwidth and bores dispatchers into ignoring the feed; a single firehose cannot serve a multi-tenant platform.

Designed a multi-user subscription alert model on a Kafka / Flink backbone. Kafka ingests raw subsystem events (device status, detections, alarms); Flink carries the stateful stream processing and rule evaluation per subscriber. Alerts dispatch over email, SMS, and WebSocket to the exact audience their topology declares.

  • Real-time dispatch across email · SMS · WebSocket channels.
  • Multi-tenant subscription topology — per-user, per-role, per-event-class routing.
  • Stateful stream processing on Flink over a Kafka event backbone.
Python · Apache Kafka · Apache Flink · PyFlink · AVRO · WebSocket · Flask
Deep dive →

dotstream UI — Operator Frontend for Safety-Critical Subsystems

Full-stack · Next.js / React

The operator surface for dotstream's traffic-management platform: dashboards, a GIS map with real-time event feeds, and live video. The legacy JavaScript monolith had crossed 5,000 lines and could no longer absorb new subsystems cleanly.

Team contributor on the React refactor from the legacy monolith into a typed Next.js / React monorepo, and participant in the early CI/CD implementation. Built the operator-facing components for the safety subsystem I had architected on the backend — dashboard, map viewer with real-time events, and live video integrated against the dVS video-management backend I also wrote.

  • Vertical ownership: same engineer on backend and UI for OHVD and dVS.
  • 5,000+ line JS monolith lifted into a typed Next.js / React monorepo.
  • Contributor to the platform's early CI/CD implementation.
Next.js 15 · React 19 · TypeScript · Turbo · pnpm · Leaflet / GeoServer · Socket.io
Deep dive →

Stack

Languages
Python · TypeScript · JavaScript (ES6+) · C++ · Groovy · Bash · SQL
Backend
FastAPI · Flask · asyncio · aiohttp · Node.js · SQLAlchemy · PostgREST · Flyway
Frontend
Next.js 15 · React 19 · TypeScript · MUI · Tailwind · Leaflet / GeoServer · ECharts · Socket.io
Data & streaming
PostgreSQL · Redis · MongoDB · Apache Kafka · Apache Flink · PyFlink · AVRO
Infra & cloud
Docker (Compose, Swarm) · AWS (ECR, EC2, S3, Secrets Mgr, SSO) · Nginx · Gunicorn · GitHub Actions · Linux / systemd
Real-time & protocols
WebRTC · WHEP / WHIP · MediaMTX · FFmpeg · RTSP · HLS · ONVIF · SNMP · NTCIP 1203 · MQTT · WebSocket
Embedded & hardware
LiDAR / TEMS · Bosch RCP+ · ESP32 · ESP8266 · Arduino · Zigbee · Z-Wave · Matter
Security
NIST SP 800-160 / 800-37 · AES-256-CBC · Fernet / OpenSSL · JWT / CSRF · Docker network isolation

Research & Writing

About

My career looks like two careers, but it is one discipline of life. Research in logic and epistemology since 2001 — Licence at Strasbourg (2001), Master's at Grenoble UPMF in partnership with ENS-Lyon (2005–2006), Ph.D. begun at Grenoble (2006) and defended at Nantes (2014) — seven years part-time while teaching full-time in New York. Dissertation Logique et dialectique : une introduction à la lecture de Hegel — une critique hégélienne de Hegel, directed by Jean-Marie Lardic (CAPhi, Université de Nantes). Ongoing publication. Lycée Français de New York (2007–2022): taught philosophy, epistemology, and robotics, and served as technology integrator for the information system — recruited directly off a pedagogy website I maintained for my students. Production software engineering since 2022 — Springboard Software Engineering Career Track (ten-month full-time intensive, 2022), then PowerYou AI, then Mindhop Inc. (2023–2026), where I was sole architect of three safety-critical and infrastructure-scale systems.

What I do outside of any institution, I do the same way: compulsively. Fifty-plus ESP32 / ESP8266 projects; a production-grade bash operations library of 550+ scripts (~110,000 lines) running a multi-host Linux fleet; reverse-engineered protocols (Roomba WiFi, LiDAR / TEMS, NTCIP 1203 from the MIB specification); a vector-embedding memory layer for AI agents; Hegelian arithmetic essays; four working languages. The formal credentials structured what curiosity had already started.

Intellectual lineage. Trained in the French continental tradition at Strasbourg (Philippe Lacoue-Labarthe, Miguel Espinoza, Jean-François Pradeau, Frédéric Brahami), Grenoble (Marie-Laurence Desclos), and ENS-Lyon (Sophie Roux, on the historicity of science in Canguilhem). Dissertation directed by Jean-Marie Lardic at Nantes, with access through him to the core of contemporary French Hegelian scholarship — Bernard Bourgeois, Jean-François Kervégan, André Stanguennec.

The engineering is dialectical in the Hegelian sense: every deployed system is a hypothesis about the failure modes of the previous one. I write deployment scripts that refuse to boot if the OS will not let them work. I architect latency at design time, not at debug time. I treat every data transformation as an opportunity to break someone else's invariants, and plan accordingly.

Currently open to Senior / Staff / Principal IC roles — backend, platform, infrastructure, ML systems, or AI-adjacent engineering where rigor of reasoning and breadth of stack are the point, not the overhead.