Viet Le
Full-Stack & AI Software Engineer
Oakland, CA
Full-stack engineer specializing in local-first web architectures and production AI systems. I build multi-turn agents and evaluation pipelines, and solo-architect client-side sync and binary data engines that eliminate server read bottlenecks.
Tech stack: TypeScript, React, Next.js, Python, FastAPI, Pydantic, Node.js, tRPC, PostgreSQL, Prisma, Zustand, IndexedDB, Service Workers (PWA), SSE, Zod, Cloudflare R2
ScheduleBud
Joined an early-stage B2C app on a 2-person team, onboarding onto a 6-month-old codebase and working 1:1 with the founder to spearhead its pivot into an AI-powered study suite.
- Multi-Turn Tool-Calling Agent: Architected a stateful AI assistant that decomposes ambiguous natural-language requests into sequential tool calls — querying user context, resolving calendar conflicts, and executing validated database mutations across course roadmaps and study schedules.
- AI Evaluation & Model Routing Harness: Engineered a Python, FastAPI, and Pydantic evaluation suite (CLI + local web UI) running frozen-corpus A/B tests (Spearman/Jaccard agreement) across Gemini tiers. Proved the fast non-thinking tier hit 92% first-pass yield as a generator but had a ~10% false-accept rate as a judge — validating a split-model routing strategy that cuts scheduling latency 8x (24.2s → 3.1s) and token spend 75%.
- Evaluator-Optimizer QA Pipeline: Built an overgenerate-and-filter pipeline using Zod schema enforcement, local vector deduplication (>0.88 cosine), and batched LLM-as-a-Judge grading to curate and refine study cards before they reach users.
- GraphRAG Diagnostic Practice Exam: Built a simulated exam engine utilizing PostgreSQL graph traversals across typed prerequisite relationships to trace missed test questions back to root foundational gaps.
CardLedger
A local-first Pokémon TCG portfolio tracker where collectors search 21,000+ cards, manage collections, and inspect multi-year price histories with zero loading states and full offline support. Built and shipped solo; now in light maintenance.
- Offline-First Data Integrity & Sync: Full offline support and cross-device sync via Service Workers, SSE, and PostgreSQL NOTIFY, using LWW timestamps and tombstoned deletes so no mutation is silently lost during network drops. Read the sync engine deep dive ↗
- Sub-Millisecond Client-Side Search: Engineered a virtualized infinite scroll grid across 21,000+ items with zero loading states, backed by a custom IndexedDB search engine achieving 0.3ms filter latency and sub-2ms full-text search via optimized Set intersections.
- Binary Price-History & Static Asset Pipeline: Shipped 4.4M+ historical price points offline by packing series into binary
Int32Arraybuffers with JSON byte-offset indexing and dictionary compression on Cloudflare R2 — shrinking payloads from 10MB to ~400KB, halving client parse/heap overhead, and cutting monthly infrastructure costs from $180 to $2.