Public engineering work

Projects

Evidence-led systems work across AI platforms, agent systems, retrieval, data infrastructure and distributed systems—with reliability, evaluation, observability and trade-offs made explicit.

View as Markdown

Featured work

Four current projects selected for depth, engineering evidence and relevance to AI platform work.

Project / 01current

AI Reliability / Execution Infrastructure

Agentic Customer Service Platform

Customer-service agent platform where the LLM proposes refunds, cancellations, lookups, tickets and escalations while deterministic software owns scope, policy, confirmation, revalidation, idempotency and execution.

  • Python
  • FastAPI
  • LangGraph
  • SQLAlchemy
  • PostgreSQL

Execution authority

SERVER-OWNED

LLM proposal → deterministic execution

Authentication, scope, policy, confirmation, revalidation, idempotency and business execution stay outside the model. The exercised D2c slice recorded 0 unauthorized mutations and 0 unsafe executions.

Project / 02current

MLOps / AI Platform

ModelOps Control Plane

Policy-driven ML release control plane combining progressive canary delivery, delayed-ground-truth quality gates, automated promotion and rollback, and desired-vs-observed routing reconciliation.

  • Python
  • FastAPI
  • SQLAlchemy
  • SQLite
  • Alembic

Routing control loop

DESIRED ↔ OBSERVED

Durable database state → router reconciliation

The database owns desired traffic; the router is restart-losable observed state. A worker-triggered reconcile tick repairs drift after a restart or failed push.

Project / 03current

Generative AI / RAG Platform

Knowledge Base RAG

Local-first multilingual RAG platform with tenant-scoped hybrid retrieval, measured reranking, strict answer validation, versioned index operations and an evidence-first React console.

  • Python
  • FastAPI
  • React
  • TypeScript
  • Vite

Multilingual reranker decision

63 rescues · 0 drops

220-query paired evaluation

BAAI/bge-reranker-v2-m3 reached cross-lingual Recall@5 1.0000 and MRR 0.9558 on the committed evaluation set. This result belongs to that dataset, model and runtime configuration.

Project / 04current

Distributed Systems / Streaming

Real-Time Commerce Platform

Production-oriented event-driven commerce platform where Kafka may redeliver, but layered idempotency, transactional persistence and bounded failure handling protect durable business effects.

  • Python
  • TypeScript
  • FastAPI
  • Next.js
  • Kafka

Sustainable capacity improvement

750 → 1,050 evt/s (+40%)

Isolated local benchmark · Kafka → processor → persistence

Three processor workers matched to three Kafka partitions (750–775 evt/s was the original non-sustainable transition). Bounded per-partition offset-commit batching moved the sustainable boundary to ~900 evt/s; query-plan-driven PostgreSQL indexing plus a fresh capacity sweep moved it to ~1,050 evt/s, with ~1,075 evt/s the first repeatably degraded rate. Not production capacity or Demo Control throughput.

Supporting / evolution

Supporting work

Focused tools and earlier foundations that show architectural iteration and how narrower systems evolved into broader platforms.

Supporting workcurrent

Agent Infrastructure / Developer Tooling

Repo Context Forge

Local-first MCP repository intelligence and agent platform for deterministic, source-grounded code analysis within strict read-only boundaries.

  • Python
  • MCP
  • FastMCP
  • Python AST

Configured MCP surface

40 tools

Six local MCP servers

The platform configures 40 tools across six servers; the read-only local agent uses a bounded subset by default.

Supporting workcurrent

Data Engineering / Lineage

dbt Feature Lineage

Local-first dbt analysis for model dependencies, cross-model column lineage, change impact and query flow without a live warehouse.

  • Python
  • dbt Core
  • FastAPI
  • Next.js

Analysis scope

Cross-model column lineage

Manifest-aware + static analysis

Traces columns upstream and downstream and summarizes direct versus transitive downstream impact without a live warehouse connection.

Supporting workcurrent

Infrastructure as Code / Platform Engineering

Terraform Docker Infrastructure Lab

Modular Terraform infrastructure lab with state-safe refactoring, native IaC tests, CI security gates, observability, and end-to-end failure validation.

  • Terraform
  • Docker
  • FastAPI
  • PostgreSQL

State-safe module refactor

0 add · 0 change · 0 destroy

Verified Terraform migration

The original root resources were reorganized into network, application and observability modules through explicit Terraform moved blocks while preserving managed resource identities and avoiding infrastructure recreation.

Supporting workCompleted series

Predictable backend behavior under load and failure.

Go Reliability Labs

A focused series of six Go labs exploring how backend systems remain predictable under load, concurrency, and partial failure — covering latency measurement, idempotency, admission control, dependency resilience, backpressure, and end-to-end deadline budgeting.

  1. Measurego-api-prober

    Bounded-concurrency HTTP probing with throughput measurement, latency percentiles, status distributions, connection reuse, graceful cancellation, and race-tested concurrency.

    GitHub for go-api-prober (opens in a new tab)
  2. Correctnessgo-idempotency-lab

    Concurrent idempotent request handling backed by PostgreSQL transactions and UNIQUE constraints, preventing duplicate side effects while safely replaying completed results.

    GitHub for go-idempotency-lab (opens in a new tab)
  3. Admission Controlgo-rate-limiter

    Local token-bucket and Redis-backed distributed rate limiting with atomic decisions, explicit rate-limit responses, and concurrency-tested global limits.

    GitHub for go-rate-limiter (opens in a new tab)
  4. Resiliencego-retry-circuit-breaker

    Dependency-free bounded retries with exponential backoff and jitter, retryable HTTP classification, response-body lifecycle handling, and a concurrency-safe circuit breaker.

    GitHub for go-retry-circuit-breaker (opens in a new tab)
  5. Overload Controlgo-backpressure-lab

    Bounded queues and fixed workers demonstrating saturation behavior, enqueue timeouts, explicit overload rejection, context cancellation, stats, and graceful draining.

    GitHub for go-backpressure-lab (opens in a new tab)
  6. Time Budgetgo-deadline-budget-lab

    End-to-end deadline propagation with child timeout budgeting, safety reserves, fail-fast budget exhaustion, budget-aware retries, and parent-child deadline guarantees.

    GitHub for go-deadline-budget-lab (opens in a new tab)