with-agents

State of Agentic Coding - Series

Context, Compaction, and Model Fit

Armin Ronacher Episode 1 9 of 9
Episodes Browse 9 summaries 9 of 9

Armin Ronacher and Ben Vinegar discuss how model choice, agent harnesses, and context management shape day-to-day agentic coding.

Key Points Covered

  • Model fit includes the harness and the operator: Armin says agents often tune their tools to a model's reinforced strengths. Ben notes that developers also learn a model's quirks and may mistake unfamiliar behavior for lower intelligence [00:06:35]-[00:09:33].
  • Different models can serve research and execution: Armin uses slower, high-reasoning models to investigate difficult project-specific questions and produce an editable research document. He then uses Opus for implementation rather than treating the research output as a finished architecture [00:13:27]-[00:16:21].
  • A context window is a growing interaction log: Messages, model output, reasoning, and harness tool definitions all consume tokens. Armin's practical concern is that useful performance can degrade before the advertised hard limit [00:17:18]-[00:19:17].
  • Manual handoffs make compaction inspectable: Instead of waiting for opaque automatic compaction, Armin recommends summarizing progress into Markdown, reviewing it, and starting a fresh session with only the useful state [00:19:17]-[00:22:27].
  • Failed approaches belong in the handoff: A clean summary can omit errors that the next session needs to avoid, so Armin explicitly carries forward failed attempts and relevant error messages [00:21:24]-[00:23:18].
  • Large advertised windows do not guarantee useful long-context work: Armin reports similar degradation around 100,000–150,000 tokens, even when using a one-million-token Sonnet mode. He distinguishes accepting more tokens from using them well [00:28:56]-[00:32:06].
  • Cost and speed depend on mistakes, not token price alone: A more capable model can finish faster or cheaper when it takes fewer wrong turns. Model comparisons therefore depend on the task, harness, caching, and codebase [00:33:54]-[00:36:00].
  • Model providers are developing distinct tool conventions: The speakers argue that training models around particular tools and behaviors can improve those combinations while making agent implementations less interchangeable across providers [00:42:58]-[00:45:04].

Full video: https://www.youtube.com/watch?v=tt3kY19ciFA(opens in a new tab)