| Project | What it does | Stack |
|---|---|---|
| nl2sql | Enterprise-grade multi-agent NL→SQL system — schema retrieval, validation, and full observability for SQL that is accurate, safe, and deterministic. | Python · Multi-agent · Retrieval |
| medalflow | dbt, but in Python classes. Declare Bronze/Silver/Gold models as classes; MedalFlow parses your SQL for dependencies and compiles a staged execution plan. | Python · Data platform |
| loglens | LLM-powered analysis bolted onto stdlib logging — severity-based model routing, PII scrubbing, async micro-batching, circuit breaking, Prometheus metrics. | Python · Observability |
| post_training | Small, runnable implementations of LLM post-training and alignment — RL fundamentals through DPO, RLHF, and RLAIF. | Python · PyTorch · RL |
Earlier work that people still use
| Project | Why it exists |
|---|---|
| microservice_demo | A clean, minimal Spring Boot microservice reference — the version I wanted when I was learning the pattern. |
| spring_boot_multi_module_framework | Bootstraps a multi-module Spring Boot project so teams skip the first week of scaffolding. |
| chess_engine_using_python | Minimax, alpha-beta pruning, and quiescence search, written to be read rather than to win. |
| mini-gpt | A decoder-only Transformer in pure PyTorch, stripped to the pieces that actually matter. |
| aurora | Semantic search engine on FastAPI and Sentence Transformers. |
- Cut cloud spend ~30% through architecture and execution-path optimization
- Reduced engineer onboarding from months to weeks via platform automation
- Delivered end-to-end AI and data platforms with explicit reliability guarantees
- Consistent bias toward correctness, observability, and system clarity
Languages & Frameworks
Python · Java · TypeScript · Spring · Node.js · FastAPI · PyTorch · Angular
Platform & Infrastructure
Kubernetes · Docker · Azure · GitHub Actions · Postgres · Grafana · Git · Linux
AI Systems — LLM inference efficiency · agentic systems · retrieval · execution feedback loops · cost/latency tradeoffs · agent safety
Platform & Distributed Systems — serverless · CI/CD · observability · private networking · fault tolerance
Data Systems — ETL platforms · lakehouse architectures · Apache Spark · SQL engines · cost optimization
How I think about each of these
AI Systems. The interesting problems are not in the model, they are around it: making a non-deterministic component behave predictably inside a system that has to be correct. Retrieval quality, validation layers, execution feedback, and hard safety constraints do more for output quality than prompt tuning does. Inference cost and latency are design inputs, not afterthoughts.
Platform & Distributed Systems. A platform succeeds when it makes the right thing the easy thing. Most of the value is in defaults, guardrails, and paved roads — not features. Failure modes should be boring and well-understood before traffic arrives.
Data Systems. Lineage and reproducibility beat cleverness. A pipeline you can explain, replay, and cost-attribute is worth more than a faster one you cannot reason about.
- pgvector Internals Overview: How Postgres Learned to Speak VectorAug 30, 2026
- Hybrid Search: Combining Vector Similarity with Metadata Filters and Keyword SearchAug 29, 2026
- Distributed Systems Concerns: Replication, Consistency, and Query RoutingAug 27, 2026
- Sharding and Partitioning at Scale: Splitting Billions of Vectors Across MachinesAug 26, 2026
- Storage Architecture: Memory, Disk, and Memory-Mapped Layouts at Billion-Vector ScaleAug 26, 2026
More at medium.com/learnwithnk · codewithnk.com
- Determinism before scale
- Observability before optimization
- Clear interfaces enable fast, safe systems
- Prefer boring, reliable systems over clever hacks
Reach me at codewithnk@gmail.com




