Diagram of an LLM agent architecture with planning loop, tool calls, and memory layer.

Building an Agent from Scratch: A Production-Oriented Walkthrough

A working engineer’s guide to building an LLM agent from zero: the planning loop, tool integration, memory, guardrails, and the production patterns that turn a demo into a service.

September 7, 2026 · 10 min · 2058 words · martinuke0
Diagram of a continuous batching scheduler with paged KV cache blocks being shared across active sequences.

Build a Continuous Batching LLM Scheduler From Scratch

Ship a working continuous batching scheduler with paged KV cache and dynamic request interleaving. Real Python, runnable locally, and a roadmap from toy to production-flavored.

September 7, 2026 · 12 min · 2473 words · martinuke0
Abstract visualization of probability distributions and token sampling strategies.

Build a Token Sampler From Scratch: Temperature, Top-k, Top-p, Min-p, and Contrastive Search

Build a streaming token sampler from scratch in PyTorch covering temperature, top-k, top-p, min-p, and contrastive search — a CV-worthy systems project for ML engineers.

September 6, 2026 · 11 min · 2266 words · martinuke0
Layered neural network diagram showing low-rank adapter matrices branching off frozen weights.

Building a LoRA Training Loop From Scratch in Pure NumPy

Build a working LoRA fine-tuning loop in pure NumPy, computing every gradient by hand through low-rank adapters. A practical side project that demonstrates real systems understanding to hiring managers.

September 6, 2026 · 12 min · 2463 words · martinuke0
Code editor showing a Python tokenizer implementation with token merges and a vocabulary table.

Build a WordPiece Tokenizer From Scratch: A CV-Worthy NLP Project

Build a production-shaped WordPiece tokenizer in Python with subword merging, BERT special tokens, and a greedy decode path. Includes runnable code, tests, and a roadmap to senior-level extensions.

September 6, 2026 · 12 min · 2489 words · martinuke0
Feedback