Projects
Public software with source code, design decisions and reproducible results. Each project page explains the problem, demonstrated capabilities and limitations.
WebGPU Local Inference
Inspectable browser ticket classification with native WebGPU, real WebAssembly fallback and recorded cached startup during a local asset outage.
Quantization Quality Lab
A real MiniLM CPU quantization study separating weight size, process memory, retrieval quality and latency, with raw regressions and output drift preserved.
Model Regression Gate
A reproducible model promotion gate with versioned tasks, paired accuracy comparisons, slice tolerances and a separate review-required outcome.
LLM Stream Backpressure
Bounded HTTP/SSE streaming with slow-consumer backpressure, interleaved tool events and measured cancellation behavior over real local sockets.
Agent Policy State Machine
An executable authorization state machine with finite TLA+ safety checks, compensation and replay of the actual TLC transition graph.
Agent Trace Observability
OpenTelemetry instrumentation for an owned local agent pipeline with bounded, allowlisted exports and tested exclusion of sensitive payloads.
Agent Context Budget
Compare full-window input, truncation, selection and extractive compression while measuring evidence loss separately from answer quality.
Agent Sandbox Boundaries
An ephemeral Wasmtime runner that makes CPU, wall-time, guest-memory, filesystem and network capability limits observable.
Agent Tool Capabilities
Tool authorization by argument, resource, expiry and atomic call and byte budgets, with verifiable denial and revocation records.
Agent Memory Lifecycle
Auditable memory events with provenance, corrections, expiry, deletion and session-scoped lexical retrieval.
LLM Semantic Cache
SQLite exact and semantic answer caching with user, permission and version isolation, transactional invalidation and local evaluation of correct and incorrect reuse.
AI Model Routing Policy
Routing between FLAN-T5-small and base with development-only fitting, held-out evaluation, measured router cost and injected local outages. Includes its negative result.
Structured Output Contracts
Bounded JSON contracts with strict validation, explicit refusals and limited retries. Separates validity from correctness using two local Qwen models and preserved raw responses.
Incremental RAG Index
Versioned SQLite RAG indexes with content-hash embedding reuse and atomic publication. Compares full and incremental rebuilds and injects process exits.
Bilingual Retrieval Evals
EN/ES retrieval evaluation with BM25 and multilingual MiniLM. Separates languages, directions, accents and cultural expressions, with replayable rankings and evidence.
Reranker Budget Router
Reranking router with hard pair budgets, development-fitted policies and a local MiniLM cross-encoder. Publishes quality, latency, decisions and routing errors.
Vector Search Portability
Real hnswlib and sqlite-vec comparison with identical vectors, filters and updates. Recall against exact search, concurrent read load and postfilter result loss.
Chunking Ablation Suite
Fixed, structural and semantic chunking ablations using the same MiniLM model. Measures complete retrieved evidence and indexing cost for code, tables and cross references.
Citation Grounding Checker
Citation support checking with rules, FLAN-T5 and DeBERTa NLI. Predictions, abstentions and precision linked to each claim’s exact source passage.
LLM Serving Bench
CPU inference measured over HTTP/SSE: per-token arrivals, TTFT, TPOT, latency and memory. Eight SmolLM2 configurations with raw evidence and offline replay.
MCP Contract Harness
Read-only MCP server and independent clients for checking stdio negotiation, pagination, errors and cancellation, with actual wire messages and reproducible reports.
Agent Injection Evals
Reproducible prompt-injection evaluation with a pinned local model, simulated tools and separate metrics for task capability, attack attempts and realized effects.
Agent Replay Runtime
Durable tool execution with event replay, idempotency keys and recovery after real process crashes. Includes effect traces and cases that stop instead of retrying automatically.
RAG Evaluation Workbench
Reproducible RAG evaluation with BM25, dense and hybrid retrieval, local CPU inference, and separate retrieval and answer metrics.
Citable Publication
Deterministic HTML, Markdown and JSON publishing from one corpus, with integrity verification before release and reproducible faults.