Selected work
Projects
A curated slice: storage engines and distributed systems in Go, LLM/agent tooling in Python, and a few things that don’t fit a box. Most are open source.
An LLM-evaluation + prompt-optimization pipeline: a calibrated LLM-as-judge, a statistical deploy gate (paired-bootstrap CI + Holm correction), and five optimizers. Published on PyPI as promptline-opt.
Python · FastAPI · React · LLM-as-judgeAn agent-orchestration runtime that routes tasks across 10+ model providers with autonomous loops, tool capabilities, background job queues, and hard budget limits. Published on PyPI + npm as tag-agent.
Python · agents · OpenRouter · SQLiteA from-scratch LSM-tree in Go: skip-list memtable, Bloom-filtered mmap SSTables, three live-switchable compaction strategies, Raft quorum replication and multi-Raft sharding.
Go · Raft · Bloom filters · mmapA B+Tree storage engine in Go with MVCC snapshot isolation, ARIES-style WAL crash recovery, slotted 4KB pages, a Clock-eviction buffer pool and group commit.
Go · MVCC · ARIES WALAn observability backend ingesting OTLP + native spans with seven pluggable samplers (incl. tail-based/adaptive) and RED metrics over sliding-window histograms.
Go · OpenTelemetry · SSE · ReactA multi-tenant payment platform in Go using double-entry ledgering, a transactional outbox, and saga orchestration with explicit per-entity state machines and dead-letter handling.
Go · PostgreSQL · Saga · OutboxA cross-platform enterprise backup product: Go backend, Next.js web, Rust/Tauri desktop, React Native mobile, and browser extensions, with Terraform IaC and OPA policy-as-code.
Go · Rust/Tauri · Next.js · TerraformMore on github.com/sanskarpan ↗