← All parts of this equation

Equation 6 · Part 4 · Claude Code, From First Principles: The Agentic Loop, Permissions, and What Actually Executes

=

at=π(ct).a_t = \pi(c_t).
=

What this part means

The expressions on both sides represent the same quantity under the stated assumptions.

Its job in the formula

The equals sign connects the complete expression on the left with the complete expression on the right. Both sides must have compatible units.

The passage around this formula

Let ctc_t be the context available to the model at step t : system instructions, conversation so far, file contents, tool outputs. The model is a policy π\pi that, given ctc_t , emits either a final answer or a tool call ata_t : at=π(ct)a_t = \pi(c_t). Claude Code executes ata_t — subject to a permission check described in the next section — against the real filesystem, shell, or network, producing an observation oto_t : a diff applied, a command’s stdout and exit code, a search result. That observation is appended to the context for the next step:

Read this part in the article →

Learn the underlying idea

An equals sign says that the expression on its left and the expression on its right have the same value under the stated definitions and assumptions.

Open the illustrated equality: what the equals sign claims guide →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.