with-agents

State of Agentic Coding - Series

Context, Compaction, and Model Fit

Armin Ronacher and Ben Vinegar track agentic coding through monthly conversations about models, harnesses, software quality, open source, infrastructure, economics, and the changing role of developers. Episode 12 compares bounded agent factories, task-specific model choices, optimization constraints, restricted production access, and local versus remote development, with practitioner accounts rather than controlled comparisons.

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

Armin Ronacher and Ben Vinegar discuss why an agent that accepts a long conversation may still struggle to use it well. They connect model choice to the tools around it and explain how a reviewed handoff can preserve useful findings and warnings without carrying the entire conversation into the next session.

Key Points Covered

  • Model fit depends on the harness and the developer using it: The harness supplies the tools and instructions around a model. Armin describes tuning his agent's tools to behaviors he believes the model learned during training. Ben notes that developers also learn a model's quirks and may mistake unfamiliar behavior for lower intelligence 06:35–09:33(opens in a new tab).
  • 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 13:27–16:21(opens in a new tab).
  • 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 17:18–19:17(opens in a new tab).
  • 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 19:17–22:27(opens in a new tab).
  • 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 21:24–23:18(opens in a new tab).
  • 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 28:56–32:06(opens in a new tab).
  • 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 33:54–36:00(opens in a new tab).
  • 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 42:58–45:04(opens in a new tab).

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

Search

Search field guides and resources across the site.

    Keyboard shortcuts

    Press ? to open this guide (usually Shift + /). Close it before using other site shortcuts.

    Show keyboard shortcuts
    ?
    Search site
    Ctrl + K
    Close the current dialog or menu
    Esc

    Site shortcuts are ignored while typing. Browser and extension shortcuts may take priority.