<?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: Pavelisko</title>
    <description>The latest articles on DEV Community by Pavelisko (@pavelevich).</description>
    <link>https://dev.to/pavelevich</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%2Fbd84d7b6-8a15-4bc1-9525-97d642b8f4d2.jpeg</url>
      <title>DEV Community: Pavelisko</title>
      <link>https://dev.to/pavelevich</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pavelevich"/>
    <language>en</language>
    <item>
      <title>How our open source coding agent scored 84.5% on Terminal-Bench 2.1 for $27</title>
      <dc:creator>Pavelisko</dc:creator>
      <pubDate>Wed, 11 Nov 2026 19:46:13 +0000</pubDate>
      <link>https://dev.to/pavelevich/how-our-open-source-coding-agent-scored-845-on-terminal-bench-21-for-27-3f2f</link>
      <guid>https://dev.to/pavelevich/how-our-open-source-coding-agent-scored-845-on-terminal-bench-21-for-27-3f2f</guid>
      <description>&lt;p&gt;AgenC Core is an open source (MIT) coding agent for the terminal. Our goal is to multiply model capability per dollar of inference: to get more verified work out of a model for every dollar spent on it.&lt;/p&gt;

&lt;p&gt;To test that goal, we ran Terminal-Bench 2.1 with DeepSeek V4.1 Flash. AgenC Core scored 84.5%, and the whole run cost $27. Every entry on the official leaderboard spent at least $134. All 445 trials are public, with full trajectories.&lt;/p&gt;

&lt;p&gt;This post covers how we ran it, what the number does and does not mean, and what the benchmark taught us about our own harness.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the harness matters
&lt;/h2&gt;

&lt;p&gt;Terminal-Bench measures how well an agent completes real tasks in a terminal: building software, repairing a git history, configuring servers, recovering data. Each trial gives the agent one instruction inside a container, and the task's own tests grade the result.&lt;/p&gt;

&lt;p&gt;A leaderboard row is always an agent and a model together. The model supplies the reasoning. The harness around it decides how that reasoning turns into finished work: how the task is planned, which tools exist, how progress is kept, and how results are checked before the agent says it is done. With the same model, a better harness finishes more of the work for the same money.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;The official Terminal-Bench 2.1 package, pinned to the leaderboard's dataset revision: 89 tasks, 5 trials per task, 445 trials.&lt;/li&gt;
&lt;li&gt;The official timeouts and resources. No task timeout was changed.&lt;/li&gt;
&lt;li&gt;AgenC Core 0.19.24 with DeepSeek V4.1 Flash at max reasoning effort, run through Harbor, the benchmark's runner.&lt;/li&gt;
&lt;li&gt;Contamination handling. 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 lowered the score from 85.6% to 84.5%. Late finishes also count as failures, and there were none.&lt;/li&gt;
&lt;li&gt;Cost. $27 is the figure Harbor Hub lists for the run, the same basis as every leaderboard entry. At DeepSeek's list prices for the recorded request times it came to $27.21, across about 1.2 billion tokens with a 97% cache hit rate.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The run is public on Harbor Hub: &lt;a href="https://hub.harborframework.com/jobs/2bf2c84d-83c2-47a3-9341-e635c45bd329" rel="noopener noreferrer"&gt;job 2bf2c84d&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The results
&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;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AgenC Core, DeepSeek V4.1 Flash (max)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;84.5%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$27&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Codex, GPT-6 Astra (high)&lt;/td&gt;
&lt;td&gt;87.4%&lt;/td&gt;
&lt;td&gt;$774&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%&lt;/td&gt;
&lt;td&gt;$553&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%&lt;/td&gt;
&lt;td&gt;$134&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The AgenC Core row is our public run. The other rows are entries on the official &lt;a href="https://hub.harborframework.com/datasets/terminal-bench/terminal-bench-2-1?tab=leaderboard&amp;amp;leaderboard=main" rel="noopener noreferrer"&gt;Terminal-Bench 2.1 leaderboard&lt;/a&gt; as of October 31, 2026, and Cursor CLI's is the cheapest of them. The top entry scored 2.9 percentage points more and cost more than 28 times as much.&lt;/p&gt;

&lt;p&gt;Two caveats. Each row pairs an agent with a model, so this compares combinations, not agents alone. And our run is not on the official leaderboard: community submissions for 2.1 are closed, and only runs done by the maintainers are added. We have asked them to run AgenC Core (&lt;a href="https://github.com/harbor-framework/terminal-bench-2-1/issues/253" rel="noopener noreferrer"&gt;issue #253&lt;/a&gt;), and the adapter they would need is public.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the benchmark found in our harness
&lt;/h2&gt;

&lt;p&gt;The most useful part of running the benchmark was reading the transcripts. Across our runs, they exposed problems that had nothing to do with the model:&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, so a server the agent set up was gone by the time the grader ran. Three of the four failures in each of our early runs were tasks of that shape: nginx, a git server with a deploy hook, an sshd server. The tool result now says when leftover processes were stopped, and &lt;code&gt;exec_command&lt;/code&gt; takes &lt;code&gt;detach: true&lt;/code&gt; to start a service that outlives 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 analyse, which included 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, and protected paths stay protected.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The agent declared success without checking.&lt;/strong&gt; Once the harness bugs were fixed, the remaining failures were tasks the agent had called done: sessions that ended early, with final messages claiming checks the transcript did not contain. Non-interactive sessions now carry a completion contract: restate the task as checkable requirements, run the checks before the final message, report what was verified. A completion gate enforces it in code: a final answer is held until it is backed by checks that ran after the last change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long sessions broke compaction.&lt;/strong&gt; A 55-minute session with 191 tool calls reached the auto-compaction threshold and failed. Our planner assumed 4 bytes per token, the provider counted 2.29, and the summary request was rejected as too large. The planner now bounds its input at 2 bytes per token and splits large histories.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A dropped connection ended a trial.&lt;/strong&gt; A truncated stream came back as a generic provider error that no retry rule recognized. It is now a typed error, retried like any stalled stream.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these were model problems, and each fix applies to every model the harness runs. That is what "multiply model capability" means in practice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproduce it
&lt;/h2&gt;

&lt;p&gt;The Harbor adapter is in the repository at &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 project trust prompt in the real terminal UI, never changes task timeouts, and writes an ATIF trajectory for every trial.&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
git clone https://github.com/tetsuo-ai/agenc-core
&lt;span class="nb"&gt;cd&lt;/span&gt; agenc-core
&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;&lt;span class="nv"&gt;$PWD&lt;/span&gt;/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;Our published run also had the egress filter and the logging gateway described above, which are not part of the adapter. 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 or headless in scripts and CI with &lt;code&gt;agenc -p&lt;/code&gt;, and its Goal mode takes a project through implementation, testing and an independent review.&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;Full results and every leaderboard entry: &lt;a href="https://get.agenc.ag/terminal-bench/" rel="noopener noreferrer"&gt;get.agenc.ag/terminal-bench&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>Pavelisko</dc:creator>
      <pubDate>Tue, 05 Aug 2025 11:44:09 +0000</pubDate>
      <link>https://dev.to/pavelevich/tiny-tool-big-help-automatically-choose-the-best-ollama-model-for-your-setup-4398</link>
      <guid>https://dev.to/pavelevich/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="405"&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>
