~/writing

Agent Loops

3 posts tagged agent-loops. clear filter

October 2026
  • 13
    Prompt layout and TTFT
    day 29 · LLM Engineering in 30 Days

    You'll learn how prompt caching makes time-to-first-token depend on the order of your prompt, how to find the lines that break the cache in your agent harness, and how to order the prompt so the cache keeps hitting on every turn.

  • 13
    Token budgets per decision
    day 22 · LLM Engineering in 30 Days

    You'll learn how to split an agent run's token allowance by decision type (explore, plan, edit, verify), give each type its own stop rule, and pick the shares from your own trace data.

  • 13
    Model routing in agent loops
    day 20 · LLM Engineering in 30 Days

    You'll learn to route each agent step to a cheap or frontier model based on what a mistake would cost and whether anything catches it, rather than on how hard the task looks.