Amazon is in talks to buy Decart, the AI startup Anthropic walked away from a month ago →
Learn one thing: Deep research agents
Every edition, preserved as published.
Formerly Signal & Sense.
Every public edition, preserved as it was published.
Learn one thing: Deep research agents
Learn one thing: Budgets and stop conditions for agents
Learn one thing: Token budgeting for long-running agents
Learn one thing: Rate limits, queues, and backpressure
Learn one thing: Batch APIs: trading latency for half-price tokens
Learn one thing: Evaluating RAG: retrieval metrics and faithfulness
Learn one thing: Why LLM outputs aren't reproducible (determinism and sampling randomness)
Learn one thing: Positional encodings and RoPE
Learn one thing: Synthetic training data
Learn one thing: Open weights vs open source: what model licenses actually allow
Learn one thing: Prompt versioning and management
Learn one thing: Semantic caching
Learn one thing: Attention variants: MQA, GQA, and MLA
Learn one thing: Tool outputs are untrusted input
Learn one thing: Code execution as agent action
Learn one thing: Idempotency: making agent actions safe to retry
Learn one thing: Checkpointing and durable execution for agents
Learn one thing: Prefill vs decode: the two phases of LLM inference
Learn one thing: Model file formats (safetensors, GGUF, checkpoints)
Learn one thing: GPUs, VRAM, and whether a model will fit
Learn one thing: Vision-language models (VLMs)
Learn one thing: On-device and edge AI
Learn one thing: LLM routing: sending each request to the right model
Learn one thing: Cascades: cheap-first model pipelines
Learn one thing: Constitutional AI and RLAIF
Learn one thing: Preference tuning: from RLHF to DPO
Learn one thing: Red-teaming AI systems
Learn one thing: Secrets management for AI agents
Learn one thing: Sandboxing agent execution
Learn one thing: The lethal trifecta
Learn one thing: Prompt injection
Learn one thing: Mixture-of-experts models
Learn one thing: Model distillation
Learn one thing: LoRA and parameter-efficient fine-tuning
Learn one thing: Fine-tuning vs prompting vs RAG
Learn one thing: Reasoning models and test-time compute
Learn one thing: Running models locally: llama.cpp, GGUF, Ollama
Learn one thing: Speculative decoding
Learn one thing: Batching, throughput, and latency
Learn one thing: Inference economics: what a token actually costs
Learn one thing: Retries, fallbacks, and graceful degradation
Learn one thing: Tracing and observability for LLM apps
Learn one thing: Guardrails and output validation
Learn one thing: Hallucination: why models make things up
Learn one thing: Reward hacking: when models game the objective
Learn one thing: Benchmarks and contamination
Learn one thing: Evaluating agents: trajectories, not answers
Learn one thing: LLM-as-judge and its pitfalls
Learn one thing: Evals 101: golden sets and regression tests
Learn one thing: Computer-use agents
Learn one thing: How coding agents work
Learn one thing: Human-in-the-loop approval gates
Learn one thing: Sub-agents and context isolation
Learn one thing: Multi-agent orchestration patterns
Learn one thing: Workflows vs agents
Learn one thing: Planning and task decomposition
Learn one thing: The agent harness: the scaffolding around the model
Learn one thing: Context compaction and summarization
Learn one thing: Agent memory architectures
Learn one thing: Agent skills
Learn one thing: Model Context Protocol
Learn one thing: Designing tools agents can actually use
Learn one thing: The ReAct pattern
Learn one thing: Grounding and citations
Learn one thing: Long context vs RAG: lost in the middle
Learn one thing: Retrieval vs agent memory
Learn one thing: Context engineering
Learn one thing: Hybrid search and rerankers
Learn one thing: Vector databases and approximate nearest-neighbor search
Learn one thing: Chunking strategies
Learn one thing: Retrieval-augmented generation
Learn one thing: Streaming and perceived latency
Learn one thing: Prompt caching economics
Learn one thing: Function calling: how tool use actually works
Learn one thing: Structured output and constrained decoding
Learn one thing: Chain-of-thought and reasoning traces
Learn one thing: In-context learning and few-shot prompting
Learn one thing: System prompts and message roles
Learn one thing: Quantization: running big models in small memory
Learn one thing: Base models vs instruction-tuned models
Learn one thing: The KV cache
Learn one thing: Temperature, top-p, and why the same prompt gives different answers
Learn one thing: Attention and the transformer, minus the math
Learn one thing: Embeddings and vector similarity
Learn one thing: Context windows
Learn one thing: Tokens and tokenization
Learn one thing: GRPO (Group Relative Policy Optimization)
Learn one thing: Tool permission boundaries
Learn one thing: LLM model routing
Learn one thing: Agent control loops
Learn one thing
A prerequisite-ordered walk through every explainer we've published.
Explain how text becomes tokens (BPE), and why tokens — not words — drive cost, limits, and odd model behavior.
What a context window is, what happens on overflow, and why "bigger" isn't automatically "better".
Builds on: Tokens and tokenization
Meaning-as-vectors, cosine similarity, and what embeddings are (and aren't) good for.
Builds on: Tokens and tokenization
An intuition for how attention mixes information across tokens and why this architecture won.
Builds on: Tokens and tokenization, Embeddings and vector similarity
How next-token sampling works and how the knobs trade determinism vs creativity.
Why long chats get slow and expensive, and how prefix reuse makes repeated context cheap.
Builds on: Attention and the transformer, minus the math, Context windows
What pretraining produces vs what post-training adds, and why "raw" models behave alien.
What 8-bit/4-bit quantization does, quality tradeoffs, and formats like GGUF.
Builds on: Base models vs instruction-tuned models
How system/user/assistant roles are actually assembled into one token stream, and what system prompts can/can't enforce.
Builds on: Context windows
Why examples in the prompt change behavior without training, and when few-shot beats instructions.
Builds on: System prompts and message roles
Why "thinking out loud" improves accuracy, and what reasoning traces are (and whether to trust them).
Builds on: In-context learning and few-shot prompting
How JSON mode / schema enforcement actually constrain sampling, and failure modes.
Builds on: Temperature, top-p, and why the same prompt gives different answers
The request/response loop behind "the model called a tool" — schemas in, arguments out, results back in-context.
Builds on: Structured output and constrained decoding
How providers price cache reads/writes, and how to structure prompts to exploit it.
Builds on: The KV cache
How token streaming works (SSE), and why time-to-first-token beats total time for UX.
Builds on: Temperature, top-p, and why the same prompt gives different answers
The retrieve-then-generate pattern, what it fixes (freshness, grounding) and what it doesn't.
Builds on: Embeddings and vector similarity, Context windows
Why document splitting quietly decides RAG quality; size/overlap/structure-aware tradeoffs.
Builds on: Retrieval-augmented generation
What an ANN index (e.g. HNSW) does, and when you need a vector DB vs a flat file.
Builds on: Embeddings and vector similarity, Retrieval-augmented generation
Why keyword+vector beats either alone, and what a cross-encoder reranker adds.
Builds on: Vector databases and approximate nearest-neighbor search
Assembling the right context (instructions, retrieval, memory, tools) under a token budget — the discipline replacing "prompt engineering".
Builds on: Retrieval-augmented generation, System prompts and message roles
Contrast querying knowledge with maintaining evolving state across sessions.
Builds on: Context engineering
What degrades in million-token contexts and when stuffing beats retrieving.
Builds on: Context windows, Retrieval-augmented generation
How systems tie claims to sources, and why citation ≠ correctness.
Builds on: Retrieval-augmented generation
Interleaving reasoning and acting, and why this simple pattern still underlies most agent frameworks.
Builds on: Chain-of-thought and reasoning traces, Function calling: how tool use actually works
What makes a tool schema learnable — naming, granularity, error messages as prompts.
What MCP standardizes (servers, tools, resources), and what it deliberately doesn't.
Builds on: Designing tools agents can actually use
Short-term vs long-term memory; files, vectors, and summaries as memory substrates.
Builds on: Retrieval vs agent memory
How agents compress transcript history — summarize-and-replace, tool-result clearing — to keep working past the context limit, and what quietly gets lost.
Builds on: Context engineering, Agent memory architectures
What actually surrounds a model in production — system prompt, tool surface, loop logic, compaction policy, permissions — and why the same model scores wildly differently in different harnesses.
Builds on: The ReAct pattern, Designing tools agents can actually use, Context compaction and summarization
How agents split goals into steps; plan-then-execute vs interleaved planning.
Builds on: The ReAct pattern
When a deterministic pipeline beats an autonomous loop, and the cost of unnecessary autonomy.
Builds on: Planning and task decomposition
Orchestrator-worker, handoffs, debate; what coordination actually buys vs costs.
Builds on: Workflows vs agents
Why spawning a fresh-context worker beats one long transcript; token hygiene.
Builds on: Multi-agent orchestration patterns, Context engineering
Where to put approvals in agent flows; reversible vs irreversible actions.
Builds on: Workflows vs agents
The edit-run-test loop, tests-as-reward, and why coding is agents' best-fit domain.
Builds on: The ReAct pattern, Designing tools agents can actually use
Screenshot-act loops, accessibility trees, and why GUI automation is much harder than API tool use.
Builds on: The ReAct pattern
Building a small labeled set and treating prompts/models like code under test.
Builds on: Structured output and constrained decoding
Using models to grade outputs; position bias, self-preference, calibration against humans.
Builds on: Evals 101: golden sets and regression tests
Judging multi-step runs (tool choices, recovery, cost), not just final text.
Builds on: Evals 101: golden sets and regression tests, The ReAct pattern
Why leaderboard scores mislead — training-data leakage, overfitting, saturation.
Builds on: Evals 101: golden sets and regression tests
Why optimizing a measurable proxy (RL rewards, evals, LLM judges) produces unintended behavior — specification gaming, eval cheating, and agents crossing scope to score well.
Builds on: Evals 101: golden sets and regression tests, LLM-as-judge and its pitfalls
The statistical roots of confident fabrication and what actually reduces it.
Builds on: Temperature, top-p, and why the same prompt gives different answers, Grounding and citations
Layered defenses — schema checks, classifiers, policy filters — and their failure modes.
Builds on: Structured output and constrained decoding, Evals 101: golden sets and regression tests
Spans/traces for prompts and tools; what to log to debug nondeterminism.
Handling provider errors, timeouts, and bad outputs without cascading failure.
Builds on: Tracing and observability for LLM apps
From GPU-hours to per-token pricing; why output tokens cost more; margin structure.
Builds on: The KV cache
Continuous batching and the throughput/latency tension in serving.
Small-model drafting + big-model verification for faster inference at equal quality.
Builds on: Temperature, top-p, and why the same prompt gives different answers, Batching, throughput, and latency
The local stack, its real hardware limits, and when local wins.
Spending inference tokens to think; the new scaling axis and its cost implications.
Builds on: Chain-of-thought and reasoning traces, Inference economics: what a token actually costs
A decision framework for when each is the right tool.
Builds on: Retrieval-augmented generation, Base models vs instruction-tuned models
How low-rank adapters make fine-tuning cheap and swappable.
Builds on: Fine-tuning vs prompting vs RAG
Training small models on big-model outputs; why it works and where it's contested.
Builds on: Base models vs instruction-tuned models
Sparse activation — why "1T parameters" can be cheap to run; active vs total params.
Builds on: Attention and the transformer, minus the math, Inference economics: what a token actually costs
Why untrusted content in context can hijack a model, and why there's no clean fix.
Builds on: System prompts and message roles, Function calling: how tool use actually works
Private-data access + untrusted content + exfiltration channels — the combination that makes agents dangerous, and how removing one leg mitigates.
Builds on: Prompt injection
Containers, VMs, and network egress controls for agent-run code — isolation as the backstop when instructions fail.
Builds on: The lethal trifecta, Designing tools agents can actually use
Keeping credentials out of prompts, logs, and generated code.
Builds on: Sandboxing agent execution
Structured adversarial testing — jailbreaks vs injections, manual vs automated attacks.
Builds on: Prompt injection, Guardrails and output validation
How human preferences become a training signal; why DPO simplified the stack.
Builds on: Base models vs instruction-tuned models
Models critiquing models against written principles; AI feedback replacing human labels.
Builds on: Preference tuning: from RLHF to DPO
Trying a small model first and escalating on low confidence; cost/quality math.
Builds on: Retries, fallbacks, and graceful degradation, Inference economics: what a token actually costs
How routers classify a request's difficulty and dispatch it to a cheap or frontier model, what signals they use (heuristics, classifiers, cascades), and where routing saves cost without hurting quality.
Builds on: Inference economics: what a token actually costs, Cascades: cheap-first model pipelines
What actually runs on phones/laptops (NPUs, small LMs), and the privacy/latency/cost case.
Builds on: Quantization: running big models in small memory, Running models locally: llama.cpp, GGUF, Ollama
How a model 'sees' an image (patches as tokens, projection into the LLM), and what that means for cost, OCR, and screenshot-driven agents.
Builds on: Tokens and tokenization, Embeddings and vector similarity
How parameter count, precision, and context length translate into memory needs, and how to estimate if a model runs on given hardware.
Builds on: Quantization: running big models in small memory, Running models locally: llama.cpp, GGUF, Ollama
What actually lives inside a model file, why safetensors replaced pickle-based checkpoints, and how GGUF ties quantization to loaders like llama.cpp.
Why prompt processing and token generation stress hardware differently, and how that shapes time-to-first-token, throughput, and cost.
Builds on: The KV cache
How long-running agents survive crashes and restarts — persisted state, resumable steps, idempotent effects — and why 'just retry the whole run' breaks once agents take real-world actions.
Builds on: Workflows vs agents, Retries, fallbacks, and graceful degradation
How idempotency keys, effect records, and replay-safe tool design prevent duplicate charges, messages, and writes when an agent retries.
Builds on: Checkpointing and durable execution for agents, Retries, fallbacks, and graceful degradation
Why letting an agent write and run code can beat chaining dozens of tool calls — orchestration in one script, results filtered before hitting context — and the security bill that pattern runs up.
Builds on: Function calling: how tool use actually works, How coding agents work, Sandboxing agent execution
Why search results, files, and API responses can carry prompt injection or malformed data, and how schema checks, provenance, sanitization, and least privilege contain them.
Builds on: Prompt injection, Designing tools agents can actually use, Guardrails and output validation
Why labs replaced full multi-head attention with grouped or latent variants, what each trades off, and how they shrink the KV cache that dominates serving memory.
Builds on: Attention and the transformer, minus the math, The KV cache
Caching LLM responses by embedding similarity (not exact-match) to cut cost and latency, and where it silently returns wrong answers.
Builds on: Embeddings and vector similarity, Prompt caching economics
Why prompts should be versioned artifacts (not buried strings), and how prompt changes tie into evals and rollbacks.
Builds on: System prompts and message roles, Evals 101: golden sets and regression tests
The difference between open weights, open source, and restrictive model licenses, and what each lets a builder legally do.
Builds on: Base models vs instruction-tuned models
Why labs train on model-generated data, where it works (distillation, instruction data) vs where it degrades models, and what "model collapse" actually claims.
Builds on: Base models vs instruction-tuned models, Model distillation
Why transformers need position information, how rotary embeddings encode it, and why RoPE choices govern context-length extension.
Builds on: Attention and the transformer, minus the math, Context windows
Where nondeterminism actually comes from — sampling, floating-point/batching effects, and provider-side changes — and why temperature 0 still isn't a guarantee.
Builds on: Temperature, top-p, and why the same prompt gives different answers
How to measure a RAG system in two layers — did retrieval surface the right chunks (recall/precision), and did the answer stay faithful to them — and why end-to-end vibes hide which layer failed.
Builds on: Retrieval-augmented generation, Evals 101: golden sets and regression tests
How async batch endpoints work (submit, poll, 24h windows), why providers discount them ~50%, and which workloads (evals, backfills, classification) should never run on the realtime API.
Builds on: Inference economics: what a token actually costs, Batching, throughput, and latency
How request and token limits propagate through an AI system, and how bounded queues, admission control, jitter, and load shedding stop retries from becoming an outage.
Builds on: Retries, fallbacks, and graceful degradation, Batching, throughput, and latency
How to allocate a finite context budget across instructions, history, retrieval, tool results, and output while preserving the highest-value evidence.
Builds on: Context engineering, Context compaction and summarization, Inference economics: what a token actually costs
How step, token, time, and money budgets plus loop detection and explicit completion checks prevent agents from running forever or escalating cost without progress.
Builds on: The agent harness: the scaffolding around the model, Evaluating agents: trajectories, not answers, Token budgeting for long-running agents