Skip to content

AI

Agentic Engineering on GitHub: One Ticket Through Plan, Build, Verify, Observe

GitHub says it took in more than 1.2 billion commits in one week this October — up over 400% year on year, and more than all of 20251. Meanwhile Faros AI's telemetry shows median time in PR review up 441.5% when the same teams go from low to high AI adoption2.

Agents made typing free and review expensive. This post walks one real-sized ticket through GitHub's four-stage loop — Plan, Build, Verify, Observe — with the exact commands, files, and settings for each stage, plus the fine print the launch post skips.

LLM Field Guide 01 — How an LLM Reads Text: Next-Token Prediction, Tokens, and Embeddings

An LLM is a function that takes a list of integers and returns a probability for every possible next token, then gets called in a loop. It never sees your text: a tokenizer turns it into IDs, and an embedding table turns those IDs into vectors. Those three pieces (the loop, the tokens, the vectors) decide your bill, your context budget, and a surprising number of the model's "dumb" mistakes.

LLM Field Guide 02 — Inside the Transformer: Position, Attention, and Feed-Forward Layers

Every LLM you'll deploy in 2026 is the same machine: one decoder block, copied 28 to 100+ times, with an embedding table on one end and a vocabulary-sized classifier on the other. Inside each block, attention lets tokens read each other and a feed-forward network rewrites each token on its own, while RoPE tells attention who sits where. Learn the block once and you can read any model's config.json, predict its memory footprint, and say where its 8 billion parameters live.

LLM Field Guide 03 — Training and Generation: Where Weights Come From and How Tokens Get Picked

Every one of an 8B model's 8 billion weights starts as random noise and ends up useful because of one loop: predict the next token, measure the error, nudge every weight a tiny bit, repeat about a million times. At inference time the same model outputs a probability for every token in its vocabulary, and a sampler you configure per request picks one. This post works both halves with real numbers on "The cat sat": logits, loss, gradients, AdamW, the cost of a pretraining run, then temperature, top-p, min-p, constrained decoding, and why temperature=0 still isn't deterministic.

LLM Field Guide 04 — Memory Is the Bottleneck: KV Cache, Attention Variants, and Long Context

The KV cache makes generation fast by never recomputing the past, and it costs memory that grows with every token in flight. On a Llama-3.1-8B-class model, one 128K-token conversation needs about 16 GiB of cache, roughly as much as the weights. Almost every modern attention variant, serving trick, and context-length caveat exists to manage this one cache.

LLM Field Guide 09 — Making It Smaller and Faster: Quantization, Mixture of Experts, and Speculative Decoding

Three tricks make a model cheaper to run without making it dumber: store fewer bits per weight, run fewer weights per token, and produce more tokens per pass. Quantization gets you 2–4× smaller and faster, MoE gets you big-model quality at small-model compute, and speculative decoding gets you 2–3× lower latency with identical outputs. Each one has a catch, and this post shows exactly where it bites.