Sources#
- Garry Tan: Own Your Intelligence
- Reason Less, Verify More: Deterministic Gates Recover a Silent Policy-Violation Failure Mode in Tool-Using LLM Agents
- The New Physics of Business — Garry Tan, Y Combinator
Summary#
Garry Tan's design discipline for agent systems (practitioner-opinion): be deliberate about where the computation is actually happening, because it always happens in one of two places — and "all of the AI engineering problems we run into, it's usually because something is happening in one side of the equation that should be in the other."
- Latent space — the LLM itself. What it's for: taste, judgment, "understanding what a human actually wants when they say something vague," the non-deterministic calls. You steer it with markdown (Agent Context Files).
- Deterministic space — what engineers already know: the code the agents write, external storage, verifiable state.
The worked example: seating 800 people#
Tan's live case (YC Startup School): seat 800 of 6,000 attendees so each person's neighbors are the perfect people for them to meet. The division of labor:
- The multi-dimensional array of 800 seats — the state — "must not live in the context window." It belongs in deterministic space.
- The LLM does the human part: judging who should meet whom — the thing a human organizer would otherwise do by printing 800 pages and shuffling them in a big room for a month.
Combined, "a couple hundred dollars worth of tokens and probably 10 minutes" — a task that was economically impossible six months prior. The example generalizes: latent space supplies judgment per decision; deterministic space holds the state and enforces the constraints.
The example restated a year on, and shipped (Startup School, August 2026). Tan retells the same case with the scale raised — custom breakout schedules for 6,000 attendees, built and delivered for the audience he is speaking to — and draws the boundary more crisply than the first telling did: seating five people around a table is latent-space work, "but ask it to make custom schedules for 6,000 people in an arena and your latent space agent needs to write some code to keep track of it… markdown files calling databases and scripts." His compressed statement of the rule is the useful addition — "the model fails where we fail. The fix is having the model compute the way humans compute" — which grounds the diagnostic in something other than engineering taste: a human organizer wouldn't hold 6,000 schedules in their head either, they'd reach for a spreadsheet. Still practitioner-opinion and still an existence proof rather than a measurement; the delivered-at-scale version raises the anecdote's weight without changing its tier.
Why this framing earns a page#
It compresses several harder-won lessons in this wiki into one diagnostic question — which side should this computation be on?
- State out of the context window is the working rule behind Context Window Smart Zone (the smart-zone budget is spent on judgment, not storage) and behind this vault's own architecture (LLM-as-Compiler Knowledge Base: the wiki holds the state;
build.py/lint.pydo the deterministic bookkeeping; the LLM does only the interpretive compile). - Steering latent space with markdown is the Agent Context Files pattern named as one half of a two-sided architecture rather than a standalone trick.
- The bug taxonomy — "something happening on the side it shouldn't" — covers both familiar failure classes: LLMs doing arithmetic/state-tracking that belongs in code (hallucinated bookkeeping), and brittle code hard-coding judgment that belongs in the model (the Software 3.0 point — Karpathy's MenuGen "shouldn't exist" because the paradigm-native version pushes the whole task into latent space).
- It is the architecture-level cousin of Planning / Execution Division of Labor: that page splits decisions between human and agent; this one splits computation between model and code.
The measured instance: policy on the wrong side#
Tan's framing is practitioner-opinion and the seating example is an existence proof, not a measurement. Reddy, Challaram & Basu (Reason Less, Verify More: Deterministic Gates Recover a Silent Policy-Violation Failure Mode in Tool-Using LLM Agents, arXiv 2607.07405, empirical) supply the first thing in the corpus that reads as a controlled test of the diagnostic, and the setup is unusually clean because the only thing that moves is which side one class of computation runs on.
In the τ²-bench airline domain, domain policy lives entirely in latent space: a natural-language document the model is instructed to follow, with tools that execute any well-formed call. Compliance therefore depends on the model re-deriving every relevant rule before every write. It doesn't — 78% of observed failures are wrong final states with no tool error (Failures That Look Like Success). Encoding four of those rules as deterministic read-only predicates over the current database state, evaluated before the write executes, raises success from 29.6% to 42.0% (+12.4pp, replicated to within 0.1pp on 15 disjoint seeds), with the lift concentrated on the tasks where the predicates actually fire. Full treatment on Deterministic Pre-Execution Gates.
Three things this adds to the framing as stated above.
- It names a third category for the boundary, beyond state and judgment. Tan's example splits state (seat array → deterministic) from judgment (who should meet whom → latent). This adds constraints: a rule that is decidable from current state and call arguments belongs on the deterministic side even though it reads like natural language and was written for humans. That is the category most likely to be left in latent space by default, because a policy document is prose and putting prose in a prompt feels correct.
- The diagnostic has a precondition, and the paper states it. Gates pay only where the policy is state-decidable — expressible as a deterministic predicate over current state and arguments. Rules requiring ambiguity resolution, legal interpretation, or human judgment stay latent by construction. So "which side should this be on?" is not always a free choice; the answer is forced for a decidable rule and unavailable for an interpretive one, which is a sharper version of Tan's question than the framing supplies.
- The wrong-side cost is a specific failure shape, not general degradation. Computation left in latent space that belonged in deterministic space doesn't produce noisy or approximate results here — it produces silent ones. The tool executes, no error is raised, the transcript reads clean. The seating example's inverse (an LLM tracking 800 seats in context) would degrade visibly; this degrades invisibly, which is the more expensive way to be wrong.
Connections#
- Layerwise Omission Attribution — the diagnostic operationalized as a full pipeline taxonomy rather than one axis: nine layers split into deterministic software (L0-L3) and model behavior (L4-L8), with every lost fact assigned to exactly one, and a waterfall equation that converts conditional layer rates into shares of total loss. Under its benchmark allocation 73.4% of loss lands on the software side — Tan's predicted direction — with the caveat that the allocation was produced by deliberate fault injection rather than observed
- Deterministic Pre-Execution Gates — the diagnostic measured on one axis: a domain policy left in latent space (a prose document the model must apply before every write) versus the same rules compiled into deterministic predicates over database state, +12.4pp apart, with the paper's negative controls marking where the boundary is already drawn correctly
- Failures That Look Like Success — what wrong-side computation costs when the deterministic side is a tool that executes anything well-formed: the failure is silent rather than visibly degraded
- Agent Context Files — markdown as the steering mechanism for the latent side
- Context Window Smart Zone — the capacity argument for keeping state out of the window
- Software 3.0 — Karpathy's paradigm frame for the same boundary; his MenuGen example is the inverse bug (deterministic app doing latent-space work)
- Planning / Execution Division of Labor — the human/agent decision split; this page is the model/code computation split
- Agent Harness Engineering — harness design is largely the engineering of this boundary: what the model sees vs. what the scaffold enforces mechanically
- LLM-as-Compiler Knowledge Base — this vault as an instance: deterministic generators and linters around a latent compiler
- AI-Native Organization — the org-level thesis from the same talk; the org mapping presumes each encoded process knows which side its steps run on
- Owning Your Externalized Cognition — why the latent side is written in markdown at all: steering a model with prose is what makes judgment writable-down, which is the precondition for it becoming an owned (or appropriable) artifact
- Garry Tan — the framing's author
Open Questions#
- Tan asserts the "wrong side" diagnosis covers most AI-engineering bugs. Does any incident/failure taxonomy (agent postmortems, eval failure analyses) actually classify failures by computation-locus, and what fraction lands in each side? Partially answered 2026-08-03 by Reason Less, Verify More: Deterministic Gates Recover a Silent Policy-Violation Failure Mode in Tool-Using LLM Agents (
empirical): the first failure analysis in the corpus that classifies by locus and attaches a fraction — on the τ²-bench airline domain, 78% of observed failures are silent wrong-state failures traceable to policy living in a prompt document rather than in the tool, and moving four rules to the deterministic side recovers +12.4pp. Three limits keep it partial: it is one benchmark domain, it classifies along one axis (policy compliance) rather than taxonomizing failures generally, and the paper's own negative controls show the fraction is set by how the tool layer was built, so it is not a population estimate for agent bugs at large. Nothing yet measures the other direction of the diagnosis — code hard-coding judgment that belonged in the model. Advanced further 2026-08-03 by Layerwise Omission Attribution (Where Facts Go Missing: A Layerwise Taxonomy and Per-Layer Attribution of Information Omission in Air-Gapped LLM Agent Pipelines,empirical), which supplies the taxonomy half almost completely: nine layers covering the whole pipeline, split explicitly into deterministic software (L0-L3) and model behavior (L4-L8), with a waterfall that assigns every lost fact to exactly one locus and a fixed order preventing double-counting. Its answer to the fraction half is 73.4% software — but that number comes from an allocation of deliberately injected faults, which the paper fences four separate times, so the taxonomy transfers and the fraction does not. Still open: any locus split measured on organic incidents, and still nothing on the reverse direction. - The seating example prices latent-space judgment at "a couple hundred dollars of tokens" for 800 seat assignments. As models absorb more deterministic capability (Harness Shrinkage as Models Improve), does the economically-optimal boundary move toward latent space, or does state-out-of-context remain invariant?
Sources#
- The New Physics of Business — Garry Tan, Y Combinator — Garry Tan, "The New Physics of Business," AI Engineer, 2026-07-17, §latent space vs. deterministic space (8:38–10:53)
- Garry Tan: Own Your Intelligence — Garry Tan, "Own Your Intelligence," YC Startup School, 2026-08-06 (
practitioner-opinion; auto-caption transcript), §"Latent Space vs. Deterministic Code": the same diagnostic retold at 6,000-attendee scale with the delivered-in-production framing and the "the model fails where we fail" compression - Reason Less, Verify More: Deterministic Gates Recover a Silent Policy-Violation Failure Mode in Tool-Using LLM Agents — Reddy, Challaram & Basu (arXiv 2607.07405, KDD-ETAAI '26,
empirical): §1.1 (policy in a natural-language document that the tool does not enforce), §5.1 (29.6% → 42.0% from moving four rules into deterministic predicates, replicated on 15 disjoint seeds), §7 limitation 6 (state-decidability as the precondition for the move). All tables reconciled against the prose; two-column reading-order scramble in §1.2 and §2. Full treatment on Deterministic Pre-Execution Gates
Cited by 14
- Garry Tan×2
Latent vs. deterministic space as the master bug diagnostic — see Latent Vs Deterministic Space.
- Open Questions Backlog×2
Latent Vs Deterministic Space: Tan asserts the "wrong side" diagnosis covers most AI-engineering…
- Agent Context Files
Latent Vs Deterministic Space — context files are the steering mechanism for the latent half of…
- Agent Harness Engineering
Latent Vs Deterministic Space — Tan's two-sided diagnostic names the boundary harness design…
- AI-Native Organization
Latent Vs Deterministic Space — the companion engineering discipline from the same talk: knowing…
- Deterministic Pre-Execution Gates
Latent Vs Deterministic Space — the cleanest empirical instance of Tan's "computation on the wrong…
- Failures That Look Like Success
Latent Vs Deterministic Space — the architectural cause in one sentence: computation left on the…
- Layerwise Omission Attribution
Latent Vs Deterministic Space — the largest computation-locus split measured so far. This taxonomy…
- LLM-as-Compiler Knowledge Base
Latent Vs Deterministic Space — this vault as the worked example: deterministic generators/linters…
- Agent Systems & Harness Engineering
Latent Vs Deterministic Space — Garry Tan's diagnostic for agent-system bugs: computation lives in…
- Owning Your Externalized Cognition
Latent Vs Deterministic Space — the companion engineering discipline from the same speaker;…
- Planning / Execution Division of Labor
Latent Vs Deterministic Space — the adjacent split one layer down: this page divides decisions…
- Software 3.0
Latent Vs Deterministic Space — Tan's practitioner rule for the open question below: put judgment…
- Verifying Without a Compiler: Cowork's Harness vs Claude Code's, and Why the Slice Verifier Stays
Slice shape is a checkable invariant, and checkable invariants belong in deterministic space.…
Related articles
- LLM-as-Compiler Knowledge Base
Karpathy's architecture: LLM incrementally compiles raw docs into a persistent interlinked wiki, replacing RAG with a 4…
- Agent Context Files
The cross-vendor markdown-as-control-plane pattern: repo-versioned plaintext (CLAUDE.md / AGENTS.md / SOUL.md / WORKFLO…
- Harness Shrinkage as Models Improve
Prompt scaffolding shrinks each model release; Cat Wu's pruning discipline; Boris Cherny "100 lines of code a year from…
- Open Questions Backlog
_456 actionable open questions across 205 pages · 107 predictions · 9 notes · 147 in progress · 69 watching (entities),…
- Context Lifecycle Management
Treating an agent's active context as indexed runtime objects with a lifecycle (fold/mask/prune, recoverable sidecars,…
