AI / ML

ML systems and LLM infrastructure

An LLM inference server with a risk-controlled scheduler, a gateway that cuts model bills with certified quality, and a certified autopilot for AI agents.

85%of LLM requests on time in a hardware slowdown, vs 49%Pacer
+49%serving capacity at a 90% SLO (7.0 vs 4.71 req/s)Pacer
−58%on a Claude Sonnet 4.5 bill, accuracy up 3.4 pointsThrift
82%of agent prompts skipped, 2.9% wrong at a 5% targetNeyman

Projects

What I built, and how it measured.

01 · LLM inference server

Pacer

An LLM inference server that keeps its latency promises when the hardware slows down.

Built from scratch in PyTorch: paged KV cache, continuous batching and chunked prefill, verified token-exact. The scheduler predicts each step’s latency with a physics-informed model, wraps the prediction in an online conformal risk bound, and orders prefills by deadline.

85%
of requests on time during a hardware slowdown, vs 49% for the best baseline
8.5–10.4%
observed risk against a 10% target, under drift
7.0 vs 4.71
req/s of capacity at a 90% SLO, vs the best fixed chunk budget
7.3%
latency-model error, where gradient-boosted trees reached 50.8%

Python · PyTorch · Conformal prediction · C++17 · pybind11

Measured on CPU. A C++17 port of the scheduler hot path (8.6× faster) is in an open pull request.

When the hardware slows down, Pacer keeps 85% of requests within their latency target while standard schedulers fall to 49% and 38%.

02 · LLM cost gateway

Thrift

An OpenAI-compatible gateway that cuts LLM bills and certifies how much quality it gives up.

Model routing, a semantic cache and prompt compression, with every quality and cost knob set by Learn-then-Test: a finite-sample guarantee that expected quality loss stays under a chosen bound. An anytime-valid drift guard re-tests the guarantee online and falls back to a safe mode when a provider silently changes a model.

−58%
on a Claude Sonnet 4.5 bill while accuracy rose 3.4 points (HELM Capabilities)
−46%
vs GPT-4o at the same accuracy (8,021 HELM Lite questions)
99%
of silent provider downgrades caught, 1 false alarm in 900
1.3 ms
median overhead per request

Python · OpenAI-compatible API · Anthropic API · Learn-then-Test · e-processes

Replays published per-question answers from 11 frontier models by 6 vendors.

Bill, relative to always using the flagship
Claude Sonnet 4.5100%
Thrift42%
GPT-4o100%
Thrift54%

HELM per-question answers. Accuracy up 3.4 points vs Sonnet 4.5; same accuracy as GPT-4o.

03 · Certified autopilot for AI agents

Neyman

Lets coding agents skip most permission prompts, with a stated bound on wrong approvals.

A hard floor always asks about anything irreversible or outward-facing. Everything else is scored by a risk model learned from your own answers and approved automatically only under a Learn-then-Test certificate, kept unbiased by random spot checks. A CUSUM detector turns autopilot off under drift.

82%
of prompts skipped with 2.9% wrong approvals, at a 5% target
85.5 vs 69.0
F1 on ASSEBench vs zero-shot GPT-4o
53
actions for the drift detector to switch autopilot off
0.12 ms
per decision

Python · Claude Code hooks · Learn-then-Test · CUSUM

2,497 human-labeled agent actions (ASSEBench, R-Judge).

Permission prompts a user still sees
Ask every time100%
Neyman18%
Wrong approvals2.9%
Target5%

7% risky mix, 5% target. The uncertified threshold missed its own target in 45% of runs.

Experience

Where I have worked.

  1. VALID

    Present

    Founder

    • Building a year-round tax engine that turns daily payroll and bank events into a live Form 1040 and traces every number to its source.
  2. Crown Legacy AI

    Oct 2025 – Present

    Product architecture

    • Designed the architecture of a multi-tenant web platform: React/TypeScript, FastAPI and PostgreSQL with row-level security for each client’s data.
    • Built a pipeline that ingests, validates and flags each submission before human review, taking a 4-hour manual analysis to 15 minutes.
    • Shipped 8 serverless services on Supabase.
  3. API Centrics

    Apr 2026 – Aug 2026

    Software Engineering Intern, Enterprise Integration

    • Built REST API integrations with JSON-schema contracts between Salesforce, cloud services and databases, replacing manual record transfers.
    • Automated pre-release checks for payload integrity, service connectivity and data quality.

Research

Papers.

Skills

Tools I use.

ML systems
LLM inference, paged KV cache, continuous batching, chunked prefill, latency models
Evaluation
HELM replays, model routing, drift detection, classifier benchmarks
Statistics
Conformal prediction, Learn-then-Test, CUSUM, e-processes
Tools
PyTorch, scikit-learn, NumPy, Pandas, Anthropic and OpenAI APIs, C++17, pybind11, AWS, Docker
Education
B.S. Computational and Applied Mathematics, minor in Computer Science, University of South Florida. Expected May 2028.
Certifications
CompTIA Security+ (2024) · Supervised Machine Learning, Stanford Online / DeepLearning.AI (2025)

Also

Other topics.

Summer 2027 internships in ML systems, inference and applied ML.