
One shared ChatGPT link took over the signed-in account
A public ChatGPT share ran attacker JS as the signed-in origin. Parameter's write-up, OpenAI's fix, and a local rebuild...
Nov 1, 2026 · 5 min
Blog
Writing about technology, AI, and software engineering.

A public ChatGPT share ran attacker JS as the signed-in origin. Parameter's write-up, OpenAI's fix, and a local rebuild...
Nov 1, 2026 · 5 min

A tampered Claude Code extension sat on Cursor's marketplace for 11 hours on Oct 29. Which versions are real, what it pl...
Oct 31, 2026 · 7 min

Mistral Large 4's open weights are 1,060.6 GB in FP8 and 610 GB in NVFP4. What fits on one 8-GPU node, KV cache per toke...
Oct 30, 2026 · 8 min

Gemini 4 Carbon will cost $4/$20 per million tokens after its intro price, the same as Opus 5.5. Its implicit-only cache...
Oct 29, 2026 · 7 min

Long-running AI agents lock onto one plan. Four October 2026 studies point to one fix: forget and restart. What it costs...
Oct 26, 2026 · 9 min

Kimi K3.1 Pro lists at half Opus 5.5's price, but cache hits narrow the gap. Session cost math, Moonshot's benchmarks, a...
Oct 24, 2026 · 12 min

Tokens are the chunks of text an AI model reads and bills you for. See how tokenizers split text, why Gujarati costs mor...
Oct 23, 2026 · 14 min

LLM temperature controls how random the next token is. How temperature, top-p and top-k reshape the probabilities, and w...
Explainer · Oct 22, 2026 · 6 min

How to choose an LLM: set hard constraints, test candidates on your own eval set, then compare cost per solved task, not...
Explainer · Oct 20, 2026 · 6 min

The EU AI Act for developers: risk tiers, provider vs deployer, Article 50 transparency, GPAI rules and the AI Omnibus d...
Explainer · Aug 4, 2026 · 9 min

WebAssembly (Wasm) is a portable, sandboxed binary format that runs near native speed in browsers and servers. How it wo...
Explainer · Jun 16, 2026 · 7 min

OpenTelemetry is the open standard for producing traces, metrics and logs and sending them to any backend. How spans, OT...
Explainer · May 26, 2026 · 8 min

An agent harness is the software that turns an LLM into an agent: the loop, tools, permissions, sandbox and context mana...
Explainer · Mar 10, 2026 · 7 min

Harness engineering is the work of building the tools, checks and docs around a coding agent so it can't repeat a mistak...
Explainer · Feb 24, 2026 · 7 min

Agentic engineering is building production software with coding agents that write and run code. How it differs from vibe...
Explainer · Feb 17, 2026 · 8 min

An agent task's time is generation, prefill, tool runs and per-call overhead. A runnable model shows what 1000 tokens pe...
Feb 14, 2026 · 7 min

How to evaluate AI agents: build tasks from real failures, grade outcomes, run several trials and report pass@k and pass...
Explainer · Feb 3, 2026 · 8 min

Constitutional AI trains a model against written principles using AI feedback instead of human harm labels. How critique...
Explainer · Jan 27, 2026 · 7 min

Prompt caching lets an LLM API reuse work on a prompt prefix it has already processed, cutting input cost and latency. H...
Explainer · Jan 20, 2026 · 6 min

A system prompt is text placed before the conversation that sets a model's role and rules. See the raw chat template, it...
Jan 17, 2026 · 8 min

Quantization stores model weights in fewer bits plus a scale. Runnable int8, int4, MXFP4 and NVFP4 code, the memory math...
Jan 11, 2026 · 8 min

An AI agent is a model that calls tools in a loop until a goal is met. A runnable Python loop, what each step costs in t...
Jan 3, 2026 · 8 min

LLM cost per task is each call's tokens times their prices. For agents, cached input dominates. A runnable calculator wi...
Dec 25, 2025 · 8 min

Agent skills are folders with a SKILL.md that agents load in stages. The spec, a runnable demo, and what each stage cost...
Dec 19, 2025 · 8 min

AGENTS.md is a Markdown file of project instructions that coding agents read before they work. What to put in it, how ag...
Explainer · Dec 16, 2025 · 6 min

MCP is an open protocol that lets AI apps find and call tools over JSON-RPC. See the four messages a host sends, with a...
Dec 13, 2025 · 7 min

Sparse attention lets each token attend to a few chosen earlier tokens. How DeepSeek V3.2 does it, why long prompts get...
Dec 4, 2025 · 6 min

Claude Opus 4.5 costs $5/$25 per million tokens and adds a beta effort setting. How effort changes token spend and cost...
Nov 26, 2025 · 5 min

A context window is how many tokens a model handles per request. Gemini 3 Pro takes 1M, but past 200k each token costs d...
Nov 22, 2025 · 5 min

Reasoning models write hidden thinking tokens before answering, billed as output. How GPT-5.1's reasoning effort works,...
Nov 16, 2025 · 5 min

Code execution with MCP lets an agent call tools from code, so definitions and big results stay out of context. How it w...
Nov 7, 2025 · 6 min

Agent sandboxing limits which files an AI agent can touch and which hosts it can reach, enforced by the OS. How Claude C...
Explainer · Nov 4, 2025 · 7 min

Cursor 2.0 runs up to eight agents on one prompt using git worktrees. How worktrees work, a runnable best-of-3 script, a...
Oct 30, 2025 · 5 min

ChatGPT Atlas puts an agent inside your browser. How prompt injection hides in page text, why filtering it fails, and wh...
Oct 24, 2025 · 6 min

Spec-driven development: write a spec before an AI agent writes code, then treat it as the source of truth. How Spec Kit...
Explainer · Sep 30, 2025 · 7 min

LLMs hallucinate because training and benchmarks reward a confident guess over 'I don't know'. Where hallucinations come...
Explainer · Sep 15, 2025 · 6 min

Durable execution records every step of a workflow so it can resume after a crash without redoing work. How replay works...
Explainer · Sep 9, 2025 · 9 min

Why I'm starting fresh with a new blog built on Astro, inspired by Simon Willison's Weblog.
Aug 27, 2025 · 1 min

Subagents are helper agents an AI agent spawns with their own context window, tools and prompt. How they save context, w...
Explainer · Aug 5, 2025 · 6 min

AI agent memory is what an agent keeps outside its context window and reads back later. Short-term vs long-term memory,...
Explainer · Jul 15, 2025 · 7 min

Context engineering is choosing which tokens go into an LLM's context window on each call. Where the term came from, the...
Explainer · Jul 1, 2025 · 7 min

The lethal trifecta: an AI agent with private data, untrusted content and a way to send data out can be made to leak it....
Explainer · Jun 30, 2025 · 8 min

The orchestrator-worker pattern has one LLM break a task into subtasks at runtime, run workers in parallel and merge the...
Explainer · Jun 24, 2025 · 6 min

A multi-agent system splits one task across several LLM agents with separate contexts. When it beats one agent, what it...
Explainer · Jun 17, 2025 · 7 min

An AI coding agent is an LLM in a loop with tools to read code, edit files and run tests until a task is done. How the l...
Explainer · May 20, 2025 · 7 min

Human-in-the-loop AI pauses an agent so a person can approve, edit or reject an action. Where to put the checkpoints, ho...
Explainer · May 13, 2025 · 7 min

Generative engine optimization (GEO) is the practice of making content that AI answer engines retrieve, quote and cite....
Explainer · May 6, 2025 · 8 min

The A2A (Agent2Agent) protocol lets AI agents from different vendors discover each other and delegate tasks. How it work...
Explainer · Apr 22, 2025 · 7 min

The evaluator-optimizer pattern pairs a generator LLM with an evaluator that sends feedback in a loop until the output p...
Explainer · Apr 15, 2025 · 7 min

How to run an LLM locally on a Mac: pick a model that fits unified memory, choose Ollama, llama.cpp, LM Studio or MLX, a...
Explainer · Apr 8, 2025 · 7 min

Mechanistic interpretability reverse-engineers neural networks into features and circuits. Superposition, sparse autoenc...
Explainer · Apr 1, 2025 · 8 min

Text-to-SQL uses an LLM to turn a plain-English question into a SQL query for your database. How it works, the benchmark...
Explainer · Mar 27, 2025 · 6 min

Vibe coding means building software by prompting an AI and accepting its code without reading it. Where the term came fr...
Explainer · Mar 18, 2025 · 7 min

AI agent architectures decide who picks the next step: your code, a plan or the model. Workflows, ReAct, plan-and-execut...
Explainer · Mar 11, 2025 · 7 min

How to choose an embedding model: read MTEB the right way, weigh dimensions, context length and cost, then test on your...
Explainer · Mar 4, 2025 · 7 min

Deep research agents plan a question, search and read in rounds, then write a cited report. How Gemini, OpenAI and Claud...
Explainer · Feb 25, 2025 · 7 min

Agentic RAG puts retrieval inside an agent loop: the model decides when to search, grades results and rewrites queries....
Explainer · Feb 18, 2025 · 7 min

AI guardrails are checks around an LLM call that block, rewrite or route bad inputs, outputs and tool calls. Rail types,...
Explainer · Feb 11, 2025 · 7 min

RLVR trains an LLM with rewards from a program that checks the answer, such as a math checker or unit tests, instead of...
Explainer · Feb 4, 2025 · 7 min

Model distillation trains a small student model to copy a large teacher's outputs, keeping much of its skill at a fracti...
Explainer · Jan 30, 2025 · 7 min

DeepSeek released R1 on 20 January 2025 under MIT, at $0.55 per million input tokens, with 79.8% on AIME 2024. What that...
Review · Jan 20, 2025 · 7 min

Agentic AI means systems that pursue goals over many steps with little supervision. The four dimensions of agenticness a...
Explainer · Jan 14, 2025 · 6 min

How to build an AI agent: a tool registry, a model call, a loop with stop conditions, errors and approvals. One runnable...
Explainer · Jan 7, 2025 · 6 min

A history of large language models, from the 2017 transformer and GPT-3 to reasoning models and agents in 2026, with dat...
Explainer · Dec 30, 2024 · 8 min

AI workflows follow code paths you define; agents let the model choose each step. The five workflow patterns, when an ag...
Explainer · Dec 23, 2024 · 6 min

Platform engineering is building an internal platform, run as a product, so product teams self-serve infra with golden p...
Explainer · Nov 26, 2024 · 8 min

LLM latency is time to first token (TTFT) plus output tokens times inter-token latency. What each metric measures, what...
Explainer · Nov 19, 2024 · 8 min

Open-weight models publish their trained weights but not always the data or code. How that differs from open source AI,...
Explainer · Nov 5, 2024 · 7 min

On 22 October 2024 Anthropic put computer use in public beta. Claude scored 14.9% on OSWorld screenshots. Build around t...
Edutainment · Oct 22, 2024 · 7 min

How much VRAM an LLM needs: parameters times bytes per weight, plus the KV cache for your context. Worked numbers for 8B...
Explainer · Oct 15, 2024 · 7 min

Reciprocal rank fusion (RRF) merges ranked lists by summing 1/(k + rank) for each document. Why k = 60, why it beats add...
Explainer · Oct 8, 2024 · 6 min

Hybrid RAG combines keyword (BM25) and vector search, then fuses the rankings. Why each misses what the other finds, and...
Explainer · Oct 1, 2024 · 7 min

Contextual retrieval prepends an LLM-written note on where each chunk sits in its document before indexing, cutting RAG...
Explainer · Sep 24, 2024 · 7 min

Test-time compute is the work a model does while answering: longer reasoning, more samples, a verifier. How it scales an...
Explainer · Sep 17, 2024 · 6 min

o1-preview launched 12 September 2024. Thinking is billed as output, the chain of thought stays hidden, and the IMO scor...
Edutainment · Sep 12, 2024 · 7 min

SWE-bench tests whether an AI can fix real GitHub issues, graded by the repo's own tests. How grading works, why Verifie...
Explainer · Aug 27, 2024 · 7 min

Structured output forces an LLM's reply to match a JSON schema by masking invalid tokens during decoding. JSON mode vs s...
Explainer · Aug 8, 2024 · 6 min

The CrowdStrike outage of July 19, 2024 crashed 8.5 million Windows PCs. What Channel File 291 did, why it got past test...
Explainer · Aug 7, 2024 · 8 min

Scaling laws predict how an LLM's loss falls as you add parameters, data and compute. What Kaplan and Chinchilla found,...
Explainer · Aug 5, 2024 · 7 min

RAG chunking strategies decide how documents are split before embedding. Fixed-size, recursive, structure-aware and sema...
Explainer · Jul 23, 2024 · 7 min

FlashAttention computes exact attention in tiles that stay in fast GPU SRAM, so the N x N score matrix never hits HBM. H...
Explainer · Jul 18, 2024 · 7 min

RAG vs long context: 1M-token windows can hold a whole corpus, but cost, latency and lost-in-the-middle effects still fa...
Explainer · Jul 16, 2024 · 6 min

GraphRAG builds a knowledge graph and community summaries from your documents so an LLM can answer whole-corpus question...
Explainer · Jul 9, 2024 · 7 min

LLM routing sends each query to the cheapest model likely to answer it well; cascades try a small model first and escala...
Explainer · Jul 2, 2024 · 7 min

Synthetic data is training data written by a model, not people. How LLM labs generate and verify it, why model collapse...
Explainer · Jun 25, 2024 · 7 min

Claude 3.5 Sonnet launched 21 June 2024 at $3 and $15 per million tokens, with Artifacts and a 64% internal coding score...
Review · Jun 21, 2024 · 8 min

Apache Iceberg is an open table format that turns files in object storage into tables with snapshots, ACID commits and t...
Explainer · Jun 18, 2024 · 7 min

LLM benchmarks are fixed test sets that score models on knowledge, reasoning, coding or agents. What the main ones measu...
Explainer · Jun 11, 2024 · 7 min

DuckDB is an in-process SQL database built for analytics: no server, a columnar engine, and direct queries over Parquet...
Explainer · Jun 4, 2024 · 6 min

Multimodal models read images, audio or video next to text. How vision language models turn pixels into tokens, what an...
Explainer · May 28, 2024 · 7 min

ColBERT is a late interaction retriever: one vector per token and a MaxSim score instead of one vector per document. How...
Explainer · May 14, 2024 · 7 min

GPT-4o launched 13 May 2024 at $5 and $15 per million tokens, half of GPT-4 Turbo, with text and vision in the API.
Review · May 13, 2024 · 8 min

Small language models are LLMs of about 1B to 14B parameters that run on a phone or laptop. How they are made, how much...
Explainer · May 7, 2024 · 7 min

Reranking rescores a retriever's shortlist with a cross-encoder that reads the query and each document together. Why it...
Explainer · Apr 9, 2024 · 7 min

The xz backdoor (CVE-2024-3094) hid in xz 5.6.0 and 5.6.1 release tarballs to hook sshd. How it worked, how it was caugh...
Explainer · Apr 2, 2024 · 8 min

LLM-as-a-judge uses a strong model to grade another model's output against a rubric. How it works, its known biases and...
Explainer · Mar 26, 2024 · 7 min

BM25 ranks documents by how often query terms appear, how rare they are and how long the document is. The formula, k1 an...
Explainer · Mar 19, 2024 · 7 min

DPO vs RLHF: DPO trains on preference pairs with one classification loss, no reward model or PPO loop. How the two compa...
Explainer · Feb 27, 2024 · 7 min

Google announced Gemini 1.5 on 15 February 2024 with a 128k default and a 1 million token preview. What the needle test...
Edutainment · Feb 15, 2024 · 7 min

Matryoshka embeddings pack the most useful information into the first dimensions, so you can truncate vectors to cut sto...
Explainer · Feb 13, 2024 · 6 min

Speculative decoding has a small draft model guess several tokens and the big model verify them in one pass. Why the out...
Explainer · Jan 30, 2024 · 8 min

RAG vs fine-tuning: RAG gives a model facts at query time, fine-tuning changes its behavior. What the research says, wha...
Explainer · Jan 16, 2024 · 7 min

Mixture of experts (MoE) routes each token to a few expert networks, so a model can hold 47B parameters but compute with...
Explainer · Jan 9, 2024 · 7 min

How to evaluate RAG: measure retrieval with recall@k, MRR and nDCG, and answers with faithfulness and relevance. The met...
Explainer · Nov 14, 2023 · 7 min

htmx is a small JavaScript library that lets HTML attributes make AJAX requests and swap in HTML from the server. How it...
Explainer · Oct 24, 2023 · 8 min

LoRA fine-tunes an LLM by training two small low-rank matrices per layer while the model stays frozen. QLoRA does it on...
Explainer · Oct 17, 2023 · 8 min

The KV cache stores each token's attention keys and values so an LLM doesn't recompute them per new token. How it works,...
Explainer · Oct 3, 2023 · 7 min

vLLM is an open-source LLM serving engine built on PagedAttention, which stores the KV cache in small blocks like OS pag...
Explainer · Sep 26, 2023 · 8 min

AI red teaming means attacking your own model or LLM app to find harms and security holes before users do. Methods, tool...
Explainer · Sep 12, 2023 · 7 min

Fine-tuning an LLM means training a pretrained model further on your own examples so its weights change. How SFT works,...
Explainer · Sep 5, 2023 · 8 min

pgvector is a Postgres extension that stores embeddings and runs nearest-neighbor search in SQL. Types, operators, HNSW...
Explainer · Aug 22, 2023 · 7 min

RoPE (rotary position embeddings) encodes token position by rotating query and key vectors, so attention sees relative d...
Explainer · Aug 15, 2023 · 7 min

AI jailbreaking tricks a model into ignoring its safety training. Why it works, how it differs from prompt injection, an...
Explainer · Aug 1, 2023 · 7 min

HyDE (hypothetical document embeddings) has an LLM write a fake answer, then searches with its embedding. How HyDE and q...
Explainer · Jul 25, 2023 · 7 min

Meta released Llama 2 on 18 July 2023 in 7B, 13B, and 70B sizes for research and commercial use. The license lines to re...
Review · Jul 18, 2023 · 7 min

HNSW is a layered graph index for approximate nearest neighbor search. How M, ef_construction and ef_search trade recall...
Explainer · Jul 11, 2023 · 8 min

Tool calling lets an LLM ask your code to run a function with JSON arguments. The request and result shapes, error handl...
Explainer · Jun 27, 2023 · 7 min

Cosine similarity scores two embeddings by the angle between them. When it equals the dot product, when Euclidean distan...
Explainer · Jun 20, 2023 · 6 min

On 13 June 2023, GPT-4 and GPT-3.5 Turbo started returning JSON for functions you describe. The schema, the injection ca...
Edutainment · Jun 13, 2023 · 7 min

RAG (retrieval-augmented generation) fetches relevant text from your data and puts it in the prompt so the LLM answers f...
Explainer · Jun 6, 2023 · 7 min

Semantic search finds results by meaning using embeddings, not shared words. How it differs from keyword (BM25) search,...
Explainer · May 23, 2023 · 7 min

A vector database stores embeddings and finds the nearest ones to a query fast. How ANN indexes trade recall for speed,...
Explainer · May 16, 2023 · 7 min

React Server Components render on the server, before bundling, and ship no JavaScript to the browser. How they work, the...
Explainer · May 9, 2023 · 8 min

Prompt injection is when untrusted text in an LLM's context overrides your instructions. Direct vs indirect attacks, why...
Explainer · May 2, 2023 · 8 min

ReAct is the agent pattern where an LLM alternates thoughts, tool actions and observations. What the 2022 paper showed,...
Explainer · Apr 25, 2023 · 6 min

Chain-of-thought prompting asks a model to write its reasoning before the answer. Why it works, when it helps, and how r...
Explainer · Apr 4, 2023 · 6 min

Prompt engineering is writing and testing the instructions you give an LLM. The techniques that still work in 2026, what...
Explainer · Mar 21, 2023 · 7 min

GPT-4 launched 14 March 2023 at $30 per million input tokens for an 8,192 context. What the system card admits, priced a...
Review · Mar 14, 2023 · 8 min

How LLMs are trained: pretraining on trillions of tokens, then supervised fine-tuning, RLHF or DPO, and RL with verifiab...
Explainer · Mar 7, 2023 · 7 min

An SBOM (software bill of materials) lists every component in your software and how it got there. The NTIA fields, SPDX...
Explainer · Feb 28, 2023 · 9 min

Attention lets each token in a transformer weigh every other token. How query, key and value vectors work, why the sqrt(...
Explainer · Feb 21, 2023 · 6 min

Embeddings turn text into vectors of numbers so that similar meanings sit close together. How they are made and compared...
Explainer · Feb 7, 2023 · 7 min

A transformer is the neural network architecture behind modern LLMs. How its layers, attention and feed-forward blocks w...
Explainer · Jan 24, 2023 · 8 min

RLHF trains a reward model on human preference rankings, then tunes an LLM to score well on it without drifting far. The...
Explainer · Jan 17, 2023 · 7 min

A large language model is a neural network trained to predict the next token of text. How LLMs work, what 'large' means,...
Explainer · Jan 10, 2023 · 7 min

Copilot for Business launched 7 December 2022 at $19 per user. What the no-retention clause covers, what the 55% claim m...
Review · Dec 7, 2022 · 8 min

ChatGPT launched 30 November 2022 as a free research preview of a GPT-3.5 model tuned with RLHF. The limits OpenAI print...
Edutainment · Nov 30, 2022 · 7 min

Passkeys replace passwords with a key pair: the private key stays with you, the site keeps only a public key. How WebAut...
Explainer · Oct 11, 2022 · 8 min

Diffusion models generate images by removing noise step by step. How the forward and reverse processes work, with a full...
Explainer · Sep 6, 2022 · 7 min

A CRDT is a data type that copies can edit independently and always merge to the same state. How CRDTs work, why local-f...
Explainer · Jun 14, 2022 · 7 min

eBPF lets you run small, verified programs inside the Linux kernel without writing a kernel module. How the verifier, ma...
Explainer · Mar 15, 2022 · 9 min

Log4Shell (CVE-2021-44228) let attackers run code by getting one string into a Log4j log message. How JNDI lookups cause...
Explainer · Dec 14, 2021 · 7 min