<?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: Karol Rybak</title>
    <description>The latest articles on DEV Community by Karol Rybak (@karol_rybak_e9a1fb97e4ab5).</description>
    <link>https://dev.to/karol_rybak_e9a1fb97e4ab5</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%2F1928278%2Fbc80f9cd-b5ed-44ea-8e4e-dae1191206c2.jpg</url>
      <title>DEV Community: Karol Rybak</title>
      <link>https://dev.to/karol_rybak_e9a1fb97e4ab5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/karol_rybak_e9a1fb97e4ab5"/>
    <language>en</language>
    <item>
      <title>Introducing CHOMATO: A lightweight harness for LFM 2.5 with superpowers.</title>
      <dc:creator>Karol Rybak</dc:creator>
      <pubDate>Sat, 08 Aug 2026 05:35:46 +0000</pubDate>
      <link>https://dev.to/karol_rybak_e9a1fb97e4ab5/introducing-chomato-a-lightweight-harness-for-lfm-25-with-superpowers-53ca</link>
      <guid>https://dev.to/karol_rybak_e9a1fb97e4ab5/introducing-chomato-a-lightweight-harness-for-lfm-25-with-superpowers-53ca</guid>
      <description>&lt;p&gt;Have you ever wondered how cool it would be if your harness could:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Branch the KV-cache without huge buffers.&lt;/li&gt;
&lt;li&gt;Attach precalculated context blocks however you please.&lt;/li&gt;
&lt;li&gt;Give perfect structured responses in any shape you'd like.&lt;/li&gt;
&lt;li&gt;Run on the backend, frontend, or anywhere WebGPU works. &lt;/li&gt;
&lt;li&gt;Do all of that in less than 1 GB of RAM.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I definitely wanted one, and since there wasn't any — I built my own.&lt;/p&gt;

&lt;p&gt;The GUI is mostly for diagnostics (styled after Classic Mac OS), but you can check out the live online demo here: &lt;a href="https://3ksoft.github.io/chomato/" rel="noopener noreferrer"&gt;https://3ksoft.github.io/chomato/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Code: &lt;a href="https://github.com/3ksoft/chomato" rel="noopener noreferrer"&gt;https://github.com/3ksoft/chomato&lt;/a&gt; (AGPL-3.0). It also uses two libraries I've authored — they aren't on npm yet, but current versions are available on my GitHub under the MIT license.&lt;/p&gt;

&lt;p&gt;The API is a bit unusual if you're used to traditional ones:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;engine&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;generate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nf"&gt;type&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;number&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;string &amp;lt; 64&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;}),&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;checkpoint&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;blocks&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Basically, sparse (structured) mode is the engine default. If you just want plain text, you use &lt;code&gt;type("string &amp;lt; max_length")&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Hope you'll have as much fun using it as I had while building it!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>typescript</category>
      <category>webgpu</category>
    </item>
  </channel>
</rss>
