cd /news/ai-agents/frontier-llm-behavior-changed-in-202… · home › topics › ai-agents › article
[ARTICLE · art-180280] src=vegardstikbakke.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Frontier LLM behavior changed in 2026

An analysis of roughly 4,000 Pi coding-agent sessions and 94,000 Bash calls across six frontier models found that by the end of 2026 more than 1 in 4 Bash calls chained multiple commands, up from mostly single-command calls at the start of the year, and that 4+ command chains rose from once every 300 calls to every 16th call. The Earendil engineer behind the Pi coding agent and Radius reported that the median prompt-to-answer time rose only 50% as models packed more work into fewer round trips, and that all three latest frontier models ran tests in more than 80% of sessions versus just under half at the start of 2026. Each lab also developed a distinct tool dialect: Claude favored heredocs and multi-line Bash scripts, GPT-5.x favored parallel tool calls, and Gemini combined multi-line Bash with Codemode, while Opus 5.5 largely replaced read and edit calls with bash.

recommendation

Design coding-agent tooling around long chained Bash calls and frequent test runs: over 1 in 4 Bash calls chained commands by end-2026 and the latest frontier models ran tests in more than 80% of sessions.

more in playbook: Working with AI coding agents
read5 min views26 publishedDec 2, 2026
Frontier LLM behavior changed in 2026
Image: source

I've spent most of 2026 at Earendil, working on the Pi coding agent and Radius, both TypeScript codebases. I've been using Pi the whole time, mainly changing which frontier models I used. With that roughly controlled experiment setup, I looked through 4k sessions and 94k Bash calls across the 6 models I used daily to see how their behavior changed over the year.

In short, models have evolved to use Bash more, as they're putting more and more stuff into each tool call. At the same time, each lab has evolved its own dialect.

#Response time increased #

This is pretty visceral to anyone using these models daily. The median time from prompt to final answer increased, but only by 50%. In fact, I was surprised it hasn't increased more. Part of the reason is that models got much better at packing work into fewer round trips.

#Models started chaining much longer Bash commands #

At the start of 2026, most Bash calls just ran a single command. By the end of the year, more than 1 in 4 Bash calls chains multiple commands. I think the most interesting part is how long these chains actually get. A 4+ command chain in one Bash call went from happening once every 300 calls to now every 16th call.

Below are a few recent examples, lines wrapped for readability.

cd packages/ai &&
  node ../../node_modules/vitest/dist/cli.js --run test/openai-completions-raw-stop-reason.test.ts 2>&1 |
  tail -4;
cd ../.. &&
  npm run check 2>&1 |
  rg -n "error|warn|Checked|Fixed|info" |
  head

cd packages/coding-agent &&
  node "$(git rev-parse --show-toplevel)/node_modules/vitest/dist/cli.js" --run test/edit-tool-no-full-redraw.test.ts &&
  cd ../.. &&
  git diff --check

cd packages/ai &&
  npm run check:model-data &&
  cd ../coding-agent &&
  node "$(git rev-parse --show-toplevel)/node_modules/vitest/dist/cli.js" --run test/remote-catalog-provider.test.ts

The models have also grown more fond of running tests. All three of the latest frontier models ran tests in more than 80% of sessions, compared to in a bit less than half of all my sessions at the start of the year. The output of a failing test suite is a clear signal for the LLM to react to on the next turn, so this increase seems reasonable.

#Each lab has developed its own pipeline quirk #

Although each model is running with the same tools available, they exhibit very different tool usage. We saw that they are all batching more work into each LLM turn. Specifically, what we see is that Claude uses a lot of heredocs (<<) and multi-line Bash scripts, GPT likes to use parallel tool calls, and Gemini combines multi-line Bash with Codemode.

If we look at which tools the models reach for, the reason for the long Bash pipelines of Opus models becomes clearer. Opus 5.5 pretty much stopped doing read and edit and replaced them with bash. The GPT-5.x models, on the other hand, did not undergo a particular change throughout the year. There's one Pi tool, write, that's not even in this graph, and that's because the models almost never use it!

To see what that looks like in practice, here is Opus 4.6 doing four separate turns, mixing read and single-command bash calls.

Turn 1: read(index.ts)
Turn 2: read(context.ts)
Turn 3: bash: rg -l "getToolsRegistry" src/ --type ts | head -10
Turn 4: read(chat.ts)

And in a recent example, Opus 5.5 packs two line-range reads using sed plus an rg filter into one bash call. Both sed and rg calls emit lines into standard output and thus into the model's context.

cd packages/ai &&
  sed -n 360,375p src/providers/compat-schema.ts;
  sed -n 110,130p src/api/openai-responses.ts;
  rg -n "prompt_cache_options|30m" src --type ts | head

It's noticeably faster because it means fewer round trips, but it makes it basically impossible to scan in the UI since edits and file reads are inside multi-line Bash calls. Claude Code actually works around this by snapshotting the working tree into a temporary shadow git repo before and after each Bash call so it can still render diffs for sed and heredoc edits. Me, I've stopped looking at the tool calls at this point.

#Use of Codemode #

Codemode was added to Pi in October, along with support for MCP, which runs inside Codemode. Codemode lets the model run a single LLM turn of sandboxed JavaScript code that can invoke multiple tools concurrently (via Promise.all) and then filter the output. Crucially, only the output enters the model's context. Opus only uses Codemode when MCP forces it (since it's required), while GPT-5.6-Sol and Gemini 4 Neon do use it, including for tasks such as reading files, which they obviously also could have used read for.

#Where the time actually goes #

Pi added per-call timing in October, so I can break down the time spent in my recent usage of Opus 5.5 and Gemini 4 Neon.

On Opus 5.5, nearly half of wall-clock time is spent outside the LLM, compared to 17% for Gemini, but almost half of Opus 5.5's Bash time was just sleeping and polling loops waiting for CI and deploys. Excluding that, tests and builds are the biggest local bottleneck, and the rest of the gap comes from Neon being slower per LLM turn and using less Bash.

Given that these models ran tests in over 80% of sessions, it's a bit surprising that tests don't constitute a bigger part of the total time, but that's because models usually targeted a single test file rather than running the whole suite (this was in fact true throughout the year).

#Why are models writing longer pipelines? #

So why this behavioral change? For one, models are getting things wrong less of the time. And since every tool call is a round trip to the LLM, it's faster to write a long pipeline than running one command at a time and doing a round trip for the next command.

As for why each lab has developed a different dialect, it likely reflects the RL environments they are being post-trained in. Armin Ronacher wrote about a similar effect in Better Models: Worse Tools.

Models have definitely been getting smarter in 2026, but also more deliberate about amortizing the cost of each turn. Since each lab is converging on a different way of doing that, harnesses have to accommodate how a given model wants to work. I think Pi having a minimal toolset is a good place to be in that case.

── more in #ai-agents 4 stories · sorted by recency
── more on @earendil 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/frontier-llm-behavio…] indexed:0 read:5min 2026-12-02 · —