sanskar.

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.

PromptLine OSS

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-judge
TAG · Terminal Agent Gateway OSS

An 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 · SQLite
LSM-Tree Storage Engine Go

A 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 · mmap
B+Tree Storage Engine Go

A 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 WAL
Distributed Tracing System Go

An observability backend ingesting OTLP + native spans with seven pluggable samplers (incl. tail-based/adaptive) and RED metrics over sliding-window histograms.

Go · OpenTelemetry · SSE · React
PayGate Go

A 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 · Outbox
DB-Backup Systems

A 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 · Terraform

More on github.com/sanskarpan