<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Acidburn007</title>
    <description>The latest articles on DEV Community by Acidburn007 (@relatedtocrofton).</description>
    <link>https://dev.to/relatedtocrofton</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3414481%2Fc8be1931-01c9-43ff-868a-7d8c111fd638.jpg</url>
      <title>DEV Community: Acidburn007</title>
      <link>https://dev.to/relatedtocrofton</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/relatedtocrofton"/>
    <language>en</language>
    <item>
      <title>How our open source coding agent scored 84.5% on Terminal-Bench 2.1 for $27 with DeepSeek V4.1 Flash</title>
      <dc:creator>Acidburn007</dc:creator>
      <pubDate>Wed, 11 Nov 2026 19:46:13 +0000</pubDate>
      <link>https://dev.to/relatedtocrofton/how-our-open-source-coding-agent-scored-845-on-terminal-bench-21-for-27-3f2f</link>
      <guid>https://dev.to/relatedtocrofton/how-our-open-source-coding-agent-scored-845-on-terminal-bench-21-for-27-3f2f</guid>
      <description>&lt;p&gt;AgenC Core, our open source coding agent for the terminal, scored 84.5% on Terminal-Bench 2.1 with DeepSeek V4.1 Flash. The inference cost for all 445 trials was $27.&lt;/p&gt;

&lt;p&gt;Every entry on the official leaderboard spent at least $134. The five entries that scored higher spent between $463 and $1,070. Our run is public on Harbor Hub, the site that hosts the leaderboard, with every trajectory. It is not an official leaderboard entry.&lt;/p&gt;

&lt;p&gt;Our goal is to multiply model capability per dollar of inference. This post covers the method and the limits of the number, then the harness bugs that earlier runs exposed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Terminal-Bench measures, and what an AI agent harness is
&lt;/h2&gt;

&lt;p&gt;Terminal-Bench is a benchmark for agents that work in a terminal, with tasks such as debugging async code and fixing security vulnerabilities. Each trial puts the agent in a container with one instruction, and the task's own tests grade the result.&lt;/p&gt;

&lt;p&gt;A score belongs to an agent and a model together. An AI agent harness is everything around the model: the tools it can call, the shell that runs its commands, context compaction, retries, and the rule for when a task counts as done. AgenC Core is the harness, under the MIT license. You choose the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  How we ran it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dataset.&lt;/strong&gt; The official Terminal-Bench 2.1 package, pinned to the leaderboard's dataset revision: 89 tasks, 5 trials per task, 445 trials. Official timeouts and resources. No task timeout was changed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent and model.&lt;/strong&gt; AgenC Core 0.19.24 in Light mode, its default, with DeepSeek V4.1 Flash (&lt;code&gt;deepseek/deepseek-flash&lt;/code&gt;) at max reasoning effort, run through Harbor, the benchmark's runner.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Launch.&lt;/strong&gt; One headless turn per trial, task on stdin: &lt;code&gt;agenc -p --budget max --dangerously-bypass-approvals-and-sandbox --output-format stream-json&lt;/code&gt;, plus &lt;code&gt;--deadline&lt;/code&gt; at the trial's deadline minus 2 seconds. A trial's &lt;code&gt;agent/launch.json&lt;/code&gt; on Harbor Hub records the arguments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contamination.&lt;/strong&gt; An egress filter refused known routes to benchmark answers, and a local gateway held the API key and logged every call. In 5 passing trials the agent had still seen a task's solution or tests. We counted those as failures, which lowers the score from 85.6% to 84.5% (376 of 445 trials). Harbor Hub shows the unadjusted average reward, 0.86. Late finishes also count as failures, and there were none.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost.&lt;/strong&gt; Harbor Hub lists $27.21 of inference, about $0.06 per trial, over 1.2 billion tokens with a 97% cache hit rate. It is priced at DeepSeek's list price for the time of each request.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All 445 trials are public: &lt;a href="https://hub.harborframework.com/jobs/2bf2c84d-83c2-47a3-9341-e635c45bd329" rel="noopener noreferrer"&gt;Harbor Hub job 2bf2c84d&lt;/a&gt;, run on October 29 and 30, 2026 (UTC).&lt;/p&gt;

&lt;h2&gt;
  
  
  Results: score and cost
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Agent and model&lt;/th&gt;
&lt;th&gt;Score&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;th&gt;On the official leaderboard&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Codex, GPT-6 Astra (high)&lt;/td&gt;
&lt;td&gt;87.4% ± 1.8%&lt;/td&gt;
&lt;td&gt;$773.50&lt;/td&gt;
&lt;td&gt;Yes, top entry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AgenC Core, DeepSeek V4.1 Flash (max)&lt;/td&gt;
&lt;td&gt;84.5%&lt;/td&gt;
&lt;td&gt;$27.21&lt;/td&gt;
&lt;td&gt;No, public run&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Code, Fable 5 (xhigh)&lt;/td&gt;
&lt;td&gt;83.8% ± 2.3%&lt;/td&gt;
&lt;td&gt;$552.67&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cursor CLI, Grok 4.5 (high)&lt;/td&gt;
&lt;td&gt;79.3% ± 2.9%&lt;/td&gt;
&lt;td&gt;$134.09&lt;/td&gt;
&lt;td&gt;Yes, cheapest entry&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Leaderboard rows are from the &lt;a href="https://hub.harborframework.com/datasets/terminal-bench/terminal-bench-2-1/latest?tab=leaderboard&amp;amp;leaderboard=main" rel="noopener noreferrer"&gt;official Terminal-Bench 2.1 leaderboard&lt;/a&gt; on Harbor Hub, read on November 11, 2026. It has 22 entries, all listed on &lt;a href="https://get.agenc.ag/terminal-bench/" rel="noopener noreferrer"&gt;get.agenc.ag/terminal-bench&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff2fkcps8ef49i3ni80uh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff2fkcps8ef49i3ni80uh.png" alt="Score against cost on Terminal-Bench 2.1. AgenC Core with DeepSeek V4.1 Flash sits at 84.5% and $27, apart from the leaderboard entries, which all cost $134 or more. Leaderboard data from Harbor Hub, October 31, 2026." width="800" height="640"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is a higher score per dollar than any leaderboard entry. The cheapest entry cost about five times as much and scored 5.2 points lower. The top entry scored 2.9 points higher and cost more than 28 times as much.&lt;/p&gt;

&lt;p&gt;The caveats:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It is not an official entry.&lt;/strong&gt; Community submissions for 2.1 are closed, and only runs done by the maintainers are added. We asked them to run AgenC Core on November 8, 2026 (&lt;a href="https://github.com/harbor-framework/terminal-bench-2-1/issues/253" rel="noopener noreferrer"&gt;issue #253&lt;/a&gt;). Maintainers review the trajectories of leaderboard submissions. Our contamination review is our own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It compares combinations.&lt;/strong&gt; Each row pairs an agent with a model, so this compares combinations, not agents alone. Our eval docs say model choice moves scores far more than the harness does. No leaderboard entry uses a DeepSeek model, so there is no same-model comparison here.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The margins overlap.&lt;/strong&gt; The leaderboard prints a margin with each score, from ± 1.4% to ± 3.3%. Our run has none. The 0.7 point gap to Claude Code with Fable 5 is inside that entry's margin.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It is the later of two public runs.&lt;/strong&gt; Our earlier run with the same model, started October 12, 2026 on an older build, has a raw average reward of 0.76 against 0.86 here, and 61 timeouts against none (&lt;a href="https://hub.harborframework.com/jobs/71f39f3b-22f8-4dbe-9f25-2b039d3a4534" rel="noopener noreferrer"&gt;job 71f39f3b&lt;/a&gt;). The adapter and run setup also changed, so the gap is not a clean measure of the harness.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It used a lot of tokens.&lt;/strong&gt; Only one leaderboard entry lists more than our 1.2 billion. The cost is low because the model is cheap per token and most of the prompt came from cache.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The harness bugs benchmarking found
&lt;/h2&gt;

&lt;p&gt;The useful part of a benchmark run is the transcripts. The findings below come from runs before this one: an 11-task pilot and a full run on Terminal-Bench 2.0 with DeepSeek V4 Pro, a Terminal-Bench 4.0 run with Grok 4.6, and trials with GPT-6 Astra. All five were fixed in September 2026, before release 0.19.24.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Services died when a command returned.&lt;/strong&gt; The shell tool stopped every process the agent had started once the command finished, and the tool result never said so. Pilot transcripts show the model starting nginx four different ways and finding nothing listening each time. Three of our four pilot failures had this shape. The result now reports stopped processes, and &lt;code&gt;exec_command&lt;/code&gt; takes &lt;code&gt;detach: true&lt;/code&gt; for a service that must outlive the session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A safety policy blocked ordinary commands.&lt;/strong&gt; Even with approvals bypassed, the shell write policy refused any command it could not analyze. That covered everything containing &lt;code&gt;$(...)&lt;/code&gt;: 51 of 459 shell calls in one run. Under a full bypass with no sandbox those guards are now lifted. Protected paths stay protected.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The agent said it was done without checking.&lt;/strong&gt; With those bugs fixed, the remaining failures were tasks the agent had declared finished. GPT-6 Astra sessions averaged 19 minutes, against 35 to 47 for the Codex leaderboard rows. Final messages claimed checks the transcript did not contain. The cause was our prompt. Headless runs received the interactive instructions, which tell the model to stop and report to a human who will steer. Non-interactive sessions now get a completion contract: restate the task as checkable requirements, run the checks before the final message, never end the turn waiting for input, and report what was verified.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A long session broke compaction.&lt;/strong&gt; A 55-minute Grok 4.6 session with 191 tool calls reached the auto-compaction threshold and died. The planner assumed 4 bytes per token and packed the whole history into one summary request. The provider counted 2.29 and rejected it. The planner now budgets 2 bytes per token and splits large histories.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A dropped connection ended 1.5 hours of work.&lt;/strong&gt; An upstream socket drop truncated a response stream in a Grok trial. It came back as a generic provider error that no retry rule recognized. A truncated stream is now a typed error, retried like a stalled stream.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We also built a completion gate that holds a final answer until executed checks back it. It is off by default for JSON output, which is how the adapter runs the agent, so it did not run in the published trials. In our measured benchmark trials it changed no result (&lt;a href="https://github.com/tetsuo-ai/agenc-core/blob/main/docs/releases/0.19.19.md" rel="noopener noreferrer"&gt;0.19.19 release notes&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;None of these was a model failure, and the fixes apply to any model the harness runs. This post contains no ablation, so we attach no score to any single fix.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproduce the run
&lt;/h2&gt;

&lt;p&gt;The Harbor adapter is &lt;code&gt;runtime/eval/harbor/agenc_agent.py&lt;/code&gt;. It installs the pinned release through the public installer and checks its SHA-256, answers the trust prompt in the real terminal UI, never changes task timeouts, and writes an ATIF trajectory per trial. You need Harbor, a clone of &lt;a href="https://github.com/tetsuo-ai/agenc-core" rel="noopener noreferrer"&gt;the repository&lt;/a&gt; and a DeepSeek API key.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uv tool install harbor            &lt;span class="c"&gt;# the published runs used 0.23.0&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;PYTHONPATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/path/to/agenc-core/runtime/eval/harbor
&lt;span class="nv"&gt;DEEPSEEK_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;... harbor run \
  -d terminal-bench/terminal-bench-2-1@sha256:7d7bdc1cbedad549fc1140404bd4dc45e5fd0ea7c4186773687d177ad3a0699a \
  -a agenc_agent:Agenc -m deepseek/deepseek-flash \
  --ak &lt;span class="nv"&gt;version&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;0.19.24 --ak &lt;span class="nv"&gt;reasoning_effort&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;max \
  -k 5 -n 4 -o ./jobs/agenc-tb21
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three things differ from our published run:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The published run used an internal adapter tied to our bench host. The public one was written afterwards as its counterpart (&lt;a href="https://github.com/tetsuo-ai/agenc-core/pull/3428" rel="noopener noreferrer"&gt;PR #3428&lt;/a&gt;) and validated on four live trials, not a full rerun.&lt;/li&gt;
&lt;li&gt;The egress filter and the logging gateway are not part of the adapter.&lt;/li&gt;
&lt;li&gt;The published trials passed &lt;code&gt;--deadline&lt;/code&gt; with a 2 second margin. Until &lt;a href="https://github.com/tetsuo-ai/agenc-core/pull/3433" rel="noopener noreferrer"&gt;agenc-core#3433&lt;/a&gt; is merged, the adapter leaves it off. Add &lt;code&gt;--ak cli_deadline=true --ak deadline_margin_sec=2&lt;/code&gt; to match.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The full method is in &lt;a href="https://github.com/tetsuo-ai/agenc-core/blob/main/docs/eval/terminal-bench.md" rel="noopener noreferrer"&gt;docs/eval/terminal-bench.md&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try AgenC Core
&lt;/h2&gt;

&lt;p&gt;AgenC Core works with OpenAI, Anthropic, Grok, Gemini, DeepSeek, OpenRouter and other providers, or with local models through Ollama and LM Studio. It runs in the terminal UI or headless in scripts and CI with &lt;code&gt;agenc -p&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;macOS and Linux:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://get.agenc.ag/install.sh &lt;span class="o"&gt;|&lt;/span&gt; sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Windows (PowerShell):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;iwr&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;useb&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;agenc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ag&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;install&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ps1&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;iex&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then run &lt;code&gt;agenc onboard&lt;/code&gt; to choose a provider.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Source: &lt;a href="https://github.com/tetsuo-ai/agenc-core" rel="noopener noreferrer"&gt;github.com/tetsuo-ai/agenc-core&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Install and docs: &lt;a href="https://get.agenc.ag" rel="noopener noreferrer"&gt;get.agenc.ag&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Setup as a DeepSeek coding agent, the way it ran here: &lt;a href="https://get.agenc.ag/deepseek/" rel="noopener noreferrer"&gt;get.agenc.ag/deepseek&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you run it on another model or another benchmark, we would like to see your numbers.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>llm</category>
      <category>agents</category>
    </item>
    <item>
      <title>Tiny tool, big help: automatically choose the best Ollama model for your setup</title>
      <dc:creator>Acidburn007</dc:creator>
      <pubDate>Tue, 05 Aug 2025 11:44:09 +0000</pubDate>
      <link>https://dev.to/relatedtocrofton/tiny-tool-big-help-automatically-choose-the-best-ollama-model-for-your-setup-4398</link>
      <guid>https://dev.to/relatedtocrofton/tiny-tool-big-help-automatically-choose-the-best-ollama-model-for-your-setup-4398</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmlk1tzh0kws1m8owlesa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmlk1tzh0kws1m8owlesa.png" alt=" " width="800" height="406"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.npmjs.com/package/llm-checker" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>llm</category>
      <category>tools</category>
      <category>software</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
