01. Same Model, Different Harness
Fixing every behaviour parameter of a fake model and giving it four harnesses, switching on argument validation, completion checks and repeat detection one at a…
Technical research notes and engineering experiments
Fixing every behaviour parameter of a fake model and giving it four harnesses, switching on argument validation, completion checks and repeat detection one at a…
Modeling what the model sees in one request and what the system keeps as two separate objects, comparing full history, a sliding window and layered building on …
Splitting a model request into tool definitions, system prompt and message list, measuring the shared prefix of consecutive requests under five assembly methods…
Taking apart the Messages API format, writing a validator that checks tool-call pairing against the documented rules, reproducing the 400 errors two common trun…
Splitting the exits of an Agent loop into the model declaring it is done, a step limit, a token budget and a wall-clock limit, reproducing five scenarios with a…
Simulating a streamed response in the SSE event format of the Messages API, measuring time to first token, the moment tool arguments become complete and the end…
A minimal Agent loop with a fake model and four simulated tools, used to count the model calls, tool calls, messages and bytes sent in one debugging task
Splitting an Agent task's time into model, tools, orchestration and waiting, deriving the quadratic growth of cumulative input tokens when the full history is r…
Inject tool timeouts, corrupted results, and process crashes to test an Agent's retries, state recovery, and side-effect boundaries.
Turn production failures, permission boundaries, and tool faults into repeatable tests that reveal behavioral regressions after an Agent change.