A practical map for building, understanding, and scaling AI agents — from the fundamental loop to multi-agent architectures. The guiding philosophy: start simple, add complexity only when forced, fix one thing at a time.

Foundations

  • Introduce to LLM — the plain-English on-ramp; the 5W of LLMs (what/why/who/when/where + how), four real advantages, seven failure modes, the multiplicative-not-additive view; start here if “LLM” itself is fuzzy
  • Transformer Architecture — the machinery one level down; the nine-step pipeline (tokens → embeddings → position → attention → FFN → residual stream → next-token); what’s shared vs different across GPT/Claude/Gemini/LLaMA; the 2023–2025 convergence (RoPE, RMSNorm, SwiGLU, GQA, MoE)
  • Attention Mechanism — the core sub-mechanism; Q/K/V, scaled dot-product + softmax, causal masking, induction heads, multi-head, quadratic cost, KV cache, GQA
  • Tokenization — step 1; subword pieces, BPE vs SentencePiece, the “strawberry” problem, why tokens are the unit of context cost
  • Post-Training and RLHF — what turns the base next-token predictor into a helpful, safe assistant; SFT → reward model → RL, plus DPO and Constitutional AI; base vs chat models; the prompting → retrieval → fine-tuning ladder (general-knowledge synthesis, Jan 2026)
  • AI Agents - How They Work — the core agentic loop, augmented LLMs, workflows vs. agents
  • Five Workflow Patterns for AI Agents — prompt chaining, routing, parallelisation, orchestrator-workers, evaluator-optimiser

Building

  • Building Your First AI Agent — the formula, design process, five beginner agent types, Anthropic vs. OpenAI
  • Agent Tools - Design Principles — fewer better tools, one job per tool, why descriptions matter more than the tool itself
  • Agent-Computer Interface (ACI) — the engineering discipline on top of tool basics; mistake-proofing, format alignment, the docstring heuristic; why Anthropic spent more time on tools than the system prompt
  • Agent Tools - Practical Starter Kit — concrete tools to build, tiered from datetime/calculator up to action tools; what not to build early
  • Agent Memory — short-term vs. long-term, when you actually need RAG, what not to add early
  • Self-Improving Agent Memory with Hermes and MUSE — four-layer memory architecture combining Hermes’ bounded facts, episodic recall, and governance with MUSE’s per-skill experience and test-gated refinement
  • RAG and Retrieval — the retrieval mechanics behind “when you need RAG”: chunking, embeddings + BM25, Contextual Retrieval, reranking, and the 200k-token rule for skipping it

Operations

  • Human-Agent Interaction Design: reduce latency and context switching through fast check-ins, structured review artifacts, and spoken feedback tied to screen or DOM activity; fewer-agent throughput parity remains unproven.
  • Making Your Agent Reliable — real-world testing, diagnosing failures, the correct order of improvements
  • Multi-Agent Systems — when to actually use multiple agents, the supervisor model, what not to start with
  • Multi-Agent Research System - Production Lessons — Anthropic’s production case study; orchestrator-worker pattern, eight prompting heuristics, 15× token cost, 90.2% performance gain, self-improving tool descriptions
  • Dynamic Workflows in Claude Code — Claude writes its own JavaScript harness on demand to spawn and coordinate subagents; the three single-window failure modes (agentic laziness, self-preferential bias, goal drift), six composable patterns (fan-out-and-synthesize, adversarial verification, tournament, loop-until-done), per-agent model + worktree choice; the feature behind the Workflow tool; trigger with “ultracode”
  • Agent Swarms — orchestrator-worker pushed to horizontal scale; the six building blocks, execution in waves, the Kimi-execution + Claude-planning/verification hybrid, four architecture patterns, the seven non-negotiable guardrails for unattended runs
  • Agentic Coding - Risks and Discipline — booboo compounding, merchants of complexity, low recall, and the case for slowing down
  • Paradox of Supervision — the structural contradiction at the heart of orchestration; effective supervision requires the very coding skills the workflow erodes; Anthropic/MIT/Microsoft evidence on cognitive debt and skill atrophy
  • Cognitive Debt — Margaret-Anne Storey’s named concept; the gap between system structure and shared understanding; lives in developers’ heads, not in code; the mechanism powering the paradox of supervision
  • Orchestration Tax — Addy Osmani’s concurrency-systems frame for the human bottleneck; you are the GIL, Amdahl’s Law on judgement, scale fleet to review rate, five attention-architecture practices, busy vs productive
  • Cognitive Surrender — Addy Osmani via Shaw & Nave (Wharton): the AI’s output silently becomes yours; offloading vs surrender, borrowed confidence (73% wrong-answer acceptance), calibration heuristics + structural anti-surrender moves, mutual amplification vs delegation
  • Comprehension Debt — Addy Osmani: the gap between code that exists and code any human understands; the quality-gate → throughput inversion, why tests and specs aren’t sufficient, the measurement gap, the regulation horizon; Osmani’s code-side framing of Cognitive Debt
  • Don’t Outsource Learning — Addy Osmani: the solo, career-scale version of cognitive surrender; ship vs learn as two separate metrics; when delegation is fine vs the five places it breaks; six prompting posture shifts; the CHI 2026 anchoring study; “did I learn anything today, or did I just close issues?”
  • Intent Debt — Addy Osmani via Storey’s Triple Debt Model (technical / cognitive / intent); the externalized why that an agent can only fabricate; the one debt agents can’t pay down; cold-start agents pay the un-written cost every session; externalize via specs, AGENTS.md-as-ledger, decision logs
  • Verification Bottleneck — Osmani’s umbrella frame: generation got cheap, so a trusted human’s confidence is the rate limiter; “junior generates faster than senior can audit”; invisible to velocity dashboards; the principle beneath review, comprehension/intent debt, and the orchestration tax
  • Lars Faye - Agentic Coding is a Trap — Lars Faye’s synthesis: four structural risks (system complexity, skill atrophy, vendor lock-in, token-cost volatility); the “Ship’s Computer not Data” workflow; the convergent voice with Zechner and Maganti
  • Vibe Coding — Karpathy’s Feb 2025 coinage and its 2026 split into “agentic engineering”; the vibe-coding-to-agentic-engineering spectrum (intent specification / verification / codebase understanding / error handling / scope / risk); why “tests + evals” is the actual dividing line, not prompt sophistication
  • Conductor vs Orchestrator — the two developer postures (real-time in-IDE direction vs. async goal-level delegation) and the tools that fit each; the “80% problem” — agents nail the well-specified majority, the remaining conceptual 20% needs human judgment and looks right at a glance
  • The New SDLC With Vibe Coding — Osmani/Saboo/Kartakis (Google/Kaggle, May 2026): phase-by-phase SDLC compression (uneven — implementation collapses, requirements/architecture/verification stay human-paced), the factory model, harness-mapped-to-SDLC-phase, CapEx/OpEx economics of vibe coding vs. agentic engineering

Evaluation

  • Evaluating AI Agents — canonical synthesis: vocabulary (task/trial/grader/transcript/outcome), three grader types, patterns by agent type, common failure modes, where evals fit (Swiss Cheese model)
  • Eval-Driven Agent Development — Anthropic’s 8-step roadmap from no evals to evals you can trust; start early, balanced sets, transcript reading, eval saturation
  • Capability vs Regression Evals — two question types, two pass-rate targets, how capability evals graduate into regression suites
  • pass@k and pass^k — non-determinism metrics; pass@k (one success in k tries) vs pass^k (success on every one of k tries); when to use each
  • Gold Standard Dataset Workflow — Alexey Grigorev’s solo-builder bootstrapping sequence: vibe-check and log, judge.md alignment via coding assistant, QA-borrowed equivalence partitioning + boundary testing, synthetic data, real users, online evaluation, the multi-judge dimension split
  • Evaluation-First Prompting — the prompt-side discipline; per-prompt success criteria; evaluation packs; feature_list.json as harness contract
  • Error Analysis for AI Evals: Hamel Husain and Shreya Shankar’s method; read real traces first, one domain expert decides, binary judges validated on held out labels; flags where it disagrees with eval first development
  • AI Evals for Product Teams: Teresa Torres on running the same loop as a product manager; define good yourself, pick code, golden dataset, judge or customer signal per error, then baseline and experiment

Agent Design Philosophy

  • Pi Durable: experimental application framework separate from Pi’s terminal agent; checkpointed tasks, recoverable conversations, typed documents, and multiplayer steering.
  • Durable Tool Execution: the boundary between submission deduplication, crash recovery, and business-effect idempotency; safe replay, ambiguous outcomes, and compensation.
  • Agent Harness — the runtime scaffolding (loop + tools + context + I/O + providers) that turns an LLM into an agent; what every coding agent has in common
  • 12-Factor Agents — Dex Horthy / HumanLayer’s twelve production principles; the engineering-checklist counterpart to Anthropic’s architecture taxonomy; “good agents are mostly deterministic software with LLM steps at the right points”; the 70-80% framework wall
  • Agent State and Resumability — factors 5/6/12 as one idea: the run’s state is one serializable thread; debugging, forking, recovery and audit fall out of it; the pause-between-tool-selection-and-invocation gap
  • Human-in-the-Loop as a Tool Call — factor 7; “ask a human” as a structured output; the inner-loop → outer-loop inversion that lets an agent be triggered by a cron and still get approval
  • Pi vs Claude Code - Scored Against the 12 Factors — the rubric applied to both harnesses; Pi wins 2/3/4/5/12 (own the prompt, the context, the state), Claude Code wins 6/7/10/11 (pause, approve, scope, trigger); “Pi is a harness, Claude Code is a platform” restated as a scorecard
  • Harness Engineering — the named discipline of designing, tightening, and pruning the harness over time; coined by @Vtrivedy10, synthesised by Osmani; the Ratchet, working backwards from behavior, harnesses-don’t-shrink-they-move, HaaS, the convergence observation
  • The Ratchet - Every Mistake Becomes a Rule — the central practice of harness engineering; every line in a good system prompt traces back to a specific historical failure; constraints earn their way in through observed failure and out when models render them redundant
  • AGENTS.md as a Neural Net — Kun Chen’s operational backward pass: train project instruction files from batched transcript evidence, within a token budget, with human approval
  • Coding Agent Harnesses - 2026 Landscape — market report on the top 5 commercial harnesses; deep features, real case studies (Anthropic 300 PRs/month, OpenAI 1M LOC in 5 months, Visma productivity doubled, Samsung beta on Cline), trends, predictions, payments-industry recommendations
  • Harness Engineering at OpenAI — the OpenAI case study; 1M LOC in 5 months with 0 manually-written code; six load-bearing patterns (repo as system of record, agent legibility, layered architecture, custom lints with remediation, per-worktree app+observability, golden principles + GC)
  • Agent Legibility — “what Codex can’t see doesn’t exist”; the scope-of-knowledge principle; three legibility tiers (always-attached / on-demand / tools-and-runtime); pairs with Agent-Friendly Codebase (navigation) but covers a different axis (scope)
  • Layered Domain Architecture for AI Agents — Types→Config→Repo→Service→Runtime→UI with Providers as cross-cutting interface; mechanically enforced; the architecture you postpone for humans becomes a prerequisite for agents
  • Golden Principles and Garbage Collection — opinionated mechanical rules + recurring background agents that auto-merge refactor PRs; OpenAI’s replacement for “AI slop Fridays”; pay technical debt continuously
  • Self-Extending Agents — agents that build their own tools; the minimal core + self-extension model; Pi as reference implementation
  • Bounded Cognition — Matt Williams’s cognitive-science grounding for why context is a fixed attention budget; working memory holds ~4 chunks (not 7), attention is a narrow beam that misses a gorilla in plain sight, and LLM context windows fail the identical way (“Lost in the Middle”); good engineering (naming, boundaries, tests, undo) is what externalizes the fragile mind into durable structure
  • Context Engineering — controlling what enters the model’s context; the primary lever for agent quality; observability as prerequisite
  • Context Engineering in Claude Code — the practitioner playbook applying the above to Claude Code; layered CLAUDE.md (personal/project/module), @-file references, /compact preserve:, plan-first reading + hooks, subagent context isolation, the 30-minute starter
  • Long-Running Agents — umbrella: three definitions (long-horizon reasoning / long-running execution / persistent agency), three walls (finite context / no persistent state / no self-verification), the convergent architecture across labs
  • Long-Running Agents - Initializer + Coding Pattern — Anthropic’s blueprint for multi-context-window work; initializer + coding agent; init.sh + claude-progress.txt + feature_list.json + git as the durable backbone
  • Brain Hands Session Split — Anthropic’s Managed Agents architecture; independently replaceable model-loop / sandbox / append-only event log; sandboxes as cattle-not-pets; ~60% p50 / 90%+ p95 time-to-first-token improvement
  • Cursor Planner Worker Judge — Cursor’s three-role architecture; planners explore + emit tasks, workers execute, judges decide done; model-per-role matching; background cloud agents on git worktrees
  • Gemini Enterprise Agent Platform — Google’s productised long-running stack (Cloud Next ‘26): Agent Runtime, Sessions, Memory Bank, Sandbox, Identity, Gateway, Registry, Observability
  • Cloud Agent Infrastructure — what the platform must rebuild when an agent moves off the laptop; four load-bearing properties (frozen state / hot-swappable runner / host-side credentials / one pipeline); the ownership-cadence diagnostic; assume-the-sandbox-is-compromised security stance (CREAO)
  • Claude Code Automation Stack — the productized user-facing version of the above; three-tier ladder (/loop+cron → Desktop tasks → cloud Routines); schedule/API/GitHub triggers as the “one pipeline, many triggers” pattern; Auto Mode permission classifier; compose with Skills + Dynamic Workflows
  • Loop Engineering — Osmani’s name for the leverage shift: design the system that prompts the agent instead of prompting it yourself; five pieces (automations, worktrees, skills, connectors, sub-agents) + memory-on-disk, mapped identically across Claude Code and Codex; /loop vs /goal (separate checker model); maker/checker split; the three failure modes a smooth loop sharpens; “build the loop, stay the engineer”
  • Ralph Loop — the simplest practitioner version: bash for loop + prd.json + progress.txt; state lives outside the agent; the canonical “are you really done?” re-prompt
  • Five Patterns for Long-Running Agents in Production — Osmani + Saboo’s catalog: checkpoint-and-resume, delegated approval, memory-layered context, ambient processing, fleet orchestration
  • Writing Specs for AI Coding Agents — Osmani’s five-principle framework: high-level vision; PRD structure; modular prompts; self-checks + three-tier boundaries; iterate the spec
  • Spec-Driven Development: GitHub Spec Kit’s four-phase gated workflow; review checkpoints, not a guarantee of correct requirements or implementation.
  • A Sufficiently Detailed Spec Is Code: Gabriella Gonzalez’s counter-position; specification still demands engineering precision, detailed prose can yield broken code, and a spec stage does not automatically create thoughtfulness. Read alongside the two spec-writing pages above.
  • Software Factory: David Zhang’s shift from inspecting source code to inspecting intent and behavior; Gonzalez’s critique adds the unresolved cost of making the intent surface trustworthy.
  • AGENTS.md Six Core Areas — GitHub’s 2,500-file study findings: commands / testing / project structure / code style / git workflow / boundaries; the three-tier (Always / Ask first / Never) boundary system
  • Curse of Instructions — documented LLM failure mode: adherence drops sharply as constraint count grows; the load-bearing reason every framework converges on modularity
  • Writing Conflict-Free Instructions — how the LLM resolves contradictions in its context (recency, specificity, repetition, position); conditional rules and explicit precedence as the fix
  • AI Style Guide — Every’s method for making a model write in your voice: seven-part guide, three levels from pasted note to skill, interview-based building; a context file for prose, with a tension against instruction overload
  • Personal Agent Operating Rules — Hamza Khalid’s build-ordered rulebook for a personal agent (85 rules plus a ranked 15); Constitution over system prompt, freshness lines, trigger phrases and NOT FOR clauses, reversibility-based autonomy ladder, hooks over prompts; self-reported, with a tension against instruction overload
  • Goal-First Agent Automation — poteto’s non-technical method: give the agent a goal to own, brain-dump the process by voice, make it restate before acting, connect feedback data and triggers; a product pitch with no safety or results
  • Context Systems and Agent Factories — Notion’s guide to team-scale AI: a governed shared context system (ontology, sync-in, permissions, validation) plus shared, specific, scrutinized agent “factories”; shadow runs, prompt versions and evals; a vendor pitch with no results and thin security treatment
  • Knowledge Factory — Harrison Chase’s learning loop: agents flag missing or wrong knowledge, a background curator agent updates skills, domain knowledge and data access guidance; context versus knowledge; keep pointers to data, not copies; vendor article, no approval or rollback story for the curator
  • Agent Platform Blueprint — John Suh’s “agentic OS” checklist: agents as isolated actors, N agents on M computers, RBAC-ed shared filesystem, session versus conversation, inbox of approvals, self-built listeners, code-defined durable workflows, apps as clonable artifacts; garden instead of factory; vision post with no evidence, security thin
  • CLI Tools Pattern — Bash/CLI scripts + README as a lightweight, token-efficient agent tool interface
  • CLI Design for AI Agents — seven principles for agent-friendly CLIs: non-interactive, structured output, actionable errors, safe retries, progressive help, composability, bounded responses
  • Pi (Coding Agent): Pi 1.0’s minimal terminal harness; four core coding operations plus native MCP/Codemode, virtual models, deferred loading, transcript-aware changes, and a full-screen default. Distinct from Pi Durable.
  • Pi MCP Reversal and Its Original Design: why Pi ended its no MCP stance and how that squares with its original principles; what to keep from the reasoning
  • Prewalk Model Handoff: hand a cheaper model the frontier model’s context up to the first edit instead of a plan; promising numbers from one benchmark, not battle tested
  • Vienna School of Agentic Coding — the loose Vienna-connected collective (Zechner, Ronacher, Steinberger) that converged on minimal agentic design
  • Earendil — the company housing Pi; building agent-powered consumer products

Local Inference

  • Local Models - Focus and Polish — why local models need end-to-end polish, not just runnability; the fragmentation problem; ds4.c as deliberately narrow bet; pi-ds4 as zero-config Pi extension

Personal AI (Compounding Systems)

  • Role, Tools, Trigger, Output — the non-coder on-ramp to automation; the four-part anatomy (role + tools + trigger + output) that turns Claude from a chat you ask into a worker that acts; “the chat answers, the automation acts”; build-in-five-steps; a recipe catalogue (briefing, trend scout, repurpose, lead qualifier…); the consumer-app counterpart to Claude Code Automation Stack
  • Fat Skills Fat Code Thin Harness — Garry Tan’s architecture for personal AI; thin harness routes, fat skills/data/code carry the value, the model is interchangeable; five definitions; YC Startup School worked example
  • Model Tier Routing — three-tier team roster (workhorse / specialist / grunt); the 100x cost-of-wrong-answer routing rule; why the workhorse tier is sufficient for 90% of production work
  • Latent vs Deterministic — the design line at the centre of the architecture; latent space is where intelligence lives, deterministic is where trust lives; 8 vs 800 dinner-seating example
  • Diarization — the synthesis pattern that makes AI useful for knowledge work; structured profile from many documents; what RAG was supposed to deliver and didn’t
  • Resolvers — the routing/governance layer; intent → skill → context dispatch; three failure modes (misfiling drift, invisible-skill problem, context rot); five-step pattern; management metaphor (skills = employees, resolver = org chart)
  • Skillify - Meta-Skill Pattern — meta-skill that produces new skills; skills-as-method-calls; turns one-off workflows into reusable, composable skills
  • Book Mirror Pattern — applying a book to one’s actual life via the personal knowledge graph; two-column synthesis with cited brain pages
  • GBrain - Personal Knowledge Graph — Tan’s 100,000-page structured personal Wikipedia; compiled-truth + append-only timeline + raw sidecars; entity propagation
  • Cross-Modal Evaluation — running output through multiple model families (Opus/GPT/DeepSeek) for precision/recall/genericness; pre-storage quality gate

Real-World Adoption

  • AI Agents - Real-World Adoption and Use Cases — who is using agents, for what, adoption stats (2025-2026), tiered use cases, what doesn’t work yet
  • Agentic Data Analytics — Anthropic’s production self-service analytics case study; “data is not software”; three failure modes (entity ambiguity / staleness / retrieval); the four-layer stack (foundations → sources of truth → skills → validation); skills 21%→95%; the null result that the bottleneck is structure, not access; the most actionable agent case study here for a PM
  • Making Your Data Ready for Agentic AI — the architecture before an enterprise agent can be trusted to act: five properties (trusted / contextual / traceable / governed / operational), contracts + quarantine + Gold-only access, the domain/semantic/capability context layer, agentic lineage, staged autonomy, and “retrieved text informs; it never authorizes”
  • PRINCE - Production Agentic RAG at Bayer — Thoughtworks/Bayer production agentic RAG in a regulated domain; the three reflection loops (process / data / draft); context discipline (route context, don’t accumulate); hybrid RAG + Text-to-SQL pipeline; harness reliability (LangGraph state persistence, retries, LLM fallbacks); trust via page+quote citations and two-tier evals; the regulated-industry sibling to Agentic Data Analytics
  • Agent Fleet for Business Automation — nifinet’s “zero devs, 14 agents, $400/mo” playbook; the two-budgets thesis; connection-layer-first (provider abstraction for business tools); six build steps; confident-fiction / cold-start / silent-death failure modes; two-tier self-improvement; the build guide for Solo AI Agency
  • Hermes Agent — open-source agent runtime (Nous Research); skills + cron + gateway + cross-run FTS5 memory; the self-hosted sibling to Claude Code Routines

Working with AI Coding Agents (Practitioner Reflections)

  • Building syntaqlite - Eight Years of Wanting, Three Months with AI — Lalit Maganti’s three-month case study; vibe-coding failure mode, the rewrite, what AI made possible beyond speed, the costs (addiction, losing the codebase, no sense of time)
  • AI Coding Relativity - Local vs Global — when AI helps and when it hurts; two axes (depth of understanding × objective checkability); architecture is not stitched local correctness
  • Lars Faye - Agentic Coding is a Trap — Lars Faye’s case against the orchestration default; cognitive debt, paradox of supervision, vendor lock-in, “Ship’s Computer not Data” workflow
  • AI Pressure on Open Source — Armin Ronacher’s diagnosis from inside the Pi tracker: slop issues priming agents wrongly, the “make bad state impossible” code principle, 90-day volume numbers (8% PR acceptance, ~26% issue influence), and why local-only workarounds fragment open source
  • The Coming Loop — Ronacher’s philosophical reckoning with harness loops (June 2026): where loops work (porting, perf, security) vs where they erode comprehension; software as organism; machine dependency; you can’t opt out; Pi’s cautious philosophy; the real question is how to loop without abdicating judgment
  • Modern Engineering Values — Christoph Nakazawa (cpojer): when agents write 90–100% of your code, the values barely change and the bottleneck moves to judgement; six values (strong ownership, taste, strict guardrails, context-in-repo, own your stack, option value); the agent-as-context-less-new-hire frame; force-a-failing-test; push-to-main; 770 commits / 15k lines a day
  • Agentic Code Review — Osmani’s capstone: review is now the most leveraged skill in software; the four-source 2026 data (Faros zero-review-merges +31%, GitClear 4× code/12% value, CodeRabbit 1.7× issues, GitHub 60M reviews); blast radius as the organizing variable (solo / dangerous middle / large org); review as reconstructing lost intent; run two heterogeneous reviewers (the 93.4%-caught-by-one-of-four result); human on the loop not in it; the what-to-do checklist (tier by risk, raise the intake bar, read test changes first, CI as the wall, a human owns the merge); ties together Comprehension Debt, Cognitive Surrender, Orchestration Tax, Loop Engineering
  • Claude Code Team Code Review — the inside case study (Osmani, now on the Claude Code team): seven layers, risk tiers set by the change, agent approvals never count, approvals bound to a commit, incidents as the eval, review must converge (three-cycle cap); conflicts with “run two heterogeneous reviewers”
  • Claude Code Team Verification Practices — verification loops are what let you run many agents: E2E first, property and differential tests, a verify skill, diff-triggered reliability checklist, checks out of reach of the change, observe-mode gates, filtered and pruned rules
  • Critical Thinking with Agents — Osmani’s practical follow-up to Cognitive Surrender: offloading, deferral, surrender; hypothesis before asking; what the green check did not prove; read the agent’s decisions; accountability stays with you
  • Own Your Stack — Nakazawa’s dependency philosophy: agents flip the math behind heavy third-party deps; every dependency is code/architecture you own anyway; own core product pieces if you realistically can
  • Coding Harness as IDE — Mickey Petersen (Mastering Emacs) on DreamCoder: harnesses all look alike, so build a human-centric IDE with tiling panes, workspaces and a per-workspace minimap showing which agent is working or blocked; history of Lisp, the Advice Taker and Emacs advice as the case for bendable tools; taste is the scarce resource; maker’s launch post, no numbers

Security

  • Agent Security and Threat Model — the lethal trifecta (private data + untrusted content + external comms), why prompt injection has no reliable fix, the Agents Rule of Two, and Anthropic’s five trustworthy-agent principles; the threat model to run on any internal agent

Sources

  • Pi 1.0: October 1, 2026 release; current feature and MIT-license anchor, superseding the historical no-MCP and scrollback-only assumptions.
  • “You Said No MCP!”: September 29, 2026 post on why Pi now supports MCP and what codemode is.
  • AI Evals: Everything You Need to Know: the 60 question AI evals FAQ (Husain and Shankar, September 2026); basis for the error analysis page.
  • AI Evals: A Hands-On Guide for Product Teams: Teresa Torres’s evals guide for product teams (September 2026).
  • You only need the frontier model for one single edit: Stencil’s /prewalk post (July 2026); source for the prewalk page.
  • Pi Durable: Earendil Engineering’s October 1, 2026 announcement; full technical tour and examples, with explicit experimental API status.
  • ETOOMANYTHINGS? Run Fewer Agents: ETOOMANYTHINGS? Run Fewer Agents (Josh Bleecher Snyder, exe.dev, 2026-10-01); attention-first interface experiments rather than more task-management machinery.
  • Introduce to LLM — “Introduce to LLM” (training course/deck, two slides); four real advantages, seven failure modes, the multiplicative-not-additive PM view; uses “PI” (= Pi (Coding Agent)) and a fictional Orbit Engineering
  • How LLMs Actually Work — “How LLMs Actually Work” (0xkato, 0xkato.xyz, 2026); math-light transformer walkthrough; the nine-step pipeline, RoPE / “lost in the middle,” induction heads, KV cache + GQA, FFN as fact storage + ROME + MoE, residual stream + pre-norm/RMSNorm, speculative decoding, the modern-transformer convergence
  • What Changes When an Agent Moves to the Cloud — “What Changes When an Agent Moves to the Cloud” (@intuitiveml / CREAO, Twitter/X, 2026); the desktop assumptions that break in the cloud; frozen snapshot + hot-swap runner; API bridge + IP allowlist + per-run JWT; one executeAgent for all triggers
  • The 14-Step Roadmap to the Claude Code Automation Stack — “The 14-Step Roadmap to the Claude Code Automation Stack” (@0xcodez, Twitter/X, June 2026); the three-tier ladder (/loop+cron → Desktop scheduled tasks → cloud Routines); /goal stop conditions; token-budget + permission discipline for unattended runs; Auto Mode (93%/7%); schedule/API/GitHub-triggered Routines; Skills + Workflows composition
  • The Context Engineering System the Claude Code Team Runs — “The Context Engineering System the Claude Code Team Runs” (@zodchiii, Twitter/X, June 2026); 6 patterns / 13 steps for controlling what enters a Claude Code session; layered CLAUDE.md, @-file references, /compact preserve:, plan mode + hooks, subagent isolation; some commands (/focus, /stats) unverified
  • Building Effective Agents — canonical source: “Building Effective Agents” (Schluntz & Zhang, Anthropic, December 2024); workflow patterns, augmented LLM, the ACI principle
  • How we built our multi-agent research system — “How we built our multi-agent research system” (Hadfield et al., Anthropic, June 2025); production case study; orchestrator-worker, eight prompting heuristics, evaluation, reliability
  • A harness for every task: dynamic workflows in Claude Code — “A harness for every task: dynamic workflows in Claude Code” (Thariq Shihipar & Sid Bidasaria, Anthropic, also on the Claude Blog, 2026); the primary source for the Workflow feature; three failure modes, six patterns, ten use cases, when-not-to-use, save/share via skills
  • How to Build AI Agent Swarms (Complete Guide) — “How to Build AI Agent Swarms” (@Av1dlive, Twitter/X, 2026); heavy Kimi K2.6 promotional lean (vendor stats unverified); the transferable parts are the six building blocks, the Kimi × Claude hybrid, and the seven guardrails
  • Effective context engineering for AI agents — canonical source on context engineering: “Effective context engineering for AI agents” (Rajasekaran, Dixon, Ryan, Hadfield, Anthropic, Sept 2025); attention budget, context rot, system prompt altitude, just-in-time retrieval, compaction / note-taking / sub-agents
  • Building long-running agents — “Building long-running agents” (Justin Young, Anthropic, 2025); the initializer + coding agent pattern; the four artifacts (init.sh, claude-progress.txt, feature_list.json, git history); claude.ai-clone case study with 200+ features
  • How to evaluate AI agents — canonical source on agent evaluation: “How to evaluate AI agents” (Grace, Hadfield, Olivares, De Jonghe, Anthropic, 2026); vocabulary, grader types, agent-type patterns, pass@k/pass^k, the 8-step roadmap, Swiss Cheese model
  • How to Do Evals in 2026 — “How to Do Evals in 2026” (Alexey Grigorev, AI Shipping Blog, 2026-08); the solo-builder eval bootstrapping sequence: vibe-check and log, judge.md alignment, equivalence partitioning + boundary testing, synthetic data, real users, online evaluation, multi-judge dimensions
  • AI Agents — A Full Course for Anyone to Build Their First Agent — full practical guide compiled from Anthropic, OpenAI, and expert sources
  • Thoughts on Slowing the F*** Down — critical essay on agentic coding in production (2026)
  • Pi: The Minimal Agent Within OpenClaw — firsthand account of Pi’s design and the self-extension philosophy (2026)
  • Long-Running AI Agents — “Long-Running AI Agents” (Addy Osmani, 2026); cross-lab survey (Anthropic / Cursor / Google), the Ralph loop, five production patterns, the convergent brain/hands/session architecture
  • Writing Effective Specs for AI Coding Agents — “Writing Effective Specs for AI Coding Agents” (Addy Osmani, 2026); five-principle spec-writing framework integrating the GitHub 2,500-AGENTS.md study, GitHub Spec Kit, and Willison’s vibe-engineering posts
  • A sufficiently detailed spec is code: A sufficiently detailed spec is code (Gabriella Gonzalez, Haskell for all, 2026-03-17); specification-cost critique, Symphony/Haskell reported failure, and the distinction between deliberate design and specification-shaped output.
  • Eight years of wanting, three months of building with AI — Lalit Maganti’s reflective post on building syntaqlite over three months with Claude Code (April 2026)
  • Harness Engineering at OpenAI — Building a 1M-LOC Product with Codex — “Harness Engineering at OpenAI” (OpenAI Codex team, 2026); the primary-source case study for the harness-engineering discipline; 1M LOC in 5 months with 0 manually-written code; named six load-bearing patterns
  • 12-Factor Agents — Principles for Building Reliable LLM Applications — “12-Factor Agents” (Dex Horthy / HumanLayer, April 2025) — twelve principles for production LLM software, in the spirit of the 12 Factor App; captured in full (README + all twelve factor pages)
  • Agent Harness Engineering — “Agent Harness Engineering” (Addy Osmani, 2026-05-10); the synthesis post that names the discipline; pulls together Trivedy’s coinage, HumanLayer’s “skill issue” reframe, the Ratchet, working-backwards design, training feedback loop, HaaS shift, convergence observation
  • Your AGENTS.md is a Neural Net — “Your AGENTS.md is a Neural Net” (Kun Chen, 2026-08-23); project instruction files as behavioral weights; transcript-based backward pass; batching, small edits, token budgets, skills as release valve, and human approval via backpass
  • Pushing Local Models With Focus And Polish — “Pushing Local Models With Focus And Polish” (Armin Ronacher, lucumr.pocoo.org, 2026-05-08); the case for polish over breadth in local inference; ds4.c and pi-ds4
  • Meta-Meta-Prompting: The Secret to Making AI Agents Work — “Meta-Meta-Prompting” (Garry Tan, 2026-05-09); the personal-AI manifesto; thin harness + fat skills/code/data; skillify, book-mirror, brain pages, cross-modal eval; the GBrain / OpenClaw / Hermes Agent open-source stack
  • Thin Harness, Fat Skills — “Thin Harness, Fat Skills” (Garry Tan, April 2026); the foundational article in the series; five definitions (skill files / harness / resolvers / latent vs deterministic / diarization); three-layer architecture; YC Startup School matching system worked example; the 20K-line CLAUDE.md anti-pattern; “if I have to ask you for something twice, you failed”
  • Resolvers: The Routing Table for Intelligence — “Resolvers: The Routing Table for Intelligence” (Garry Tan, 2026-04-15); the second article; three failure modes (misfiling drift, invisible-skill problem, context rot), five-step working pattern, management metaphor, fractal resolvers (skill / filing / context)
  • How to really stop your agents from making the same mistakes — “How to really stop your agents from making the same mistakes” / The Skillify Manifesto (Garry Tan, 2026-04-22); the 10-step skillify checklist that turns every agent failure into a permanent skill with tests; LangChain “$160M, gym membership without a workout plan” critique; two concrete failure examples; “every failure becomes a skill, every skill has evals, every eval runs daily”
  • Lars Faye — Agentic Coding is a Trap — “Agentic Coding is a Trap” (Lars Faye, 2026); the case against the orchestration default; cognitive debt, paradox of supervision, vendor lock-in, “Ship’s Computer not Data” workflow; assembles Anthropic / MIT / Microsoft evidence
  • Simon Willison — Cognitive Debt (link-blog post) — Simon Willison’s link-blog post (2026-02-15) endorsing Storey’s framing; source of the “no firm mental model” quote
  • Margaret-Anne Storey — What I’m Hearing About Cognitive Debt (So Far) — Margaret-Anne Storey’s synthesis (2026-02-18); the academic anchor for Cognitive Debt; distributed theory of the system; mitigation practices
  • Anthropic — How AI assistance impacts the formation of coding skills — Anthropic RCT (Shen & Tamkin, 2026); 52 engineers, 17pp mastery gap (50% vs 67%) with largest drop on debugging; six interaction-pattern clusters; iterative AI debugging averaged 24%
  • Anthropic — How AI Is Transforming Work at Anthropic — Anthropic internal mixed-methods study (Huang et al., 2025-12-02); 132 surveys + 53 interviews + 200K Claude Code transcripts; primary source of “paradox of supervision”; Claude in 59% of work, +50% self-reported productivity, “fully delegate” capped at 0-20% for most engineers
  • Building Pi With Pi — “Building Pi With Pi” (Armin Ronacher, lucumr.pocoo.org, 2026-05-24); dogfooding Pi to maintain Pi; slop issues as agent-priming, the make-bad-state-impossible code principle, 90-day tracker numbers, the .pi folder workflow (/is, prompt-url-widget, /wr), and the collaboration argument against isolated human+machine work
  • The Coming Loop — “The Coming Loop” (Armin Ronacher, lucumr.pocoo.org, 2026-06-23); harness loops philosophical essay; agent loop vs harness loop; where loops work; software as organism; machine dependency; opting out is not an option; Pi’s cautious stance
  • The Orchestration Tax — “The Orchestration Tax” (Addy Osmani, 2026); the human as the single serial component in a concurrent agent system; GIL / Amdahl’s Law framing; scale-to-review-rate, sort-the-work, batch-reviews, lock-on-judgement, protect-serial-time; busy ≠ productive; orchestration tax left unpaid accumulates technical + cognitive debt
  • Announcing DreamCoder — “Announcing DreamCoder” (Mickey Petersen, Mastering Emacs, late 2026); harness as IDE, AI and Emacs history, local models
  • Agent platform of 2027 — “Agent platform of 2027” (John Suh, X, 2026-11-22); nine platform building blocks, vertical SaaS as configured platform
  • How the Claude Code team does code review, Critical thinking when agents do the work, How the Claude Code team thinks about verification — Osmani’s three X Articles from inside the Claude Code team (2026-10-26, 2026-11-03, 2026-11-17)
  • Cognitive Surrender — “Cognitive Surrender” (Addy Osmani, 2026); offloading vs surrender (Shaw & Nave, Wharton); borrowed confidence (73% wrong-answer acceptance, confidence rises even when wrong); where surrender hides in coding (diff-ratifying, blind debugging, design calls, learning); calibration heuristics + structural anti-surrender moves (verification exit criteria, anti-rationalization tables, small PRs, friction by design); mutual amplification vs delegation
  • How Anthropic Enables Self-Service Data Analytics with Claude — “How Anthropic Enables Self-Service Data Analytics with Claude” (Anthropic Data Science/Eng team, claude.com, 2026); 95% of queries automated at ~95% accuracy; data-is-not-software; three failure modes; the four-layer stack; skills 21%→95%; the structure-not-access ablation; offline evals / ablation / online validation; provenance footer; correction-harvesting agent; skill skeletons in the appendix
  • We Hired Zero Developers and Run 14 Agents Instead — “We Hired Zero Developers and Run 14 Agents Instead” (@nifinet/Sortlist, Twitter/X, 2026); the two-budgets thesis; six-step business-automation fleet on Hermes Agent; connection-layer-first; per-skill memory; two-tier self-tuning; make-failure-loud
  • Comprehension Debt — “Comprehension Debt” (Addy Osmani, 2026); the gap between code that exists and code any human understands; AI generates faster than humans can evaluate; the quality-gate → throughput inversion (junior generates faster than senior can audit); tests-not-sufficient and specs-not-sufficient arguments; the measurement gap (velocity/DORA/coverage all blind to it); the redistribution toward system-context engineers; the regulation horizon
  • Loop Engineering — “Loop Engineering” (Addy Osmani, Substack, 2026-06-08); the leverage point moves from prompting to designing loops (Steinberger / Cherny quotes); the five pieces + memory mapped across Claude Code and Codex; /loop (cadence) vs /goal (verifiable stop condition checked by a separate model); maker/checker split; the worked daily-loop example; the three failure modes a smooth loop sharpens (verification, comprehension debt, cognitive surrender)
  • Don’t Outsource Learning — “Don’t Outsource Learning” (Addy Osmani, 2026); the solo version of cognitive surrender; ship vs learn as two metrics; the converging studies (Anthropic RCT, MIT Your Brain on ChatGPT, CHI 2026 anchoring); tools default to shipping not teaching; Learning Mode misfiled “for students”; five places delegation breaks; six prompting posture shifts
  • Modern Engineering Values — “Modern Engineering Values” (Christoph Nakazawa / cpojer, cpojer.net, 2026); the solo/small-team view of agent-era engineering; six values, the Codex CLI workflow, force-a-failing-test, push-to-main, management gets more technical, the 770-commits/15k-lines-a-day numbers
  • Agentic Code Review — “Agentic Code Review” (Addy Osmani, addyosmani.com, 2026); review as the most leveraged skill; the four-source 2026 data set; blast radius spectrum; review as intent-reconstruction; the four-reviewers-in-parallel heterogeneity finding; human on the loop; the practitioner checklist
  • Intent Debt — “Intent Debt” (Addy Osmani, addyosmani.com, 2026); Storey’s Triple Debt Model; intent as the one input that must originate with a human; why agents make un-written rationale compound every cold session; externalize intent as a first-class artifact
  • A Case Study in building production-ready agentic AI systems (PRINCE at Bayer) — “A Case Study in building production-ready agentic AI systems” (Sarang Kulkarni / Thoughtworks, martinfowler.com, 2026-06-16); Bayer’s PRINCE agentic RAG; Search→Ask→Do; three reflection loops (process/data/draft); context discipline; hybrid RAG (keyword + metadata filter + n=5 expansion + 0.7/0.3 weighted hybrid + bge-reranker, 20→7) + Text-to-SQL (dynamic schema, few-shot semantic layer, SELECT-only, removed LLM-review step); LangGraph state persistence + retries + cross-provider LLM fallbacks; page+quote citations; RAGAS dataset + daily live-traffic evals; NER confidence-gated annotation
  • Making Your Data Ready for Agentic AI — “Making Your Data Ready for Agentic AI” (Pramod Sadalage and Prem Chandrasekaran, martinfowler.com, 2026-08-27); data contracts, freshness and quarantine; domain/semantic/capability context layer; agentic lineage; delegated access; retrieval → live read → write-back; capability-not-endpoint tool design
  • Engineering for Bounded Cognition — “Engineering for Bounded Cognition” (Matt Williams, shapeofthesystem.com, 2026-02-03); preamble to “The Shape of the System” manifesto; Miller/Cowan working-memory limits, Simons & Chabris / Simons & Levin attention research, “Lost in the Middle” (Liu et al. 2023) applied to LLM context windows, the OXO Good Grips design-for-constraint example; shared by Mario Zechner as recommended reading

Answered Questions

How do MCP tools fit? When do they replace custom function tools?
See MCP Tools vs Custom Function Tools. Short answer: use custom function tools for one-off, use-case-specific logic; use MCP when a community server already exists or when you need the same tool across multiple agents. For first agents, always start with custom tools.

At what point does a vector DB outperform simple file search?
File search (keyword/BM25) is sufficient when: corpus is small (<100 docs), keyword matching finds the right content, documents are stable. Vector DB wins when: corpus is large, you need semantic similarity (conceptually related content without keyword match), or documents update frequently. For personal knowledge agents, file search handles the vast majority of cases. Add vectors only when search quality is measurably failing.

How do you evaluate agent quality systematically?
See Evaluating AI Agents for the full treatment, Eval-Driven Agent Development for the 8-step roadmap from zero. Short answer: start with 20–50 simple tasks drawn from real failures (bug tracker, support queue, manual smoke tests). Combine three grader types — code-based (deterministic), model-based (LLM-as-judge), and human (calibration). Distinguish capability evals (low pass rate, hill to climb) from regression evals (~100%, protect against backsliding). Track non-determinism via pass@k and pass^k. Read the transcripts — aggregate scores hide what matters. Pick a framework (Harbor, Braintrust, LangSmith, Langfuse, Arize) only after you have tasks worth running.

Open Questions

  • What’s the practical difference between Anthropic’s Claude Agent SDK and OpenAI’s Agents SDK in production? → Needs hands-on comparison or a dedicated source ingested