<?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: chintanonweb</title>
    <description>The latest articles on DEV Community by chintanonweb (@chintanonweb).</description>
    <link>https://dev.to/chintanonweb</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%2F1145978%2Fc93ba904-43b0-4dc7-8fe9-b4ce35bf3da3.png</url>
      <title>DEV Community: chintanonweb</title>
      <link>https://dev.to/chintanonweb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chintanonweb"/>
    <language>en</language>
    <item>
      <title>Best Shopify Theme for Dropshipping: Beginner to Pro Guide</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Thu, 26 Nov 2026 18:44:36 +0000</pubDate>
      <link>https://dev.to/chintanonweb/best-shopify-theme-for-dropshipping-beginner-to-pro-guide-5ghb</link>
      <guid>https://dev.to/chintanonweb/best-shopify-theme-for-dropshipping-beginner-to-pro-guide-5ghb</guid>
      <description>&lt;p&gt;Find the best Shopify theme for dropshipping: free vs paid themes, built-in sales tools, speed tests and safe switching, from your first store to scale.&lt;/p&gt;

&lt;p&gt;Many dropshipping stores lose the sale before the shopper even judges the product. The supplier photos match a dozen other shops, the layout looks like a free template, and five apps crowd the product page. Shoppers notice, and they keep their card in their pocket.&lt;/p&gt;

&lt;p&gt;The best Shopify theme for dropshipping fixes the part a theme can fix. It makes your store look like a real brand on a phone, builds in the common sales tools, and lets you change your look later without starting over. It can't pick your product, take your photos or run your ads.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Black Friday: the Debutify theme is $199 instead of $299 until 30 Nov. Details are in the box further down.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;My pick for most dropshippers is the Debutify theme: one license for about 30 Shopify themes, each a real built store you can visit, for $299 one time for one store. The license does not expire. More than 655,000 Shopify merchants have used Debutify.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short answer: what the best dropshipping theme does
&lt;/h2&gt;

&lt;p&gt;The best Shopify theme for dropshipping looks like a real brand on a phone, has the common sales tools built in, stays fast once your own photos and apps are in, fits the size of your catalog, and lets you switch later without losing products or pages. Check these five things before you pay:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Phone first.&lt;/strong&gt; The price, main photo and Add to cart show without much scrolling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sales tools built in.&lt;/strong&gt; A free shipping bar, sticky add to cart and bundles come with the theme.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speed with your setup.&lt;/strong&gt; Test with your real photos and apps installed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fit for your catalog.&lt;/strong&gt; One hero product needs a different layout than 300 products.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safe to switch.&lt;/strong&gt; Your products, collections and pages stay in Shopify when you change themes.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://debutify.com/?ref=shivanshelegance" rel="noopener noreferrer"&gt;Visit Debutify and check its real built stores against these five points&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The best Shopify theme for dropshipping, by stage
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Testing a product: Dawn or Horizon (free)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Choose it if&lt;/strong&gt; you don't know yet whether anyone wants what you sell, and you'd rather spend on samples and ads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skip it if&lt;/strong&gt; you already know your product. You'd set up your sections and settings twice when you move to the theme you keep.&lt;/p&gt;

&lt;h3&gt;
  
  
  Launching a store you'll keep: the Debutify theme
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Choose it if&lt;/strong&gt; you want to visit the finished store before you pay, with the common sales tools built in, for $299 one time for one store.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skip it if&lt;/strong&gt; you want a free theme or a design coded from scratch.&lt;/p&gt;

&lt;h3&gt;
  
  
  Growing with a stack of apps: the Debutify theme
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Choose it if&lt;/strong&gt; you pay for apps that add a free shipping bar, bundles, a sticky add to cart or a countdown. Your reviews app stays, because star ratings need one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skip it if&lt;/strong&gt; your current theme already has those tools built in.&lt;/p&gt;

&lt;h3&gt;
  
  
  Redesigning an older store: the Debutify theme or a Theme Store premium theme
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Choose the Debutify theme if&lt;/strong&gt; you want about 30 looks on one license, and the option to switch again later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choose a premium theme such as Prestige or Impulse if&lt;/strong&gt; you've settled on one design and want that theme's presets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skip both if&lt;/strong&gt; your current theme still fits and only needs new photos and sections.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a Shopify theme does, and what it doesn't
&lt;/h2&gt;

&lt;p&gt;A Shopify theme controls how your store looks and how shoppers move through it, from the home page to the cart. Your products, prices, payments, shipping rates and orders sit in your Shopify admin, apart from the theme.&lt;/p&gt;

&lt;p&gt;That split matters when you're new. A theme can show a free shipping bar, but the free shipping rule itself is a Shopify shipping setting.&lt;/p&gt;

&lt;h3&gt;
  
  
  For beginners: building a first store from zero
&lt;/h3&gt;

&lt;p&gt;Here's an invented example. Priya wants to sell scented candles. She has a Shopify account, a product list and no idea what a good store page needs.&lt;/p&gt;

&lt;p&gt;She visits Debutify's themes. Each one is a real built store, so she clicks through the home page, a product page and the cart like a shopper would, then picks the one closest to her look.&lt;/p&gt;

&lt;p&gt;She sets her colors and fonts in the theme settings, without code. She adds a shipping and returns section and an FAQ, so new buyers find answers without emailing her. Until launch day, a password page keeps the store closed and collects email sign-ups, once password protection is on in Shopify. If she'd rather not do it herself, Debutify's team can set up the store for her. What setup covers is further down.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free vs paid Shopify themes: which should you start with?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  When a free theme is enough
&lt;/h3&gt;

&lt;p&gt;If you want a free Shopify theme for dropshipping, use Shopify's own Dawn or Horizon. Both are free and made by Shopify, and they suit testing whether a product sells.&lt;/p&gt;

&lt;h3&gt;
  
  
  Are paid Shopify themes worth it?
&lt;/h3&gt;

&lt;p&gt;They are once a theme replaces several apps you would otherwise pay for. A free theme's cost tends to show up later, as an app for each missing tool: a free shipping bar, bundles, a countdown. Each one bills on its own.&lt;/p&gt;

&lt;p&gt;If you already know what you'll sell, start on the theme you plan to keep. Sections and settings don't carry over when you switch themes, so you'd set them up twice.&lt;/p&gt;

&lt;h3&gt;
  
  
  What a Shopify theme costs
&lt;/h3&gt;

&lt;p&gt;Premium themes on the Shopify Theme Store are a one-time payment per theme, and each buys one theme with its preset designs. Theme Store themes are licensed to the store that bought them.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Free theme (&lt;a href="https://themes.shopify.com/themes/dawn/presets/dawn" rel="noopener noreferrer"&gt;Dawn&lt;/a&gt;, &lt;a href="https://themes.shopify.com/themes/horizon/presets/horizon" rel="noopener noreferrer"&gt;Horizon&lt;/a&gt;)&lt;/th&gt;
&lt;th&gt;Theme Store premium theme&lt;/th&gt;
&lt;th&gt;Debutify theme&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;What you pay&lt;/td&gt;
&lt;td&gt;$0&lt;/td&gt;
&lt;td&gt;One payment per theme (&lt;a href="https://themes.shopify.com/themes/prestige/presets/prestige" rel="noopener noreferrer"&gt;$400 for Prestige&lt;/a&gt;, &lt;a href="https://themes.shopify.com/themes/impulse/presets/impulse" rel="noopener noreferrer"&gt;$500 for Impulse&lt;/a&gt;, 26 Nov 2026)&lt;/td&gt;
&lt;td&gt;$299 one time for one store&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Designs&lt;/td&gt;
&lt;td&gt;One theme each&lt;/td&gt;
&lt;td&gt;One theme per purchase, with its own presets (Prestige has 5)&lt;/td&gt;
&lt;td&gt;About 30 themes, switch free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Built-in features&lt;/td&gt;
&lt;td&gt;Store basics; extras such as bundles usually come from apps&lt;/td&gt;
&lt;td&gt;Varies by theme&lt;/td&gt;
&lt;td&gt;140+ features, including upsells, bundles and trust badges; star ratings need a reviews app&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How you check it first&lt;/td&gt;
&lt;td&gt;Preview in your Shopify admin&lt;/td&gt;
&lt;td&gt;Previews on the Theme Store and in your admin&lt;/td&gt;
&lt;td&gt;Visit each theme as a real built store&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How to choose a Shopify theme for dropshipping
&lt;/h2&gt;

&lt;p&gt;To pick the right Shopify theme, run four checks before you pay. Look at a product page on your own phone. Match the layout to the size of your catalog. Count the apps the theme would replace. Then click through a whole store, from the home page to the cart, the way a shopper would.&lt;/p&gt;

&lt;h3&gt;
  
  
  Check the product page on a real phone
&lt;/h3&gt;

&lt;p&gt;Use your own phone, not a narrowed desktop window. On a product page, can you see the price, the main photo and the Add to cart button? Scroll down. Does a buy button stay within reach, or does a chat bubble cover it?&lt;/p&gt;

&lt;h3&gt;
  
  
  Match the theme to your catalog
&lt;/h3&gt;

&lt;p&gt;A one-product store needs a long product page, and a store with 300 products needs filters and search. Many of Debutify's themes are set up as one kind of store: Pacer as an activewear store, Saffron as a food store, Tonic as a supplement store. Any of them can be changed to sell something else, so pick the layout closest to your catalog.&lt;/p&gt;

&lt;h3&gt;
  
  
  Count the apps it would replace
&lt;/h3&gt;

&lt;p&gt;Write down the apps you would install for sales tools, then check which of those jobs the theme already does. Add up what those apps bill you each month. The Debutify theme is $299 one time for one store, so compare it with a few months of those bills.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why trust matters most for a dropshipping store
&lt;/h2&gt;

&lt;p&gt;Shoppers decide fast whether a store looks safe, and mixed supplier photos or a template-looking home page can make an honest store look like a scam.&lt;/p&gt;

&lt;p&gt;Another invented example: Marco sells phone cases from a supplier. Plenty of other stores sell the same cases, with the same supplier photos, on the same default layout.&lt;/p&gt;

&lt;p&gt;Marco visits Debutify's themes and picks the real built store that already looks like a brand he would buy from. A shop the look photo has numbered dots, each linked to a case in the picture. A row of short vertical videos shows the cases in use, each video linked to its product. Custom badges in his own colors mark his best sellers, once he tags those products in Shopify and types the tags into the theme settings.&lt;/p&gt;

&lt;p&gt;The theme can't fix weak photos. Marco orders his own product shots for these sections, because the supplier's pictures are the part every other store shares.&lt;/p&gt;

&lt;p&gt;Other stores use the same themes too. What keeps yours from looking like theirs is your own photos, your colors and fonts, and the sections you choose, all set in the theme editor without code.&lt;/p&gt;

&lt;p&gt;Debutify's themes also have delivery and returns rows, a shipping and returns section, an FAQ and a contact form. You fill them with your real delivery times and a fair returns policy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Debutify's features, grouped by the job they do
&lt;/h2&gt;

&lt;p&gt;Debutify's themes come with 140+ features, including upsells, bundles and trust badges, built into the themes instead of sold as separate apps. Some features need a setup step in Shopify first, and star ratings need a reviews app. A few, such as long hero product pages, come only with some of the themes, so check the real built store of the one you want.&lt;/p&gt;

&lt;p&gt;Another invented example: Dana's skincare store pays for apps that add a free shipping bar, bundles, a sticky add to cart button, a countdown banner and a pop-up. She moves to one of Debutify's themes, where those tools are built in. Free shipping stays a rule in her Shopify shipping settings, and the bundle saving comes from an automatic discount she creates in Shopify. Her app list is now her supplier app and her reviews app.&lt;/p&gt;

&lt;h3&gt;
  
  
  Raise the order value
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cart rewards bar:&lt;/strong&gt; progress toward free shipping, a gift or a discount, from automatic discounts you create in Shopify.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free shipping progress bar:&lt;/strong&gt; fills as the cart grows. Needs a free shipping rule at the same amount in Shopify.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bundle builder:&lt;/strong&gt; shoppers pick their own set and see the saving at each tier, applied by an automatic discount in Shopify.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Product suggestions:&lt;/strong&gt; "You may also like" under each product, and one more item to add in the cart.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Help shoppers buy faster
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sticky add to cart bar&lt;/strong&gt; that stays on screen as shoppers scroll.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quick add and quick view&lt;/strong&gt; from any product card.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Buy it now and express checkout buttons&lt;/strong&gt;, once those payment options are on in Shopify.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Run sales and launches
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Countdown banner and pop-up with email sign-up&lt;/strong&gt; for sales weeks and launches.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sale badges&lt;/strong&gt; with the amount or percentage saved, once products have a compare-at price.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low stock message&lt;/strong&gt;, once Shopify tracks inventory for the product.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Look like your own brand, at any size
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Color schemes, fonts, button shapes and page width&lt;/strong&gt;, set in the theme settings without code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Filters and color swatches&lt;/strong&gt; for big catalogs, once filters are set up in Shopify's Search and Discovery app.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://debutify.com/?ref=shivanshelegance" rel="noopener noreferrer"&gt;See Debutify's themes and the features each one shows&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Theme speed: how to test it before you commit
&lt;/h2&gt;

&lt;p&gt;No theme can promise a load time for your store, because your photos, apps and fonts change the result. Test the theme and your setup separately:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Run a product page of the theme's own store through &lt;a href="https://pagespeed.web.dev" rel="noopener noreferrer"&gt;PageSpeed Insights&lt;/a&gt; on mobile. That shows the theme on its own store, before your photos and apps.&lt;/li&gt;
&lt;li&gt;Once the theme is on your store with your products and apps, test the same kind of page again. The gap is your photos and apps.&lt;/li&gt;
&lt;li&gt;After you publish, watch Shopify's &lt;a href="https://help.shopify.com/en/manual/online-store/web-performance/web-performance-reports" rel="noopener noreferrer"&gt;web performance reports&lt;/a&gt; under Analytics, then Reports. They use data from real visitors, and their Over Time reports mark app installs and theme updates on the chart.&lt;/li&gt;
&lt;li&gt;Remove code left behind by apps you no longer use, and check the store on a real phone over cellular data.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Debutify's themes load each picture as the shopper reaches it and start loading a page when a shopper points at its link. That helps pages show sooner, but it can't undo oversized photos or heavy apps. Every release also passes &lt;a href="https://shopify.dev/docs/storefronts/themes/tools/theme-check" rel="noopener noreferrer"&gt;Theme Check&lt;/a&gt;, the code checker Shopify gives theme developers, with zero errors.&lt;/p&gt;

&lt;h2&gt;
  
  
  Switching Shopify themes without losing your work
&lt;/h2&gt;

&lt;p&gt;Another invented example: Sam has run a home decor store for six years. The theme looks dated, pages feel slow, and the last redesign took weeks. Sam wants a fresh look without starting over.&lt;/p&gt;

&lt;p&gt;Sam picks Alcove, Debutify's home decor store, and runs one of its product pages through PageSpeed Insights before switching. After the switch, Sam sets up the home page sections and theme settings, then runs the same test on Sam's own store to see what the photos and apps add. The next time the look feels dated, Sam switches to another of the themes on the same license.&lt;/p&gt;

&lt;p&gt;One license covers all of Debutify's themes, and switching between them is free.&lt;/p&gt;

&lt;p&gt;What stays and what you redo is standard Shopify behavior for any theme. Your products, collections, menus, pages and blog posts stay as they are. What belongs to each theme gets set up again: section and block settings, colors and fonts, theme text, templates, and code an app added to the old theme. (Source: Shopify Help Center, &lt;a href="https://help.shopify.com/en/manual/online-store/themes/adding-themes" rel="noopener noreferrer"&gt;Adding, previewing, and buying themes&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;A safe switch takes four steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add the new theme on your Themes page. It arrives in Draft themes, so shoppers still see your current theme.&lt;/li&gt;
&lt;li&gt;Set up its sections and settings, then preview a product page and the cart on your phone.&lt;/li&gt;
&lt;li&gt;Publish. Your old theme stays in your draft themes, so you can switch back.&lt;/li&gt;
&lt;li&gt;Check your apps, because code an app added to the old theme doesn't carry over.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Debutify theme: what you get for $299
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;About 30 Shopify themes, each a real built store.&lt;/li&gt;
&lt;li&gt;$299 one time for one store, with no recurring fee. The license does not expire.&lt;/li&gt;
&lt;li&gt;Free switching between the themes, free theme updates, and a free change of the store on your license from the Debutify dashboard.&lt;/li&gt;
&lt;li&gt;Made by the same team since 2017. More than 655,000 Shopify merchants have used Debutify.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Debutify's team can also set up your store, for $400 per store on top of the license. You ask support, and they send a payment link. Setup covers up to 25 products and 5 collections, your pages, logo and brand colors, help to set up payments and shipping, and your domain, if you have one. Shopify's identity and bank checks stay yours to finish.&lt;/p&gt;

&lt;p&gt;One license covers one store, so each extra store needs its own license.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Black Friday sale, until 30 Nov&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Debutify theme is &lt;strong&gt;$199&lt;/strong&gt; &lt;del&gt;$299&lt;/del&gt; for every buyer, from 23 Nov to 30 Nov 2026. The sale price is applied at checkout, so there is no code to type.&lt;/p&gt;

&lt;p&gt;The first 100 buyers who ask for it also get a free store setup by Debutify's team, worth $400. Ask for your free setup in a support ticket within 15 days of buying. Free setup ends on 30 Nov 2026 or when 100 stores have asked for it, whichever comes first. After that, store setup is $400 per store, on top of the license.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://debutify.com/?ref=shivanshelegance" rel="noopener noreferrer"&gt;Get the Black Friday price on Debutify&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://debutify.com/?ref=shivanshelegance" rel="noopener noreferrer"&gt;Get the Debutify theme: $299 one time for one store&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you launch: a checklist for your first store
&lt;/h2&gt;

&lt;p&gt;Whatever theme you pick, check these before you take the password off your store:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your returns, privacy, shipping and terms pages are filled in and linked from the footer.&lt;/li&gt;
&lt;li&gt;Payments are set up and out of test mode, and your shipping rates cover every place you sell to.&lt;/li&gt;
&lt;li&gt;You've placed a test order yourself, so you've seen checkout work from start to finish. Shopify explains how in &lt;a href="https://help.shopify.com/en/manual/checkout-settings/test-orders" rel="noopener noreferrer"&gt;Placing test orders&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You've checked a product page, the cart and checkout on your own phone.&lt;/li&gt;
&lt;li&gt;On launch day, password protection is off, so shoppers can reach the store.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Which Shopify theme is best for dropshipping?
&lt;/h3&gt;

&lt;p&gt;The best Shopify theme for dropshipping looks like a real brand on a phone, has the common sales tools built in, stays fast with your own photos and apps, and lets you switch later. For most dropshippers I'd suggest the Debutify theme: about 30 Shopify themes for $299 one time for one store, each a real built store you can visit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do I pay for the Debutify theme every month?
&lt;/h3&gt;

&lt;p&gt;No. The Debutify theme is $299 one time for one store, with no monthly or yearly fee, and the license does not expire. Some older pages online still show Debutify's earlier monthly prices. You pay once, by card through Stripe, and switching between its themes stays free.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is a free Shopify theme good enough to start?
&lt;/h3&gt;

&lt;p&gt;Yes, a free Shopify theme is enough to test whether a product sells. &lt;a href="https://themes.shopify.com/themes/dawn/presets/dawn" rel="noopener noreferrer"&gt;Dawn&lt;/a&gt; and &lt;a href="https://themes.shopify.com/themes/horizon/presets/horizon" rel="noopener noreferrer"&gt;Horizon&lt;/a&gt; are free and made by Shopify. Move to a paid theme once you know what you'll sell and start adding apps for tools a theme could include, such as a free shipping bar or bundles.&lt;/p&gt;

&lt;h3&gt;
  
  
  How much does a Shopify theme cost?
&lt;/h3&gt;

&lt;p&gt;Shopify's own themes are free. Premium themes on the Shopify Theme Store are a one-time payment per theme: on 26 Nov 2026, &lt;a href="https://themes.shopify.com/themes/prestige/presets/prestige" rel="noopener noreferrer"&gt;Prestige was $400&lt;/a&gt; and &lt;a href="https://themes.shopify.com/themes/impulse/presets/impulse" rel="noopener noreferrer"&gt;Impulse was $500&lt;/a&gt;. The Debutify theme is $299 one time for one store and covers about 30 themes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Which Shopify theme is the fastest?
&lt;/h3&gt;

&lt;p&gt;No Shopify theme is the fastest for every store, because your photos, apps and fonts change the result. Test the theme's own store in PageSpeed Insights on mobile, test your store again once your products and apps are in, and watch Shopify's web performance reports after you publish.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does changing my Shopify theme affect SEO?
&lt;/h3&gt;

&lt;p&gt;It can, but your web addresses don't change. Your product, collection and page URLs belong to your Shopify store, not the theme. What can change is the layout, the headings and text the new theme shows, and code an app added to the old theme. Check your main pages after you switch.&lt;/p&gt;

&lt;h3&gt;
  
  
  How many apps do I need for a dropshipping store?
&lt;/h3&gt;

&lt;p&gt;A dropshipping store needs as few apps as you can manage. Start with your supplier's app and a reviews app, because star ratings need one. Then add an app only for a job your theme can't do, and remove apps you stop using, because their leftover code can stay on your pages.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is dropshipping dead in 2026?
&lt;/h3&gt;

&lt;p&gt;No, but it is crowded. Many stores sell the same products with the same supplier photos, so a store has to stand out on brand, trust and service. A theme helps with how the store looks. Your product, photos, ads and delivery times decide the rest.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can you make $10K a month on Shopify?
&lt;/h3&gt;

&lt;p&gt;Some store owners do, and most don't. The product, its margin, your ads and your service decide it, not the theme. A theme helps your store look trustworthy and can save you app bills, but it can't promise sales. Be wary of anyone who promises you an income from a store.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick a theme you've already seen working
&lt;/h2&gt;

&lt;p&gt;A theme won't sell a product nobody wants, but it can stop a good one from looking like every other store. Visit the real built stores, pick the layout closest to what you sell, and check it on your phone before you pay.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://debutify.com/?ref=shivanshelegance" rel="noopener noreferrer"&gt;Visit Debutify and pick your theme&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>shopify</category>
      <category>opensource</category>
    </item>
    <item>
      <title>I built a breath-hold trainer that does not trust the stopwatch</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Sat, 21 Nov 2026 20:48:33 +0000</pubDate>
      <link>https://dev.to/chintanonweb/i-built-a-breath-hold-trainer-that-does-not-trust-the-stopwatch-4236</link>
      <guid>https://dev.to/chintanonweb/i-built-a-breath-hold-trainer-that-does-not-trust-the-stopwatch-4236</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;DRY STATIC&lt;/strong&gt; is a dry breath-hold trainer for freedivers that checks each hold with the camera instead of trusting a stopwatch.&lt;/p&gt;

&lt;p&gt;Freedivers train on land every day with CO2 and O2 tables: a set of timed holds and rests, done seated or lying down, never in water. Today's table apps are timers. You tap to say the hold started, you tap for your first contraction, you tap when it ends. Nothing checks whether the hold was real, whether you sneaked a breath, or when the involuntary diaphragm contractions began.&lt;/p&gt;

&lt;p&gt;DRY STATIC runs the same tables, but it watches the breathing waveform from the SmartSpectra SDK while each hold runs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A hold is verified, not assumed.&lt;/strong&gt; During a real hold the chest and abdomen traces go flat. Each hold ends as &lt;code&gt;verified&lt;/code&gt;, &lt;code&gt;breath detected&lt;/code&gt;, or &lt;code&gt;partly readable&lt;/code&gt;, with the share of the hold the camera could actually see.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contraction marks (experimental).&lt;/strong&gt; Diaphragm contractions show up as short jerks in the abdominal trace. The app marks them and scores the marks against your own taps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pulse only after the hold.&lt;/strong&gt; The SDK's pulse is a 12-second average, so showing it mid-hold would misstate when it was measured. It appears in the round summary, with the drop across the hold.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no dashboard, no streaks and no score. Each round gets a strip chart and at most three plain sentences.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/_0VPJ1tMpZU" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;The video plays the bundled replay (a synthetic recording, labeled as such in the app) at 4x speed, then shows the analyzer output from a real session of three dry holds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/chintandb" rel="noopener noreferrer"&gt;
        chintandb
      &lt;/a&gt; / &lt;a href="https://github.com/chintandb/dry-static" rel="noopener noreferrer"&gt;
        dry-static
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;DRY STATIC&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;A dry apnea table trainer for freedivers that uses the camera to check each hold.&lt;/p&gt;
&lt;p&gt;Freedivers train breath-holds on land with CO2 and O2 tables: a fixed series of timed holds and rests, done seated or lying down. Most table apps are a stopwatch, and nothing checks the hold itself. A small breath, a pause to talk, or a lost camera view all pass unnoticed. DRY STATIC reads the breathing traces from the Presage SmartSpectra SDK and uses them for three things: it checks that each hold stayed still, it marks diaphragm contractions (experimental), and it shows how your pulse changed after each hold.&lt;/p&gt;
&lt;p&gt;It is a desktop app built with Electron and TypeScript. It runs on macOS with Apple Silicon and needs Node.js 20 or newer.&lt;/p&gt;
&lt;p&gt;Demo video (2:54): &lt;a href="https://github.com/chintandb/dry-static/docs/demo.mp4" rel="noopener noreferrer"&gt;docs/demo.mp4&lt;/a&gt;. It plays the bundled synthetic recording at 4x speed, then shows the analyzer output from a…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/chintandb/dry-static" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Try it with no key and no camera:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/chintandb/dry-static.git
&lt;span class="nb"&gt;cd&lt;/span&gt; dry-static
npm install
npm run replay   &lt;span class="c"&gt;# bundled synthetic recording&lt;/span&gt;
npm &lt;span class="nb"&gt;test&lt;/span&gt;         &lt;span class="c"&gt;# 186 tests, no camera or key&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Live mode: &lt;code&gt;cp .env.example .env&lt;/code&gt;, add your &lt;code&gt;PRESAGE_API_KEY&lt;/code&gt;, then &lt;code&gt;npm start&lt;/code&gt;. macOS arm64.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Signals used:&lt;/strong&gt; chest breathing trace, abdominal breathing trace, breathing rate, pulse rate, and the talking flag. If the key refuses that set, the app falls back to the three breathing metrics alone. It also listens to the SDK's validation codes and hints.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens in real time:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Framing.&lt;/strong&gt; The SDK's validation hints ("move back", "chest not visible" and so on) are turned into one short instruction. Continue unlocks only after the SDK reports a good view for 3 s and both breathing traces are arriving.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Settle-in, 45 s.&lt;/strong&gt; The app learns how big your normal breathing is on each trace, picks the cleaner one, and records your resting pulse.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;During each hold&lt;/strong&gt; a status chip updates live:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;HOLD VERIFIED&lt;/code&gt; while the trace stays flat.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;BREATH DETECTED&lt;/code&gt; if the trace moves away from its recent baseline by more than 0.4x your normal breathing size for at least 0.4 s. The baseline is a trailing 12 s median, so a quick exhale-and-sip shows up instead of being averaged away.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;NOT READABLE&lt;/code&gt; when samples stop for more than 1.5 s, the SDK's validation code stays bad for more than 1.5 s, or the SDK reports talking. A hold is never smoothed over.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;After each hold:&lt;/strong&gt; the verdict, your pulse curve and drop, and your breathing rate as it recovers.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Integration.&lt;/strong&gt; It is an Electron app. The renderer runs the SmartSpectra Node SDK on the camera stream, and the main process holds the API key and the SDK's IPC bridge, so the key never reaches the page. The renderer is sandboxed. Every packet is timestamped on the SDK clock, and taps are mapped onto that clock through a median offset, so marks and taps line up. Telemetry is off. The same detectors run offline over recorded sessions (&lt;code&gt;npm run analyze&lt;/code&gt;), which is how they were tested.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What a real session showed.&lt;/strong&gt; I recorded three real dry holds (27 s, 13 s, 27 s):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Hold verdicts&lt;/td&gt;
&lt;td&gt;3 of 3 verified, 98–99.5% of each hold readable, 30 Hz, no gap over 0.03 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pulse drop&lt;/td&gt;
&lt;td&gt;−7.7 and −17.3 BPM (round 1 had no pulse reading before the hold)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Contraction marks vs my taps&lt;/td&gt;
&lt;td&gt;0 of 6 matched. My waist was out of frame, so there was no abdominal trace&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The first version flagged all three real holds as breaths. Two things from the real data changed the detector:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The chest kept settling for 5 to 8 s after the last inhale, so the first 8 s of a hold are now ignored (it was 3 s).&lt;/li&gt;
&lt;li&gt;A felt contraction moved the chest trace 0.74x my normal breathing size for 1.6 s, which is enough to look like a breath. A short movement (2.5 s or less) next to a contraction tap is now excused, and the round summary lists it instead of hiding it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The pass/fail thresholds were written before any data. Contraction marks failed them, so they stay labeled experimental.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Thoughtful Real-World Use.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The need.&lt;/strong&gt; In apnea training, how long a hold lasted and when contractions started are the main progress markers, and today they are self-reported. A camera that can see a breath makes the training log honest without a chest strap or any extra hardware.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for.&lt;/strong&gt; Freedivers and breath-hold trainees doing dry tables at home, seated, with a laptop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Designed for them:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Safety before the camera.&lt;/strong&gt; Six checks (dry land, seated or lying down, someone nearby, no hyperventilation, stop at the first strong urge) must all be ticked before the camera opens. Holds are capped at 50–60% of your personal best, below the usual top of a classic O2 table, and nothing ever extends a hold. Stop is always one click away.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Honest output.&lt;/strong&gt; Every verdict says how much of the hold was readable. A short movement excused by a contraction tap is still listed. Pulse is never shown during a hold because it lags.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calm interface.&lt;/strong&gt; One chip, one trace, a big timer. No rankings and no streaks that would push someone to hold longer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works without a key.&lt;/strong&gt; Replay mode and the offline analyzer let anyone check the detectors without a camera or a trial.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Consent.&lt;/strong&gt; The first screen says what the app does, what the camera is used for, what is stored, and that telemetry is off, before anything opens. The safety screen follows. The camera opens only after both, and only for the length of a session. The app grants camera access (video only, no microphone) to its own bundled page and denies every other permission request.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is stored.&lt;/strong&gt; Only numbers: breathing trace values, breathing rate, pulse rate, the talking flag, the SDK's validation codes, and the app's own timings (hold start and end, taps). No video, no images, no face data, and no text are stored.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where.&lt;/strong&gt; Everything stays on the Mac, in the app's data folder (&lt;code&gt;~/Library/Application Support/dry-static/data&lt;/code&gt;; the About &amp;amp; Data screen shows the exact path): session summaries, recordings of the signal values, and a local count of live minutes used.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sharing.&lt;/strong&gt; Nothing is shared. The SmartSpectra SDK processes the camera feed and contacts Presage for authentication and processing; that is the SDK's own traffic. SDK telemetry is switched off (&lt;code&gt;enableTelemetry: false&lt;/code&gt;), the app requests no Presage cloud insights, and it uses no AI service and makes no other network requests. There is no account, no analytics and no tracker.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Retention and deletion.&lt;/strong&gt; Data stays until you delete it. One "Delete all data" button, on History and on About &amp;amp; Data, removes the whole data folder. CSV and PNG exports are written only to a file you choose.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The key.&lt;/strong&gt; &lt;code&gt;PRESAGE_API_KEY&lt;/code&gt; is read from &lt;code&gt;.env&lt;/code&gt; or the environment in the main process. It is never logged, never shown, and never written into a recording. &lt;code&gt;.env&lt;/code&gt; is git-ignored.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Not a medical device.&lt;/strong&gt; DRY STATIC is a training aid for dry breath-hold practice. It does not measure oxygen or carbon dioxide, it cannot detect a blackout, and it is not a safety device. Never use it in or near water. People with heart, lung, blood-pressure or seizure conditions, and anyone pregnant, should talk to a doctor before starting breath-hold training. SmartSpectra metrics are for general wellness and informational purposes only and have not been cleared by the FDA.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>presagechallenge</category>
      <category>ai</category>
      <category>programming</category>
    </item>
    <item>
      <title>I rebuilt Alan Turing's Bombe as a game where code-breaking turns dark to light</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Mon, 08 Jun 2026 19:14:13 +0000</pubDate>
      <link>https://dev.to/chintanonweb/i-rebuilt-alan-turings-bombe-as-a-game-where-code-breaking-turns-dark-to-light-11co</link>
      <guid>https://dev.to/chintanonweb/i-rebuilt-alan-turings-bombe-as-a-game-where-code-breaking-turns-dark-to-light-11co</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/june-game-jam-2026-06-03"&gt;June Solstice Game Jam&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://chintandb.github.io/the-longest-day/" rel="noopener noreferrer"&gt;The Longest Day&lt;/a&gt;&lt;/strong&gt; is a code-breaking game for the longest day of the year — and an ode to Alan Turing.&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.amazonaws.com%2Fuploads%2Farticles%2F0yosc8mo99x58dj6b97k.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%2F0yosc8mo99x58dj6b97k.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You play a cryptanalyst working a single solstice day, from dawn to the long midsummer midnight. Intercepted messages arrive as cold, dim letters against the dark. You decrypt them by hand — and the instant a key falls into place, the message warms from blue to gold and the whole scene fills with light. &lt;strong&gt;Decryption &lt;em&gt;is&lt;/em&gt; illumination.&lt;/strong&gt; That one idea ties the jam's themes together: light and darkness, and the passage of a single, lengthening day.&lt;/p&gt;

&lt;p&gt;It's built around the theme on three levels at once:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Light and darkness&lt;/strong&gt; — you literally turn dark into light by solving each cipher.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The passage of time&lt;/strong&gt; — the sun arcs across the sky as your clock; the palette shifts dawn → noon → dusk → night as you progress.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An ode to Turing&lt;/strong&gt; — every cipher is real, the finale faithfully recreates Turing's Bombe, and the story honours the man himself. June is his birth month; the jam is held during Pride; and his story is inseparable from light and dark.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Video Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/uMs36pCCVIY"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/chintandb" rel="noopener noreferrer"&gt;
        chintandb
      &lt;/a&gt; / &lt;a href="https://github.com/chintandb/the-longest-day" rel="noopener noreferrer"&gt;
        the-longest-day
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🌅 The Longest Day&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;A code-breaking game for the longest day of the year. An ode to Alan Turing.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A submission for the &lt;a href="https://dev.to/challenges/june-game-jam-2026-06-03" rel="nofollow"&gt;DEV June Solstice Game Jam&lt;/a&gt; — prize category: &lt;strong&gt;Best Ode to Alan Turing&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;You play a cryptanalyst working a single solstice day, from dawn to the long midsummer midnight. Intercepted signals arrive as pulses of light. You decrypt them by hand — and as each correct key falls into place, the dark message warms into gold. The day is a ladder through the real history of cryptanalysis, ending at the machine Turing built to win the war: the Bombe.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Play&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm install
npm run dev      &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; play locally&lt;/span&gt;
npm &lt;span class="pl-c1"&gt;test&lt;/span&gt;         &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; run the cryptanalysis + UI test suite&lt;/span&gt;
npm run build    &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; production build (dist/)&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;The day, hour by hour&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;Cipher&lt;/th&gt;
&lt;th&gt;What you learn&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Dawn&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Caesar shift&lt;/td&gt;
&lt;td&gt;Turn a dial to undo a uniform shift.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;…&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/chintandb/the-longest-day" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;No framework, no API keys — vanilla JS, an HTML5 Canvas for the atmosphere, and Vite. I wanted the repo to be clean enough to read top-to-bottom, and the game to run anywhere from a single static build.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The architecture is split by responsibility, and the hard part is tested.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;cipher/&lt;/code&gt; holds pure, unit-tested implementations of each cipher: Caesar, substitution (with frequency analysis), Vigenère, a simplified &lt;strong&gt;rotor machine (mini-Enigma)&lt;/strong&gt;, and the &lt;strong&gt;Bombe logic&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;engine/&lt;/code&gt; is a tiny event-driven state machine: level progression, the day-clock, save/resume.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;render/&lt;/code&gt; draws the canvas atmosphere — a gradient sky, a sun riding an arc, a star field that emerges at dusk, and a prism that splits light into a spectrum at the end.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ui/&lt;/code&gt; is the interactive workbench: a rotary dial, a frequency histogram, rotor wheels, the Bombe lattice, and the message display that lights letter by letter.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The day is a history of cryptanalysis.&lt;/strong&gt; Each level steps forward in time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Dawn — Caesar.&lt;/strong&gt; A dial undoes a uniform shift. It teaches the core feel: get it right, and the message blooms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Morning — Substitution.&lt;/strong&gt; Every letter wears a mask. You break it with &lt;strong&gt;frequency analysis&lt;/strong&gt; — the game shows how often each cipher letter appears against typical English, and you map the tallest bars (E, T, A, O…) until words resolve.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Midday — Rotor machine.&lt;/strong&gt; A new alphabet for every letter. Unreadable by hand — but you're given a &lt;strong&gt;crib&lt;/strong&gt;, a word you know must appear, and you set the rotors until it surfaces.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dusk — The Light Bombe.&lt;/strong&gt; The finale, and the part I'm proudest of.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Recreating the Bombe.&lt;/strong&gt; Turing's Bombe didn't find the Enigma key by trying to be right; it found it by &lt;em&gt;ruling out everything that was wrong&lt;/em&gt;. I rebuilt that idea honestly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An Enigma reflector means &lt;strong&gt;no letter can ever encrypt to itself.&lt;/strong&gt; So if you place a crib against the ciphertext and any crib letter sits above its own twin, that placement is impossible — a "clash." In the game you slide the crib until there are no clashes. (This is a real technique the codebreakers used.)&lt;/li&gt;
&lt;li&gt;Then you &lt;strong&gt;run the Bombe&lt;/strong&gt;: it sweeps all 676 rotor start positions, and every setting that contradicts the crib flares red and dies. The single consistent setting survives, glowing white. You click it, and the final message dawns.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One nice problem I had to solve: with my finale message there are 27 clash-free crib placements but only one actually yields a consistent rotor setting — so a naïve player could face 27 full Bombe runs. Rather than hand them the answer, I made a failed run report whether the true placement lies &lt;em&gt;earlier&lt;/em&gt; or &lt;em&gt;later&lt;/em&gt;. That turns a blind linear search into a quick binary search — which felt fitting for a game about Turing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Testing.&lt;/strong&gt; The cryptography was built test-first (31 tests in total): encrypt/decrypt round-trips, the rotor machine's self-reciprocity and its no-fixed-point reflector, the Bombe's contradiction elimination and clash rule, the engine's progression to completion, and DOM integration tests that &lt;em&gt;solve each level through real user interaction&lt;/em&gt; and assert the message lights up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The ending.&lt;/strong&gt; When the last cipher breaks, the longest day tips into the shortest night, and the game closes quietly on Turing himself — the dawn he helped win for the world, and the darkness that later took him, persecuted for being gay. The final image is light refracting through a prism. The solstice always turns; the light comes back.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Category
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Ode to Alan Turing.&lt;/strong&gt; The game is a tribute to Turing through its &lt;em&gt;mechanics&lt;/em&gt;, its &lt;em&gt;narrative&lt;/em&gt;, and its &lt;em&gt;design&lt;/em&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mechanics&lt;/strong&gt; — real ciphers, culminating in a faithful, playable recreation of his Bombe: the crib, the no-self-encryption rule, and deduction by elimination of contradictions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Narrative&lt;/strong&gt; — his story is woven through the light: code-breaking in secrecy, the dawn he won, and the injustice that followed. Held with dignity, never sensationalised.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Design&lt;/strong&gt; — set on the solstice in his birth month, during Pride, with light and darkness as both the puzzle and the metaphor.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Images&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.amazonaws.com%2Fuploads%2Farticles%2Fn4l75whh0mxek4pzer0z.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%2Fn4l75whh0mxek4pzer0z.png" alt=" " width="800" height="450"&gt;&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.amazonaws.com%2Fuploads%2Farticles%2F933iiir9vuf45x9a250n.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%2F933iiir9vuf45x9a250n.png" alt=" " width="800" height="450"&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fm5gaumsf820d752aztrg.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%2Fm5gaumsf820d752aztrg.png" alt=" " width="800" height="450"&gt;&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.amazonaws.com%2Fuploads%2Farticles%2F03af1iiw1uecqdtytu1d.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%2F03af1iiw1uecqdtytu1d.png" alt=" " width="800" height="450"&gt;&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.amazonaws.com%2Fuploads%2Farticles%2F42q4fyu87zlihsyol2u4.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%2F42q4fyu87zlihsyol2u4.png" alt=" " width="800" height="450"&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Flydh21mx6fqw40qmjy3d.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%2Flydh21mx6fqw40qmjy3d.png" alt=" " width="800" height="450"&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fma6rc4gb3dewo50uohv6.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%2Fma6rc4gb3dewo50uohv6.png" alt=" " width="800" height="450"&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Futjwx0d84cxc65cu65oq.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%2Futjwx0d84cxc65cu65oq.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for playing.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gamechallenge</category>
      <category>gamedev</category>
      <category>ai</category>
    </item>
    <item>
      <title>I had a folder full of dead repos. So I built a graveyard — and a way to raise them.</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Wed, 03 Jun 2026 19:37:53 +0000</pubDate>
      <link>https://dev.to/chintanonweb/i-had-a-folder-full-of-dead-repos-so-i-built-a-graveyard-and-a-way-to-raise-them-383l</link>
      <guid>https://dev.to/chintanonweb/i-had-a-folder-full-of-dead-repos-so-i-built-a-graveyard-and-a-way-to-raise-them-383l</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-05-21"&gt;GitHub Finish-Up-A-Thon Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Try it now — no login:&lt;/strong&gt; &lt;a href="https://chintanonweb.github.io/lazarus/" rel="noopener noreferrer"&gt;https://chintanonweb.github.io/lazarus/&lt;/a&gt; · &lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/chintanonweb/lazarus" rel="noopener noreferrer"&gt;https://github.com/chintanonweb/lazarus&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💡 &lt;strong&gt;In plain English:&lt;/strong&gt; Lazarus turns the side-projects you abandoned on GitHub into a little graveyard you can explore and share — then hands you a step-by-step plan (and ready-to-paste AI prompts) to bring one back to life. No login, no setup. Just type a GitHub username.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;We all have it. The folder. The one on GitHub where good ideas go to die. &lt;code&gt;todo-app-v3&lt;/code&gt;. &lt;code&gt;the-startup&lt;/code&gt;. &lt;code&gt;learn-rust-for-real&lt;/code&gt; (narrator: they did not learn rust).&lt;/p&gt;

&lt;p&gt;I have one too. And the most poetic resident of mine was a file called &lt;strong&gt;&lt;code&gt;graveyard.js&lt;/code&gt;&lt;/strong&gt; —&lt;br&gt;
a ~40-line script I hacked together at 2am to &lt;em&gt;list&lt;/em&gt; my dead repos. It printed a wall of &lt;code&gt;RIP&lt;/code&gt; lines and ended with a comment that aged like milk:&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="c1"&gt;// TODO: epitaphs? a UI? something that isnt ugly? ...finish later&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I never finished it. For the Finish-Up-A-Thon, I finally did. I finished the one project whose entire job is to help me finish all the others.&lt;/p&gt;

&lt;p&gt;It's called &lt;strong&gt;Lazarus&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Lazarus is a zero-login web app that raises your dead GitHub repos.&lt;/strong&gt; Type a username and it:&lt;/p&gt;

&lt;p&gt;🪦 &lt;strong&gt;Digs up your graveyard&lt;/strong&gt; — it scores every repo for &lt;em&gt;abandonment&lt;/em&gt; (how long since you last touched it, how unfinished it looks, how many issues are left open) and renders the dead ones as engraved, tilting tombstones under a cold moon.&lt;/p&gt;

&lt;p&gt;✍️ &lt;strong&gt;Writes the epitaphs&lt;/strong&gt; — every grave gets a &lt;em&gt;cause of death&lt;/em&gt; — scope creep, lost interest, "a shinier idea came along," an honest &lt;code&gt;// TODO&lt;/code&gt; — and a one-line verse.&lt;br&gt;
&lt;em&gt;"It was going to do everything. It did nothing."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;📊 &lt;strong&gt;Wraps it up&lt;/strong&gt; — an &lt;strong&gt;Abandoned Projects Wrapped&lt;/strong&gt; card (think Spotify Wrapped, but for your graveyard) you can download and share: repos buried, % you actually finished, longest cold streak, leading cause of death.&lt;/p&gt;

&lt;p&gt;⚡ &lt;strong&gt;Raises the dead&lt;/strong&gt; — pick a grave and Lazarus generates a &lt;strong&gt;revival plan&lt;/strong&gt;: an autopsy of what's missing (README, tests, CI, license), a prioritized checklist, a downloadable &lt;code&gt;copilot-instructions.md&lt;/code&gt; tailored to that repo, and &lt;strong&gt;copy-paste GitHub Copilot prompts&lt;/strong&gt; that pick up exactly where you gave up.&lt;/p&gt;

&lt;p&gt;No login. No backend. Nothing leaves your browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use it (3 steps)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Open the site and type any GitHub username&lt;/strong&gt; — try your own, or click &lt;strong&gt;"Walk a sample graveyard"&lt;/strong&gt; to explore with demo data first (no account needed).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wander the graveyard.&lt;/strong&gt; Hover a tombstone to read its epitaph, or open your &lt;strong&gt;Wrapped&lt;/strong&gt; card to see your stats and share the image.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Click a grave you actually care about.&lt;/strong&gt; You get its revival plan — a checklist plus prompts you paste straight into &lt;strong&gt;GitHub Copilot Chat&lt;/strong&gt; to finish the project, one step at a time.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's it. Beginners: start with the sample graveyard. Everyone else: brace yourself and type your own username. 🙂&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;🔗 &lt;strong&gt;Live (try the demo button — no auth needed):&lt;/strong&gt; &lt;a href="https://chintanonweb.github.io/lazarus/" rel="noopener noreferrer"&gt;https://chintanonweb.github.io/lazarus/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;The graveyard:&lt;/strong&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.amazonaws.com%2Fuploads%2Farticles%2Fjvcbc82vx2na3slwzs59.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%2Fjvcbc82vx2na3slwzs59.png" alt="The graveyard of abandoned repos rendered as tombstones" width="800" height="863"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Raising a grave — the Copilot revival plan:&lt;/strong&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.amazonaws.com%2Fuploads%2Farticles%2Fs3gb2w6f6boq3voy2xbn.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%2Fs3gb2w6f6boq3voy2xbn.png" alt="A revival plan with a checklist and copy-paste Copilot prompts" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your Abandoned Projects Wrapped (downloadable, shareable):&lt;/strong&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.amazonaws.com%2Fuploads%2Farticles%2Fzrumsqn8fizhujekhn8s.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%2Fzrumsqn8fizhujekhn8s.png" alt="The Abandoned Projects Wrapped share card" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Comeback Story
&lt;/h2&gt;

&lt;p&gt;Here's the actual before and after — and yes, the git history proves it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before&lt;/strong&gt; — &lt;code&gt;graveyard.js&lt;/code&gt;, the 2am hack. One file, &lt;code&gt;console.log&lt;/code&gt;, no UI, a &lt;code&gt;// TODO&lt;/code&gt; it never came back for:&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.amazonaws.com%2Fuploads%2Farticles%2Fthqfzc44kfi3wq1foahm.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%2Fthqfzc44kfi3wq1foahm.png" alt="The original graveyard.js script printing plain RIP lines in a terminal" width="800" height="541"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;After&lt;/strong&gt; — Lazarus: a cinematic graveyard, epitaphs, a shareable Wrapped, and Copilot-powered revival plans.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Before (&lt;code&gt;graveyard.js&lt;/code&gt;)&lt;/th&gt;
&lt;th&gt;After (Lazarus)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Code&lt;/td&gt;
&lt;td&gt;~22 lines, 1 file&lt;/td&gt;
&lt;td&gt;~1,700 lines, 24 files&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Interface&lt;/td&gt;
&lt;td&gt;a wall of &lt;code&gt;console.log&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;animated graveyard + share card&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Output&lt;/td&gt;
&lt;td&gt;repo names + days&lt;/td&gt;
&lt;td&gt;epitaphs, causes of death, &lt;strong&gt;revival plans&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tests&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;25 passing&lt;/strong&gt; &lt;em&gt;(automated checks that catch bugs)&lt;/em&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CI&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;GitHub Actions&lt;/strong&gt; &lt;em&gt;(runs those checks on every change)&lt;/em&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shareable&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;downloadable &lt;em&gt;Wrapped&lt;/em&gt; card&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Actually finishes anything&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;generates Copilot revival plans&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The hardest part wasn't the tombstones. It was the &lt;strong&gt;scoring engine&lt;/strong&gt; — turning "this repo &lt;em&gt;feels&lt;/em&gt; dead" into something honest: days since last push, missing README/license/topics, open issues left hanging, and the tell-tale last-commit message (&lt;code&gt;wip&lt;/code&gt;, &lt;code&gt;fix later&lt;/code&gt;, &lt;code&gt;giving up for tonight&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;I kept that logic &lt;em&gt;deterministic&lt;/em&gt; — meaning the same repo always gets the same epitaph, never a random one on reload — by writing it as small, self-contained functions I could test in isolation.&lt;/p&gt;

&lt;p&gt;I also did the meta thing: I made the repo &lt;em&gt;itself&lt;/em&gt; finished. README, MIT license, and a pipeline that automatically runs the tests every time I push. The tool that nags you to add a README has a README.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with GitHub Copilot
&lt;/h2&gt;

&lt;p&gt;Copilot didn't write Lazarus. It got me &lt;em&gt;unstuck&lt;/em&gt; — which, for an abandoned project, is the whole game. Three concrete moments:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. It reverse-engineered my own dead code.&lt;/strong&gt; The first thing I did was point Copilot Chat at &lt;code&gt;graveyard.js&lt;/code&gt; and ask, &lt;em&gt;"what was I trying to build here and what's half-finished?"&lt;/em&gt; It read the &lt;code&gt;// TODO&lt;/code&gt; and laid out exactly the four things past-me had given up on. That became the actual roadmap — and, fittingly, the same "re-read the code and tell me where I left off" prompt is now the &lt;strong&gt;first&lt;/strong&gt; prompt Lazarus generates for every revival. The feature is the workflow that built it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. I wrote a &lt;code&gt;copilot-instructions.md&lt;/code&gt; first, and the quality jumped.&lt;/strong&gt; That's a small file that tells Copilot the rules of your project. I gave it mine — the two fonts, the color palette, "keep the logic separate from the UI" — and suggestions stopped fighting my architecture and started matching it. So I baked that lesson into the product: &lt;strong&gt;Lazarus generates a tailored &lt;code&gt;copilot-instructions.md&lt;/code&gt; for whichever repo you're reviving.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The honest failure.&lt;/strong&gt; I asked Copilot to write the epitaph generator and it reached for &lt;code&gt;Math.random()&lt;/code&gt; — so every page reload reshuffled every epitaph. Cute, useless. I pushed back: epitaphs have to be &lt;em&gt;stable&lt;/em&gt;. We landed on a tiny math trick that turns each repo's ID into a fixed, repeatable "random" pick (it looks random, but never changes). Copilot is fast hands — not a substitute for deciding what "correct" means. The moment I told it the constraint, it nailed the code &lt;em&gt;and&lt;/em&gt; the tests.&lt;/p&gt;

&lt;p&gt;Net: Copilot turned "ugh, I don't even remember how this works" — the exact feeling that kills side projects — into momentum. So I shipped that feeling as a button.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;🔬 Under the hood (for the curious — skip if you just want to play)&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The flow:&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;type a username → fetch their repos from the GitHub REST API → score each repo → render the graveyard → on click, fetch that repo's health signals → build a revival plan&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Design choices:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;scoring / epitaph / wrapped / revival&lt;/strong&gt; logic are &lt;em&gt;pure functions&lt;/em&gt; — no UI, no network calls inside them — which makes them trivial to unit-test. &lt;strong&gt;25 Vitest tests&lt;/strong&gt; cover them.&lt;/li&gt;
&lt;li&gt;The "stable random" epitaphs use an &lt;strong&gt;FNV-1a hash&lt;/strong&gt; feeding a &lt;strong&gt;mulberry32&lt;/strong&gt; PRNG, seeded by the repo ID — deterministic by design.&lt;/li&gt;
&lt;li&gt;It's &lt;strong&gt;100% client-side&lt;/strong&gt;: &lt;strong&gt;React + Vite + TypeScript + Tailwind + framer-motion&lt;/strong&gt;. No backend, no database, no API keys. Unauthenticated requests use GitHub's public API; an optional read-only token unlocks private repos and higher rate limits — and it never leaves your browser.&lt;/li&gt;
&lt;li&gt;Shipped on &lt;strong&gt;GitHub Pages&lt;/strong&gt;, with &lt;strong&gt;GitHub Actions&lt;/strong&gt; running the tests + build on every push.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  What's rotting in &lt;em&gt;your&lt;/em&gt; GitHub?
&lt;/h3&gt;

&lt;p&gt;Go find out — it takes one username and zero logins: &lt;a href="https://chintanonweb.github.io/lazarus/" rel="noopener noreferrer"&gt;https://chintanonweb.github.io/lazarus/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then tell me your worst grave in the comments. Mine's a 6-year-old blog with three posts and a &lt;code&gt;// TODO&lt;/code&gt; from a person I no longer am. 🪦&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Hermes Agent Gets Smarter Every Day. So Does the Bill.</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Sat, 30 May 2026 16:45:58 +0000</pubDate>
      <link>https://dev.to/chintanonweb/hermes-agent-gets-smarter-every-day-so-does-the-bill-4i8o</link>
      <guid>https://dev.to/chintanonweb/hermes-agent-gets-smarter-every-day-so-does-the-bill-4i8o</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hermes-agent-2026-05-15"&gt;Hermes Agent Challenge&lt;/a&gt;: Write About Hermes Agent&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Hermes Agent Gets Smarter Every Day. So Does the Bill.
&lt;/h1&gt;

&lt;p&gt;Most write-ups about &lt;a href="https://hermes-agent.nousresearch.com/" rel="noopener noreferrer"&gt;Hermes Agent&lt;/a&gt; tell you the same true thing: it's a self-improving, self-hosted agent that learns across sessions and gets better the longer it runs. That's accurate. It's also the easy half of the story.&lt;/p&gt;

&lt;p&gt;The half almost nobody writes is this: &lt;strong&gt;a system that compounds capability compounds everything else too — cost, drift, and the size of the trust you've extended it.&lt;/strong&gt; Self-improvement is not a free upgrade that arrives while you sleep. It's a loan. The agent draws down capability now and bills you later in tokens you didn't predict, skills you didn't review, and code running on your server that you didn't write.&lt;/p&gt;

&lt;p&gt;I want to give that second half an honest, engineering treatment — the kind I'd want before putting an autonomous agent on a box I own. If you're new to agents, the first two sections bring you up to speed in plain language. If you've already deployed a few, skip to "The liability side," which is where the interesting, under-discussed problems live.&lt;/p&gt;

&lt;p&gt;The thesis in one line: &lt;strong&gt;Hermes is the most honest implementation of compounding autonomy I've seen — and compounding is exactly the property you have to manage, not just enjoy.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hermes's superpower is &lt;em&gt;compounding&lt;/em&gt;: it writes its own reusable &lt;strong&gt;skills&lt;/strong&gt; (plain markdown) and reuses them, so the cost of re-solving a task trends toward zero.&lt;/li&gt;
&lt;li&gt;Compounding is a &lt;em&gt;property&lt;/em&gt;, not a feature — the same loop also compounds &lt;strong&gt;cost drift&lt;/strong&gt;, &lt;strong&gt;skill rot/drift&lt;/strong&gt;, and your &lt;strong&gt;trust surface&lt;/strong&gt;. Those three are what every popular write-up skips.&lt;/li&gt;
&lt;li&gt;The good news: because the learning is &lt;em&gt;legible&lt;/em&gt; (readable files, queryable memory), it's governable. Below is a failure-mode taxonomy, an illustrative cost model, and a 6-step framework you can apply this week.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  First, plainly: what actually makes Hermes different
&lt;/h2&gt;

&lt;p&gt;If you've only used chatbots, here's the one idea that matters.&lt;/p&gt;

&lt;p&gt;A normal LLM call is &lt;strong&gt;stateless&lt;/strong&gt;. You ask, it answers, the slate wipes. Tomorrow it has forgotten not just your name but the entire solution it worked out for you an hour ago. Every session pays full price to rediscover what it already knew.&lt;/p&gt;

&lt;p&gt;Hermes is built around the opposite assumption. It runs as a &lt;strong&gt;long-lived process on infrastructure you control&lt;/strong&gt; — a VPS, a Docker container, an SSH host, a serverless backend. Because it's a process and not a request, it can keep things between sessions. Specifically, three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Memory&lt;/strong&gt; — a searchable record of past sessions (Hermes uses SQLite full-text search plus LLM summarization to keep it from bloating), so it can recall what happened last Tuesday.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skills&lt;/strong&gt; — and this is the part that changes the game. When Hermes works out &lt;em&gt;how&lt;/em&gt; to do something, it can write that procedure down as a &lt;strong&gt;plain markdown file&lt;/strong&gt; in its skills directory, then load and reuse it later. Skills are not a vector database and not fine-tuning. They are readable, version-controllable files: instructions the agent wrote for its future self.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A loop&lt;/strong&gt; — the agent is nudged to curate that memory and refine those skills &lt;em&gt;while it works&lt;/em&gt;, not in some offline training run.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's the whole magic, demystified:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        ┌─────────────────────────────────────────────┐
        │                                             │
        ▼                                             │
   ┌─────────┐    do the task    ┌──────────────┐     │
   │  task   │ ───────────────▶  │  reasoning   │     │
   └─────────┘                   └──────┬───────┘     │
                                        │             │
                            "this worked, keep it"    │
                                        ▼             │
                              ┌───────────────────┐   │
                              │  write / refine   │   │
                              │  a SKILL (.md)    │───┘
                              └───────────────────┘
            next time the task appears, load the skill
            instead of re-deriving the solution
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The skill file itself is unglamorous on purpose. Conceptually:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="nn"&gt;---&lt;/span&gt;
&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;weekly-revenue-brief&lt;/span&gt;
&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Assemble the Monday revenue summary for the team&lt;/span&gt;
&lt;span class="nn"&gt;---&lt;/span&gt;

&lt;span class="p"&gt;1.&lt;/span&gt; Pull last 7 days of orders from the data source.
&lt;span class="p"&gt;2.&lt;/span&gt; Compare against the prior 7 days; flag any metric moving &amp;gt;15%.
&lt;span class="p"&gt;3.&lt;/span&gt; Summarize in 5 bullets, lead with the biggest mover.
&lt;span class="p"&gt;4.&lt;/span&gt; Deliver to the #leadership channel before 9am.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first time, the agent reasons its way to that procedure from scratch — expensive, slow, uncertain. Every time after, it loads four lines of markdown and executes. That is the compounding asset. &lt;strong&gt;Re-derivation cost drops toward zero.&lt;/strong&gt; Hold onto that sentence; it's the hinge of everything that follows.&lt;/p&gt;




&lt;h2&gt;
  
  
  The asset side: why compounding is genuinely valuable
&lt;/h2&gt;

&lt;p&gt;It's worth being concrete about &lt;em&gt;why&lt;/em&gt; this is more than a nice feature, because the value is what justifies tolerating the costs later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Re-derivation is the silent tax of stateless agents.&lt;/strong&gt; Think about what a stateless agent actually spends tokens on. A huge fraction is re-establishing context and re-solving solved problems. A skill is a cache for &lt;em&gt;reasoning&lt;/em&gt;, not just data. Once "how to assemble the Monday brief" is a skill, the model spends its tokens executing a known plan instead of inventing one. Fewer tokens, fewer steps, fewer chances to wander.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The artifacts are inspectable.&lt;/strong&gt; Because skills are markdown and memory is a queryable store, you can actually &lt;em&gt;read&lt;/em&gt; what your agent has learned. Compare that to fine-tuning, where "what the model learned" is diffused across billions of weights you can't audit. Hermes's learning is legible. (This matters enormously later, when we talk about governance — you can't govern what you can't read.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. It parallelizes.&lt;/strong&gt; Hermes can spawn isolated subagents with their own execution context, so a long task can fan out (one subagent drafts while the main agent compiles) and the results fold back in. Pair that with &lt;strong&gt;natural-language scheduling&lt;/strong&gt; ("every morning at 8, brief me on yesterday's numbers") and you stop operating a tool. You start running a process.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. You own the whole thing.&lt;/strong&gt; MIT-licensed, on your hardware, model-agnostic (swap providers when one has an outage or a better price). No vendor can deprecate your agent out from under you.&lt;/p&gt;

&lt;p&gt;Put together, the promise is real: an agent that's &lt;em&gt;cheaper per task and more capable per week&lt;/em&gt; than the one you started with. The mistake is to stop the analysis there. The same mechanism that delivers all of that (persistent, self-authored, compounding artifacts) is also the one behind the bills nobody itemizes.&lt;/p&gt;




&lt;h2&gt;
  
  
  The liability side: three bills that also compound
&lt;/h2&gt;

&lt;p&gt;Here's the reframe. Compounding is not a feature; it's a &lt;strong&gt;property of the system&lt;/strong&gt;. And properties don't take sides. The same loop that compounds capability compounds three liabilities, and they're the three things the popular write-ups skip.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bill #1 — Cost drift
&lt;/h3&gt;

&lt;p&gt;The happy story says self-improvement makes the agent cheaper. Often true &lt;em&gt;per task&lt;/em&gt;. But two things move in the other direction at the same time, and they can win.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Skills accumulate, and accumulation has a context cost.&lt;/strong&gt; Skills are loaded into context to be used. A library of 5 skills is free; a library of 300 unpruned skills means more discovery overhead, more tokens spent deciding &lt;em&gt;which&lt;/em&gt; skill applies, and more surface for the wrong one to fire. Capability compounds — and so does the per-call overhead of having that much capability available.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autonomy removes the natural brake.&lt;/strong&gt; A stateless chatbot only costs money when you type. A scheduled, always-on agent that delegates to subagents costs money when you're asleep. One entrant in this very challenge wrote about waking up to a &lt;strong&gt;$47 surprise bill&lt;/strong&gt; from an overnight run — that's not an exotic failure, it's the default behavior of an unsupervised loop meeting a recursive task.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Doing the math (an illustrative model, not a benchmark).&lt;/strong&gt; Numbers make this concrete. Take one recurring task and price it at illustrative blended rates of &lt;strong&gt;$3 per million input tokens&lt;/strong&gt; and &lt;strong&gt;$15 per million output tokens&lt;/strong&gt;. The point isn't the exact figures — it's the &lt;em&gt;shape&lt;/em&gt; of the curve.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Marginal cost per run — the asset side working as advertised:&lt;/em&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mode&lt;/th&gt;
&lt;th&gt;Input tok&lt;/th&gt;
&lt;th&gt;Output tok&lt;/th&gt;
&lt;th&gt;Cost / run&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Stateless re-derivation (re-plan every time)&lt;/td&gt;
&lt;td&gt;9,000&lt;/td&gt;
&lt;td&gt;2,500&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.065&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Skill-cached execution (load the skill, run it)&lt;/td&gt;
&lt;td&gt;3,500&lt;/td&gt;
&lt;td&gt;900&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.024&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That's ~63% cheaper per run once the skill exists. Real, and worth having. But now let time pass and watch the two countervailing forces:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The compounding bill — same task, later:&lt;/em&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;Effective in / out tok&lt;/th&gt;
&lt;th&gt;Runs / day&lt;/th&gt;
&lt;th&gt;Daily cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Old stateless chatbot (only runs when you type)&lt;/td&gt;
&lt;td&gt;9,000 / 2,500&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.33&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lean autonomous agent (scheduled, pruned skills)&lt;/td&gt;
&lt;td&gt;3,500 / 900&lt;/td&gt;
&lt;td&gt;30&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.72&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bloated agent (200 unpruned skills add discovery + wrong-skill retries)&lt;/td&gt;
&lt;td&gt;6,000 / 1,400&lt;/td&gt;
&lt;td&gt;80&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$3.12&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two things jumped. First, skill-library bloat &lt;strong&gt;erased part of the per-run savings&lt;/strong&gt; ($0.024 → ~$0.039) because the agent now spends tokens deciding &lt;em&gt;which&lt;/em&gt; of 200 skills applies and occasionally firing the wrong one. Second — and this dominates — &lt;strong&gt;autonomy multiplied the run count&lt;/strong&gt;. The cheapest-per-run configuration can still be the most expensive per &lt;em&gt;month&lt;/em&gt;, and a single runaway recursive night (subagents spawning subagents) turns $3/day into the $47 surprise. That tail isn't in the table because tails never are until they bill you.&lt;/p&gt;

&lt;p&gt;So "self-improvement makes it cheaper" is only half right. Yes, the cost of any single task falls. But the baseline creeps up, the tail risk grows, and whether you actually save money comes down to three unglamorous habits: pruning old skills, capping spend, and keeping the agent on a short leash. None of those happen on their own. You have to do them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bill #2 — Skill drift and silent rot (the maintainability gap)
&lt;/h3&gt;

&lt;p&gt;This is the bill I see discussed almost nowhere, and it's the one that bites at day 90, not day 1.&lt;/p&gt;

&lt;p&gt;A self-authored skill is &lt;strong&gt;code that no human reviewed, with no tests, no owner, and no expiry.&lt;/strong&gt; Now run time forward:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The skill encodes an assumption ("the orders API returns &lt;code&gt;total_price&lt;/code&gt;"). The API changes. The skill doesn't know. It now produces confidently wrong output — and because the agent &lt;em&gt;trusts its own skills&lt;/em&gt;, it doesn't re-derive; it just executes the stale procedure. This is &lt;strong&gt;skill rot&lt;/strong&gt;, and it fails silently.&lt;/li&gt;
&lt;li&gt;The agent refines a skill mid-use based on one noisy success. That's &lt;strong&gt;drift&lt;/strong&gt; — a procedure slowly mutating toward whatever happened to work last time, including coincidences. Self-improvement and overfitting are the same gradient pointed in hopefully-good directions.&lt;/li&gt;
&lt;li&gt;Two skills overlap and quietly contradict each other. Which fires is now a function of retrieval order, not intent.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The deep point: &lt;strong&gt;a self-improving system optimizes for "did this work just now," not "is this still correct."&lt;/strong&gt; Those two questions drift apart over time, and nothing in the loop notices on its own. Legacy code at least holds still while it rots. A self-improving agent's skill set keeps moving, so your mental model of what it does goes stale even faster than the skills themselves.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bill #3 — The trust surface
&lt;/h3&gt;

&lt;p&gt;Strip away the framing and look at what you've actually deployed: &lt;strong&gt;a process that writes new code and persists it on a server you own, then runs that code, on a schedule, with whatever credentials you gave it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's a remarkable amount of capability, and it creates a trust surface most agent write-ups don't name:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Persistence is a feature &lt;em&gt;and&lt;/em&gt; an attacker's dream.&lt;/strong&gt; A poisoned input that convinces the agent to write a malicious skill doesn't vanish at end-of-session. It's now a file that loads every time the relevant trigger appears. Memory and skills turn a one-shot prompt injection into a &lt;em&gt;durable&lt;/em&gt; foothold.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The blast radius is your scopes, not your chat.&lt;/strong&gt; A stateless chatbot that's tricked says something dumb. An autonomous agent that's tricked &lt;em&gt;acts&lt;/em&gt; — with your API keys, your file system, your messaging integrations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sandboxing is a choice, not a default to ignore.&lt;/strong&gt; To Hermes's real credit, it ships multiple execution backends — local, Docker, SSH, Singularity, Modal, Daytona — precisely so you can isolate what the agent can touch. That's the right design. But the safe configuration is the one &lt;em&gt;you&lt;/em&gt; select. "It runs on your server" is liberating and is also the entire threat model in five words.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this means "don't run it." It means the correct emotional posture toward a self-improving agent is the one you'd have toward a sharp, fast, sleep-deprived junior engineer with production access: enormous upside, and you do not skip code review.&lt;/p&gt;




&lt;h2&gt;
  
  
  A failure-mode taxonomy
&lt;/h2&gt;

&lt;p&gt;Naming failure modes is how you get to design against them. Here's the set that actually shows up, mapped to cause and the control that addresses it.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Failure mode&lt;/th&gt;
&lt;th&gt;What it looks like&lt;/th&gt;
&lt;th&gt;Root cause&lt;/th&gt;
&lt;th&gt;Primary control&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cost blowout&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Surprise bill from an overnight/recursive run&lt;/td&gt;
&lt;td&gt;Unbounded autonomy + delegation&lt;/td&gt;
&lt;td&gt;Hard spend cap; step/recursion limits; budget alerts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Skill rot&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Confidently wrong output after an external change&lt;/td&gt;
&lt;td&gt;Stale procedure trusted over re-derivation&lt;/td&gt;
&lt;td&gt;Skill expiry/review dates; smoke tests on critical skills&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Skill drift&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Behavior slowly changes for no clear reason&lt;/td&gt;
&lt;td&gt;Refinement overfit to recent noise&lt;/td&gt;
&lt;td&gt;Version control on the skills dir; diff review of self-edits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Skill collision&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Same input, different behavior on different runs&lt;/td&gt;
&lt;td&gt;Overlapping/contradictory skills&lt;/td&gt;
&lt;td&gt;Periodic skill audit; dedupe and namespace&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Durable injection&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Malicious behavior that survives restarts&lt;/td&gt;
&lt;td&gt;Persistence of a poisoned skill/memory&lt;/td&gt;
&lt;td&gt;Sandboxed backend; input provenance; approval-gated writes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Silent failure&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Task "succeeds" but output is garbage&lt;/td&gt;
&lt;td&gt;No verification step in the loop&lt;/td&gt;
&lt;td&gt;Output checks; human-in-the-loop on high-stakes actions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Context bleed&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Cross-task contamination of state&lt;/td&gt;
&lt;td&gt;Shared memory across unrelated work&lt;/td&gt;
&lt;td&gt;Profile isolation; scoped subagents&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If your reaction to that table is "this is just normal production engineering," — yes. &lt;strong&gt;That's the headline.&lt;/strong&gt; The mature way to think about Hermes is not "magic learning AI" but "a new kind of production system with a new failure surface that you engineer for like any other."&lt;/p&gt;




&lt;h2&gt;
  
  
  Governing the compound: a framework you can use this week
&lt;/h2&gt;

&lt;p&gt;Good news: because Hermes's learning is &lt;em&gt;legible&lt;/em&gt; (markdown skills, queryable memory), every one of those failure modes has a practical control. Here's the framework I'd apply, ordered by leverage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Put the skills directory under version control.&lt;/strong&gt;&lt;br&gt;
This single step converts an opaque self-modifying system into a reviewable one. &lt;code&gt;git init&lt;/code&gt; the skills dir. Now every skill the agent writes or refines is a diff you can read, blame, and revert. Self-improvement becomes a series of pull requests from your agent to your repo. Review them like you'd review a teammate's.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Bound autonomy before you bound anything else.&lt;/strong&gt;&lt;br&gt;
Set a hard spend cap and a step/recursion limit &lt;em&gt;first&lt;/em&gt;, then expand. The default posture for an always-on, delegating agent should be "small budget, narrow scopes," widened deliberately. Cost is the failure you can fully prevent with config.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Sandbox by default; grant scopes like you grant SSH keys.&lt;/strong&gt;&lt;br&gt;
Pick an isolated backend (Docker is the easy, strong default given how many of us already run it). Give read-only credentials until a write capability has earned its keep, and gate genuinely consequential actions behind human approval. Treat "what can this agent touch" as a security decision, because it is one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Give skills an expiry and a smoke test.&lt;/strong&gt;&lt;br&gt;
A skill that depends on an external system should carry a review date and, ideally, a one-line check it can run to confirm its assumptions still hold ("does the API still return this field?"). This is the antidote to silent rot — the agent should be able to &lt;em&gt;notice&lt;/em&gt; when its own procedure went stale.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Audit the skill library on a schedule — using the agent itself.&lt;/strong&gt;&lt;br&gt;
Once a week, have Hermes inventory its own skills: flag duplicates, contradictions, and unused entries, and propose prunes. The same self-improvement loop that creates drift can be pointed at &lt;em&gt;detecting&lt;/em&gt; it, if you ask. Compounding capability includes the capability to clean up after itself — but only if governance is one of its jobs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Watch four numbers.&lt;/strong&gt;&lt;br&gt;
You don't need a dashboard, just attention to: &lt;strong&gt;tokens/day&lt;/strong&gt; (is baseline cost creeping?), &lt;strong&gt;skill count&lt;/strong&gt; (is the library growing faster than it's pruned?), &lt;strong&gt;skill-edit frequency&lt;/strong&gt; (is something drifting?), and &lt;strong&gt;human-override rate&lt;/strong&gt; (are you correcting it more or less over time?). Those four tell you whether the compound is working for you or against you.&lt;/p&gt;

&lt;p&gt;If you do nothing else: &lt;strong&gt;version-control the skills dir and cap the budget.&lt;/strong&gt; Those two cover the majority of the real-world risk for an afternoon of effort.&lt;/p&gt;




&lt;h2&gt;
  
  
  The honest verdict
&lt;/h2&gt;

&lt;p&gt;Hermes Agent earns its reputation. The design choices that matter — legible markdown skills instead of opaque weights, a process you own instead of an API you rent, isolation backends as first-class options, learning that happens in files you can read — are &lt;em&gt;the right choices&lt;/em&gt;, and they're what let you govern the thing at all. Most "self-improving agent" pitches ask you to trust a black box. Hermes hands you the box open.&lt;/p&gt;

&lt;p&gt;But the line the ecosystem keeps repeating, &lt;em&gt;"it just gets better the longer it runs,"&lt;/em&gt; is half engineering reality and half marketing convenience. Here's the whole of it: the agent gets more capable, more expensive, more drift-prone, and more powerful all at the same time. &lt;strong&gt;Which of those wins out is decided by you, not by the loop.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So here's the decision rule I'd actually give a colleague:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Run it&lt;/strong&gt; when the task is recurring (so the asset side compounds), the blast radius is bounded (dev data, scoped credentials, sandboxed), and you're willing to treat its skills like code you maintain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wait&lt;/strong&gt; if you'd be pointing it at production credentials or sensitive data before you've set up version control, spend caps, and approval gates. Not because it can't handle it — because compounding amplifies whatever posture you start with, including a careless one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Self-improvement is the most exciting property in agents right now. Treat it like compound interest: extraordinary when it's working for you, brutal when you've stopped paying attention to which direction it's pointed. Hermes gives you, unusually, the instruments to check. Use them.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading. If you've deployed a long-running agent and watched its skill library grow, I'd genuinely like to hear which of these bills hit you first — drop it in the comments.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>hermesagentchallenge</category>
      <category>devchallenge</category>
      <category>agents</category>
      <category>ai</category>
    </item>
    <item>
      <title>Google shipped three Gemini "Flash" models. Picking the wrong one could 6 your AI bill</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Sat, 23 May 2026 13:27:43 +0000</pubDate>
      <link>https://dev.to/chintanonweb/google-shipped-three-gemini-flash-models-picking-the-wrong-one-could-6x-your-ai-bill-48m9</link>
      <guid>https://dev.to/chintanonweb/google-shipped-three-gemini-flash-models-picking-the-wrong-one-could-6x-your-ai-bill-48m9</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-io-writing-2026-05-19"&gt;Google I/O 2026 Writing Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Google shipped three Gemini "Flash" models. Picking the wrong one could 6× your AI bill.
&lt;/h1&gt;

&lt;p&gt;I opened &lt;a href="https://aistudio.google.com/" rel="noopener noreferrer"&gt;Google AI Studio&lt;/a&gt; right after the Google I/O 2026 keynote to try the new model everyone was talking about — and got hit with a small wave of confusion. I went looking for "the new Flash model" and found &lt;em&gt;three&lt;/em&gt; of them sitting in the same dropdown, names so similar I had to read them twice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Gemini 3.5 Flash&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Gemini 3.1 Flash Lite&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Gemini 3 Flash Preview&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three different version numbers. All called "Flash." And when I read their price tags, I found something the keynote didn't dwell on: &lt;strong&gt;the gap between the cheapest and the priciest is 6×.&lt;/strong&gt; Pick the wrong one for your workload and you don't get a slightly bigger bill — you get a 6× bigger bill, for tasks that didn't need it.&lt;/p&gt;

&lt;p&gt;Here's the lineup decoded with real numbers, the 6× trap explained, and a decision guide for which "Flash" you should actually reach for.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 &lt;em&gt;[Screenshot spot: the AI Studio "Model selection" panel showing all three Flash models stacked together — your proof and hero image.]&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The three Flash models, decoded
&lt;/h2&gt;

&lt;p&gt;Pricing is per &lt;strong&gt;1 million tokens&lt;/strong&gt;, from Google's &lt;a href="https://ai.google.dev/gemini-api/docs/pricing" rel="noopener noreferrer"&gt;official Gemini API pricing&lt;/a&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Built for&lt;/th&gt;
&lt;th&gt;Input&lt;/th&gt;
&lt;th&gt;Output&lt;/th&gt;
&lt;th&gt;Released&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Gemini 3.1 Flash Lite&lt;/strong&gt; 🆕&lt;/td&gt;
&lt;td&gt;High-volume, translation, simple data processing&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$0.25&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$1.50&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;May 7, 2026&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Gemini 3 Flash Preview&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Speed + frontier intelligence; keeps Computer Use&lt;/td&gt;
&lt;td&gt;$0.50&lt;/td&gt;
&lt;td&gt;$3.00&lt;/td&gt;
&lt;td&gt;Dec 17, 2025&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Gemini 3.5 Flash&lt;/strong&gt; 🆕&lt;/td&gt;
&lt;td&gt;Frontier agentic + coding&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$1.50&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$9.00&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;May 19, 2026 (I/O day)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read that again and the naming makes no sense as a guide: the &lt;em&gt;highest&lt;/em&gt; number (3.5) is the most expensive and newest, "Lite" (3.1) is the cheap workhorse, and the &lt;em&gt;lowest&lt;/em&gt; number (3) is actually the &lt;em&gt;oldest&lt;/em&gt; of the three — a December 2025 preview that's somehow priced in the middle. Only two of them (3.5 Flash and 3.1 Flash Lite) are the genuinely new I/O-era models. The version number tells you nothing about recency &lt;em&gt;or&lt;/em&gt; price — you have to read every card.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 6× trap, in plain terms
&lt;/h2&gt;

&lt;p&gt;Compare the two ends. Gemini 3.5 Flash costs &lt;strong&gt;6× more&lt;/strong&gt; than 3.1 Flash Lite on both input and output. And output is where it bites, because most AI apps generate far more tokens than they consume — every reply, every summary, every generated line of code is output you pay &lt;strong&gt;$9.00 vs $1.50&lt;/strong&gt; for.&lt;/p&gt;

&lt;p&gt;Run the math on a modest chatbot producing 50M output tokens a month:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;3.5 Flash:&lt;/strong&gt; 50M × $9.00/1M = &lt;strong&gt;$450/month&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3.1 Flash Lite:&lt;/strong&gt; 50M × $1.50/1M = &lt;strong&gt;$75/month&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Same volume. &lt;strong&gt;$375/month — $4,500/year — purely from which "Flash" you clicked.&lt;/strong&gt; If your tasks are translation, classification, or simple extraction, you're paying 6× for "frontier coding intelligence" you never use.&lt;/p&gt;

&lt;h2&gt;
  
  
  But "cheaper" isn't always "right" — the benchmarks
&lt;/h2&gt;

&lt;p&gt;Lite isn't just a price cut; it's a different capability tier. Google's published numbers (&lt;a href="https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-1-flash-lite/" rel="noopener noreferrer"&gt;3.1 Flash Lite&lt;/a&gt;, &lt;a href="https://llm-stats.com/blog/research/gemini-3.5-flash-launch" rel="noopener noreferrer"&gt;3.5 Flash&lt;/a&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;3.1 Flash Lite&lt;/strong&gt; — LMArena Elo ~1432, GPQA Diamond 86.9%. Genuinely strong for the price, but tuned for throughput.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3.5 Flash&lt;/strong&gt; — SWE-Bench Pro 55.1%, Terminal-Bench 2.1 76.2%. Built to hold up across long, multi-step agentic and coding tasks where one wrong step compounds.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the real question isn't "which is cheaper" — it's "does my task actually need the frontier coding model, or am I overpaying for headroom I don't use?"&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Flash should you actually use?
&lt;/h2&gt;

&lt;p&gt;The decision guide the model picker should have come with:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Gemini 3.1 Flash Lite (the $0.25/$1.50 one) for:&lt;/strong&gt; classification, tagging, extraction, translation, simple summaries — high-volume work with a clear right answer. At 6× cheaper, this is most production traffic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Gemini 3.5 Flash (the $1.50/$9.00 one) for:&lt;/strong&gt; real agentic workflows and code generation where quality compounds and a wrong early step ruins everything downstream. Pay for it when the output is high-value — and only after you've &lt;em&gt;tested&lt;/em&gt; that Lite isn't good enough.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Gemini 3 Flash Preview (the $0.50/$3.00 one) when:&lt;/strong&gt; you need &lt;strong&gt;Computer Use&lt;/strong&gt; — controlling a browser/UI. Notably, &lt;strong&gt;3.5 Flash dropped Computer Use&lt;/strong&gt;, so for that specific capability Google says stick with 3 Flash Preview (&lt;a href="https://evolink.ai/blog/gemini-3-5-flash-vs-gemini-3-flash-preview" rel="noopener noreferrer"&gt;details&lt;/a&gt;). Just remember "Preview" can change or disappear.&lt;/p&gt;

&lt;p&gt;The meta-rule: &lt;strong&gt;default to Lite, upgrade only when you can prove you need to.&lt;/strong&gt; Most teams will do the opposite — grab the highest version number, ship it, and quietly overpay 6× forever.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two cost levers nobody mentioned
&lt;/h2&gt;

&lt;p&gt;The price-per-token is only half the bill. Two settings move it a lot:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Caching is a 10× input discount.&lt;/strong&gt; Gemini 3.5 Flash's &lt;em&gt;cached&lt;/em&gt; input is &lt;strong&gt;$0.15&lt;/strong&gt; vs $1.50 — ten times cheaper. If your prompts share a big fixed chunk (a system prompt, a document, a schema), caching it slashes input cost. Most people never turn it on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The "Thinking level" dial controls how hard — and how expensively — the model reasons.&lt;/strong&gt; Gemini 3.x replaces the old token-budget setting with a &lt;code&gt;thinkingLevel&lt;/code&gt; of &lt;code&gt;minimal&lt;/code&gt; / &lt;code&gt;low&lt;/code&gt; / &lt;code&gt;medium&lt;/code&gt; / &lt;code&gt;high&lt;/code&gt; (&lt;a href="https://ai.google.dev/gemini-api/docs/thinking" rel="noopener noreferrer"&gt;docs&lt;/a&gt;). More thinking = better on hard problems, but more time and more tokens. The defaults differ by model — &lt;strong&gt;3.5 Flash defaults to &lt;code&gt;medium&lt;/code&gt;, Flash Lite to &lt;code&gt;minimal&lt;/code&gt;&lt;/strong&gt; — and Google notes that routing the bulk of your calls to low/minimal thinking can cut spend &lt;strong&gt;50–70%&lt;/strong&gt;. So your bill isn't just &lt;em&gt;which&lt;/em&gt; model; it's &lt;em&gt;how hard you let it think&lt;/em&gt;. Match the effort to the task.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two details worth knowing before you ship
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The free tier is real but capped.&lt;/strong&gt; All three have a rate-limited free tier, plus &lt;strong&gt;5,000 free Google Search grounding prompts per month&lt;/strong&gt; (then ~$14 per 1,000). Great for prototyping; watch the grounding cap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Their knowledge cutoff is January 2025 — about 16 months before they launched.&lt;/strong&gt; Every Flash card in AI Studio lists a Jan 2025 cutoff, which means these May-2026 models don't know about anything from 2025–2026 out of the box — including I/O 2026 itself. For anything current, flip on &lt;strong&gt;Grounding with Google Search&lt;/strong&gt; (5,000 free prompts/month, then ~$14 per 1,000). A new model is not the same as an up-to-date one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;Google's I/O 2026 story was "Gemini Flash is fast, smart, and cheap." The truth in the model picker is more useful: there isn't one Flash, there are several, and the difference between them is a &lt;strong&gt;6× cost swing&lt;/strong&gt; hiding behind nearly identical names — before you even touch caching or the thinking dial.&lt;/p&gt;

&lt;p&gt;That's not a complaint. Having a $0.25 workhorse &lt;em&gt;and&lt;/em&gt; a frontier coding model in the same family is genuinely great. It just means the most important decision you'll make isn't "should I use Gemini" — it's "&lt;em&gt;which Flash&lt;/em&gt;, with &lt;em&gt;what&lt;/em&gt; thinking level, for &lt;em&gt;this&lt;/em&gt; task." Get that right and you get frontier AI at workhorse prices. Get it wrong and you pay frontier prices for workhorse work.&lt;/p&gt;

&lt;p&gt;Open AI Studio, put the three Flash cards side by side, and match each of your app's tasks to the cheapest model that can actually do it. Five minutes — and it can cut your AI bill by more than 6×.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Pricing, model details, and the thinking-level defaults are from Google's &lt;a href="https://ai.google.dev/gemini-api/docs/pricing" rel="noopener noreferrer"&gt;official Gemini API docs&lt;/a&gt; and AI Studio during the I/O 2026 window (Gemini 3.5 Flash GA'd May 19, 2026); verify current numbers before relying on them, as they change. Master announcement list: &lt;a href="https://blog.google/innovation-and-ai/technology/ai/google-io-2026-all-our-announcements/" rel="noopener noreferrer"&gt;"100 things we announced at Google I/O 2026"&lt;/a&gt;. I drafted this with AI assistance and verified every number against Google's docs and AI Studio myself — the analysis and screenshots are mine.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>googleiochallenge</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I switched my Gemma 4 model three times in 72 hours. Here's the decision tree I wish I'd had.</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Thu, 21 May 2026 19:18:19 +0000</pubDate>
      <link>https://dev.to/chintanonweb/i-switched-my-gemma-4-model-three-times-in-72-hours-heres-the-decision-tree-i-wish-id-had-4i7l</link>
      <guid>https://dev.to/chintanonweb/i-switched-my-gemma-4-model-three-times-in-72-hours-heres-the-decision-tree-i-wish-id-had-4i7l</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-gemma-2026-05-06"&gt;Gemma 4 Challenge: Write About Gemma 4&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  I picked the wrong Gemma 4 model. Twice.
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;A 72-hour speedrun through E2B, E4B, and 31B-via-cloud — and the decision tree I wish I'd had on hour one.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Three days before the deadline, I sat down to build a multimodal Gemma 4 app for the challenge. I'd already decided which variant I'd use: &lt;strong&gt;E4B&lt;/strong&gt;, because bigger is better, right?&lt;/p&gt;

&lt;p&gt;I shipped on E4B. Then I shipped on E2B. Then I added OpenRouter's 31B as a third option and let users pick.&lt;/p&gt;

&lt;p&gt;Here is what each move cost me, what I learned, and the decision tree I'd hand to anyone starting today.&lt;/p&gt;

&lt;p&gt;Quick context before the story: &lt;strong&gt;Gemma 4 is Google's open AI model family&lt;/strong&gt; — Google publishes the model weights for free, you download them and run them yourself, no API key required. It ships in four sizes; the two smallest (&lt;strong&gt;E2B&lt;/strong&gt; and &lt;strong&gt;E4B&lt;/strong&gt;) are tiny enough to run inside a browser tab via WebGPU (the browser's graphics-card API), while the &lt;strong&gt;31B Dense&lt;/strong&gt; and &lt;strong&gt;26B MoE&lt;/strong&gt; variants are server-class. All four are &lt;em&gt;multimodal&lt;/em&gt; — they read images and audio, not just text. That last part is why a real app inside a browser tab is suddenly possible: the model that categorizes your text transactions can also read a photo of a receipt, with no extra download.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;The app — a private personal-finance dashboard that runs Gemma 4 entirely in the browser — needed three things from the model:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Categorize transaction text&lt;/strong&gt; ("STARBUCKS #1234" → &lt;code&gt;restaurants&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read paper receipts&lt;/strong&gt; (image → merchant, amount, date).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Answer free-form questions&lt;/strong&gt; about a year of statements in one prompt.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So: multimodal, long context, must run client-side (in the user's browser, not on a server I rent). That's how I narrowed to the E-series Gemma 4 variants in the first place. The 31B Dense and 26B MoE were never candidates — they're just too big for a browser tab. That left &lt;strong&gt;E2B (~1.5 GB on disk once quantized)&lt;/strong&gt; and &lt;strong&gt;E4B (~2.5 GB)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I picked E4B without thinking. That was mistake #1.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick #1: E4B, because "bigger is better"
&lt;/h2&gt;

&lt;p&gt;E4B is the larger of the two browser-tier Gemma 4 models. It scored higher on every benchmark in Google's release. I figured the extra GB of weights would buy me cleaner categorization and smarter answers, and I'd ship a more impressive demo.&lt;/p&gt;

&lt;p&gt;It worked. Categorization was crisp. The chat panel handled "which restaurant did I visit the most?" without breaking a sweat. I wrote the entire project around the assumption that E4B was the right call and shipped a first cut.&lt;/p&gt;

&lt;p&gt;Then a user opened the deployed link.&lt;/p&gt;

&lt;p&gt;Cold-load was a 2.5 GB download. On a normal connection that's somewhere between three and ten minutes of staring at a progress bar before the app does anything. My first beta tester typed "is there other solution its time consuming" before the model had finished downloading.&lt;/p&gt;

&lt;p&gt;I'd optimized for &lt;em&gt;what the model could do&lt;/em&gt; and ignored &lt;em&gt;what the user would experience before it did anything&lt;/em&gt;. That's mistake #1.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick #2: E2B, because respecting people's bandwidth is part of the product
&lt;/h2&gt;

&lt;p&gt;E2B is the smaller browser variant. Same multimodal capability. Same 128K context window (meaning it can read about a 300-page book in one prompt — important if you want to ask questions across a whole year of bank statements). Same compression. About 40% less to download. Slightly thinner reasoning on multi-step questions.&lt;/p&gt;

&lt;p&gt;The swap was a one-line code change:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// before&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;MODEL_ID&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;onnx-community/gemma-4-E4B-it-ONNX&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// after&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;MODEL_ID&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;onnx-community/gemma-4-E2B-it-ONNX&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The interesting thing wasn't the code — it was the trade-off math.&lt;/p&gt;

&lt;p&gt;The "thinner reasoning" I was worried about cost me maybe 5–10% of categorization accuracy on long-tail merchants. That's a tiny gap. The "40% less to download" turned a five-minute wait into a two-minute wait, which is the difference between a user trying your app and a user closing the tab.&lt;/p&gt;

&lt;p&gt;The general lesson, written down where I won't forget it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The smaller capable model usually wins. Cold-load time is the most expensive thing your app does. Trim it ruthlessly.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This held even when the larger model would have produced marginally better outputs. The output gap was invisible to the user. The download gap was the only thing they could see.&lt;/p&gt;

&lt;p&gt;That should have been the end of it. It wasn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pick #3: 31B in the cloud, because some users won't wait at all
&lt;/h2&gt;

&lt;p&gt;The same user came back: "no user wait for loading 1.5 gb 2.5 gb will add selection and add openrouter selection also."&lt;/p&gt;

&lt;p&gt;They were right. Even E2B's ~1.5 GB is a wall for someone on a phone, on a flaky connection, or just trying a demo for thirty seconds to decide if it's worth more attention. The honest answer was that the right model depends on who's using the app right now.&lt;/p&gt;

&lt;p&gt;So I added a third option: &lt;strong&gt;Gemma 4 31B Dense via OpenRouter's free tier&lt;/strong&gt;. OpenRouter is a service that lets you call lots of different AI models through one API. They expose Gemma 4 31B on a free tier — no credit card, no download. Zero download. Highest quality of the three. The trade-off is brutal and has to be explicit: your prompts and receipt photos are sent to a third-party server for inference. Privacy goes from "on-device, never uploaded" to "trust OpenRouter's logs policy."&lt;/p&gt;

&lt;p&gt;Two practical things bit me adding the cloud path:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The free tier is 16 requests per minute.&lt;/strong&gt; My categorization loop fired one API request per transaction. For a 71-row sample statement, that hit the rate limit in three seconds. Fix: batch up to 25 transactions per prompt — instead of asking the model "what category is this?" 71 times, ask it "here are 25 transactions, classify each" three times. With Gemma 4's 128K context, this is free — the model handles a whole statement in one shot, and your three batched requests stay comfortably under any free-tier limit.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// One prompt, 25 transactions, one response. Free-tier safe.&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;prompt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;`Classify each transaction with one category from this list.
Output ONE LINE per transaction as "&amp;lt;n&amp;gt;. &amp;lt;category&amp;gt;".

&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;t&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;i&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;. &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;t&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;rawDescription&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; (&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;t&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;amount&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;)`&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The model ID format is strict.&lt;/strong&gt; OpenRouter wants &lt;code&gt;google/gemma-4-31b-it:free&lt;/code&gt; (the &lt;code&gt;:free&lt;/code&gt; suffix matters). Hit the &lt;code&gt;/v1/models&lt;/code&gt; endpoint with your key once to confirm the exact ID before you spend an hour debugging 400 errors.&lt;/p&gt;

&lt;h2&gt;
  
  
  The decision tree I wish I'd had
&lt;/h2&gt;

&lt;p&gt;Here it is, no theory, just the thing I'd tape to my wall:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;If yes →&lt;/th&gt;
&lt;th&gt;If no →&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Will users get more than 30 seconds before they leave?&lt;/td&gt;
&lt;td&gt;Local model OK&lt;/td&gt;
&lt;td&gt;Cloud-only (OpenRouter 31B or similar)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Is the data on the user's machine sensitive (finance, health, journals, work)?&lt;/td&gt;
&lt;td&gt;Local model required&lt;/td&gt;
&lt;td&gt;Cloud is fine&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Is the task multi-step reasoning (agentic, planning) or simple classification?&lt;/td&gt;
&lt;td&gt;Lean E4B / 31B&lt;/td&gt;
&lt;td&gt;E2B is enough&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Will users return many times, making the one-time download amortize?&lt;/td&gt;
&lt;td&gt;Local OK at any size&lt;/td&gt;
&lt;td&gt;Smallest model that does the job&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Are you charging users / can you eat the API cost?&lt;/td&gt;
&lt;td&gt;Cloud OK&lt;/td&gt;
&lt;td&gt;Local or free-tier cloud only&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You can stop here. Most projects only need the first two rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real answer: don't pick. Let the user pick.
&lt;/h2&gt;

&lt;p&gt;What I actually shipped in the end was a model picker. Three cards. Each one shows: name, download size, where inference happens (on-device vs cloud), and one sentence on the trade-off.&lt;/p&gt;

&lt;p&gt;The picker doesn't avoid the decision; it &lt;em&gt;moves&lt;/em&gt; it to the person who has the right information to make it. The product manager in me cringed at exposing a "model selection" UI to consumer users. The engineer in me realized that the alternative — picking one model for everyone — meant always being wrong for somebody.&lt;/p&gt;

&lt;p&gt;"Intentional model selection" is one of the Gemma 4 Challenge's judging criteria. I'd bet that on most submissions, that intention lives in the writeup, not in the product. In mine, it lives in the user's first click.&lt;/p&gt;

&lt;p&gt;If you're starting a Gemma 4 build right now, I'd save yourself the 72 hours and start there.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;The app is &lt;a href="https://github.com/chintanonweb/gemma-challenge" rel="noopener noreferrer"&gt;PocketCFO&lt;/a&gt; — open source, MIT. Drop a CSV bank statement and pick a model. Built for the Gemma 4 Challenge. &lt;a href="https://gemma-challenge.vercel.app/" rel="noopener noreferrer"&gt;Live demo&lt;/a&gt; · &lt;a href="https://github.com/chintanonweb/gemma-challenge" rel="noopener noreferrer"&gt;code&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tags:&lt;/strong&gt; #gemmachallenge #ai #webgpu #javascript&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gemmachallenge</category>
      <category>gemma</category>
    </item>
    <item>
      <title>PocketCFO: a private personal-finance brain that runs entirely in your browser</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Thu, 21 May 2026 18:40:36 +0000</pubDate>
      <link>https://dev.to/chintanonweb/pocketcfo-a-private-personal-finance-brain-that-runs-entirely-in-your-browser-2aoc</link>
      <guid>https://dev.to/chintanonweb/pocketcfo-a-private-personal-finance-brain-that-runs-entirely-in-your-browser-2aoc</guid>
      <description>&lt;h1&gt;
  
  
  PocketCFO: a private personal-finance brain that runs entirely in your browser
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;Snap a paper receipt, drop a bank statement, or just ask a question. Gemma 4 does the rest — without a single byte ever leaving your tab.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Live demo:&lt;/strong&gt; &lt;a href="https://gemma-challenge.vercel.app/" rel="noopener noreferrer"&gt;https://gemma-challenge.vercel.app/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/chintanonweb/gemma-challenge" rel="noopener noreferrer"&gt;https://github.com/chintanonweb/gemma-challenge&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Personal-finance apps are a usability disaster for privacy-minded people.&lt;/p&gt;

&lt;p&gt;To get useful insights from your bank statement — categorizing spend, spotting forgotten subscriptions, asking "how much did I spend on coffee?" — you have to upload your full transaction history to a third party. Often more: bank credentials via Plaid, receipts via your phone gallery, voice memos via some cloud transcription API.&lt;/p&gt;

&lt;p&gt;Most people don't. Most people shouldn't. So the insight never gets generated, and the forgotten subscription keeps charging.&lt;/p&gt;

&lt;p&gt;I wanted to know if there was now a way to fix this — a personal finance tool that does real work but where every byte stays on the user's machine. Until 2026 the answer was "almost, but not quite." With &lt;strong&gt;Gemma 4 E2B&lt;/strong&gt; the answer is finally yes, in a browser tab.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;PocketCFO&lt;/strong&gt; is a single-page web app where you:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pick your model&lt;/strong&gt; — Gemma 4 E2B (~1.5 GB on-device, fast), E4B (~2.5 GB on-device, smarter), or 31B (cloud via OpenRouter, no download). The trade-off is explicit: the two local options keep your data on your device; the cloud option sends it to OpenRouter for inference.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Drop a CSV bank statement&lt;/strong&gt; — transactions are parsed, deduped, and categorized by Gemma 4.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Snap a paper receipt&lt;/strong&gt; — Gemma 4's vision encoder extracts merchant, amount, and date, and adds it as a transaction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read your AI Insights&lt;/strong&gt; — three specific observations Gemma 4 surfaces about your data ("Your coffee spending grew 40% over three months", "Cancelling NY Times saves you $204/yr").&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;See the recurring-charges panel&lt;/strong&gt; — the "$87/month in subscriptions you forgot" moment that justifies the whole tool.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask anything in natural language&lt;/strong&gt; — &lt;em&gt;"which restaurant did I spend the most at?"&lt;/em&gt;, &lt;em&gt;"how much on coffee?"&lt;/em&gt;, &lt;em&gt;"what was my biggest single expense?"&lt;/em&gt; — answers stream from your chosen model.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Everything runs in the browser. The only thing the server does is host static files. Open your devtools network tab during use; after the initial ~1.5GB model download (cached), nothing leaves your machine.&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.amazonaws.com%2Fuploads%2Farticles%2Fx0pgywupmnh0nf04d97g.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%2Fx0pgywupmnh0nf04d97g.png" alt=" " width="800" height="583"&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fvmzlzu5g4e2dw65afyzx.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%2Fvmzlzu5g4e2dw65afyzx.png" alt=" " width="800" height="591"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a three-way model picker — and why E2B is the default
&lt;/h2&gt;

&lt;p&gt;Instead of hardcoding a single model, PocketCFO ships a picker covering three deployment tiers of the same model family. The "intentional model selection" judging criterion isn't just a justification I write into the post — it's a &lt;em&gt;user feature&lt;/em&gt; that exposes the actual trade-off:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Where it runs&lt;/th&gt;
&lt;th&gt;Cold-load&lt;/th&gt;
&lt;th&gt;Quality&lt;/th&gt;
&lt;th&gt;Privacy&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Gemma 4 E2B&lt;/strong&gt; (default)&lt;/td&gt;
&lt;td&gt;Your browser via WebGPU&lt;/td&gt;
&lt;td&gt;~1.5 GB once&lt;/td&gt;
&lt;td&gt;Good&lt;/td&gt;
&lt;td&gt;On-device&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Gemma 4 E4B&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Your browser via WebGPU&lt;/td&gt;
&lt;td&gt;~2.5 GB once&lt;/td&gt;
&lt;td&gt;Better&lt;/td&gt;
&lt;td&gt;On-device&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Gemma 4 31B&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OpenRouter cloud (free tier)&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;Best&lt;/td&gt;
&lt;td&gt;Sent to OpenRouter&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The default is E2B because most users meet PocketCFO for the first time on a normal connection and don't want to wait through a 2.5 GB download before seeing anything. The big win is that every option uses the &lt;strong&gt;same Gemma 4 family&lt;/strong&gt; with the same 128K context, so the product behaves the same; what changes is the user's chosen balance between privacy, latency, and quality.&lt;/p&gt;

&lt;p&gt;PocketCFO has four non-negotiable constraints, and &lt;strong&gt;E2B&lt;/strong&gt; is the smallest Gemma 4 variant that meets all four:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Runs in a browser tab&lt;/strong&gt; — must fit WebGPU memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sees private financial data&lt;/strong&gt; — must run client-side.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reads transaction text &lt;em&gt;and&lt;/em&gt; receipt photos&lt;/strong&gt; — must be multimodal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reasons about a year of activity in one pass&lt;/strong&gt; — needs the 128K context window.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The 31B Dense and 26B MoE Gemma 4 variants are too large for browser inference today. The E4B variant is more capable but ~2.5GB to download — painfully slow for a first-time user trying the demo. E2B hits the sweet spot: same multimodality, same 128K context, roughly half the cold-load time. Respecting the user's bandwidth turned out to matter more for product feel than the marginal reasoning gain of the bigger model.&lt;/p&gt;

&lt;p&gt;Crucially, &lt;strong&gt;the multimodality is what makes the model choice non-trivial&lt;/strong&gt;. Without the vision encoder, the receipt-snap flow doesn't work and the project collapses to a text-only tool that Gemma 3 could have done. With it, every receipt scan and statement question runs through the same ~1.5GB of weights — downloaded once, never uploaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture: the boring rule that prevents the demo from lying
&lt;/h2&gt;

&lt;p&gt;The single most important architectural decision in PocketCFO is this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The LLM categorizes and reasons. A boring &lt;code&gt;analytics/&lt;/code&gt; module does all the math.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;When a finance tool says "you spent $487 on subscriptions this year," that number had better be right. LLMs hallucinate sums constantly — even good ones, even with explicit chain-of-thought — and they do it most often in exactly the situations where you'd put one in front of a user (long contexts, lots of numbers, "summarize this for me"). I would not ship a demo that adds $14 + $9.99 and shows $24.&lt;/p&gt;

&lt;p&gt;So the split is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;engine/&lt;/code&gt; (Gemma 4)&lt;/strong&gt; outputs labels: a category word, a merchant name, a free-form answer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;analytics/&lt;/code&gt; (pure functions, 100% test coverage)&lt;/strong&gt; outputs numbers: totals, percentages, recurring-payment detection, month-over-month deltas.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The recurring-charge detection in particular is purely deterministic: group by merchant, compute gap distribution, snap to weekly/monthly/quarterly/yearly. Three unit tests cover the cadence math, two cover the edge cases (single-month input, income exclusion). The LLM never enters that code path. The number on the dashboard is correct by construction.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three things I learned shipping Gemma 4 to the browser in three days
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Transformers.js needs to be on v4.0.1+ for Gemma 4.&lt;/strong&gt; I started on v3.5 and got &lt;code&gt;Unsupported model type: gemma4&lt;/code&gt; the first time the model tried to load. Gemma 4 support didn't land in &lt;code&gt;@huggingface/transformers&lt;/code&gt; until v4.0.1. Easy fix once you know — but a reminder that &lt;code&gt;^&lt;/code&gt; semver ranges on bleeding-edge libraries can silently leave you behind. The TypeScript types for &lt;code&gt;pipeline()&lt;/code&gt; are still too complex to resolve cleanly, so I wrapped the call in a narrow cast; runtime behavior is fine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Cross-Origin-Isolation is a Vercel-deploy footgun.&lt;/strong&gt; Multi-threaded WebAssembly inside Transformers.js needs &lt;code&gt;SharedArrayBuffer&lt;/code&gt;, which needs &lt;code&gt;Cross-Origin-Opener-Policy: same-origin&lt;/code&gt; and &lt;code&gt;Cross-Origin-Embedder-Policy: require-corp&lt;/code&gt; headers. These are easy to add in &lt;code&gt;next.config.ts&lt;/code&gt; but easy to &lt;em&gt;forget&lt;/em&gt; — the build will pass, the deploy will succeed, the demo will silently fall back to slow single-threaded WASM. Test in incognito after deploying.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Streaming Q&amp;amp;A makes the demo feel real; per-token categorization doesn't.&lt;/strong&gt; The Q&amp;amp;A panel uses &lt;code&gt;TextStreamer&lt;/code&gt; so the answer types out character by character — feels alive. For categorization (60 transactions × short outputs), sequential non-streamed calls + UI pills lighting up one at a time &lt;em&gt;also&lt;/em&gt; feels alive. Both feel like the model is working; neither needs the same engineering. Pick the streaming hill you actually want to die on.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live demo:&lt;/strong&gt;  &lt;a href="https://gemma-challenge.vercel.app/" rel="noopener noreferrer"&gt;https://gemma-challenge.vercel.app/&lt;/a&gt; — needs Chrome 121+, Edge, or Arc with WebGPU. First load downloads ~1.5GB.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/chintanonweb/gemma-challenge" rel="noopener noreferrer"&gt;https://github.com/chintanonweb/gemma-challenge&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sample statement:&lt;/strong&gt; click "Try a sample statement" on the landing page if you don't want to drop your own.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you build something on Gemma 4 too, I'd love to see it.&lt;/p&gt;

&lt;p&gt;— Chintan&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gemmachallenge</category>
      <category>gemma</category>
      <category>ai</category>
    </item>
    <item>
      <title>Debugging Multi-Agent Systems in TypeScript: From Flat Logs to Execution Trees</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Sun, 17 May 2026 18:25:38 +0000</pubDate>
      <link>https://dev.to/chintanonweb/debugging-multi-agent-systems-in-typescript-from-flat-logs-to-execution-trees-1foo</link>
      <guid>https://dev.to/chintanonweb/debugging-multi-agent-systems-in-typescript-from-flat-logs-to-execution-trees-1foo</guid>
      <description>&lt;p&gt;AI agents are easy to demo when they follow a clean path: receive a task, call a tool, produce an answer, and finish successfully.&lt;/p&gt;

&lt;p&gt;They become much harder to reason about when multiple agents run together.&lt;/p&gt;

&lt;p&gt;In a real system, agents may plan, call tools, retry failures, make decisions from stale state, run in parallel, or touch the same resource from different paths. When something breaks, flat logs usually tell us what happened, but they rarely show why it happened.&lt;/p&gt;

&lt;p&gt;That is the debugging gap I wanted to explore.&lt;/p&gt;

&lt;p&gt;So I built a small TypeScript-based multi-agent incident-response simulator. The goal was simple: simulate a production incident where multiple agents diagnose and remediate infrastructure problems. The system had a diagnostic agent, database agent, network agent, scaling agent, and coordinator agent.&lt;/p&gt;

&lt;p&gt;On paper, the design looked reasonable.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;DiagnosticAgent&lt;/code&gt; analyzed the incoming incident. The &lt;code&gt;DatabaseAgent&lt;/code&gt; handled database-related issues. The &lt;code&gt;NetworkAgent&lt;/code&gt; managed load balancer or routing problems. The &lt;code&gt;ScalingAgent&lt;/code&gt; handled capacity decisions. The &lt;code&gt;CoordinatorAgent&lt;/code&gt; orchestrated everything and was responsible for avoiding conflicting actions.&lt;/p&gt;

&lt;p&gt;The architecture looked clean until the agents started working at the same time.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Problem With Flat Logs&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In the first version, the simulator emitted logs like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;\[2:47:23\] DiagnosticAgent: High DB latency detected  
\[2:47:24\] DatabaseAgent: Initiating replica scale-up  
\[2:47:25\] DiagnosticAgent: Connection pool exhaustion detected  
\[2:47:26\] DatabaseAgent: Taking node-3 offline for maintenance  
\[2:47:27\] ScalingAgent: Database performance degraded, scaling up  
\[2:47:28\] NetworkAgent: Detected backend failures, restarting load balancer  
\[2:47:29\] CoordinatorAgent: Conflict detected  
\[2:47:32\] ERROR: Cluster quorum lost
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These logs were useful, but only up to a point.&lt;/p&gt;

&lt;p&gt;They showed that the database agent scaled replicas. They showed that another agent also tried to scale. They showed that a node was taken offline. They showed that the coordinator noticed a conflict.&lt;/p&gt;

&lt;p&gt;But they did not clearly answer the important questions:&lt;/p&gt;

&lt;p&gt;Which agent made a decision from stale state?&lt;/p&gt;

&lt;p&gt;Did the coordinator run before or after the conflicting tool calls?&lt;/p&gt;

&lt;p&gt;Were the database and scaling agents truly running in parallel?&lt;/p&gt;

&lt;p&gt;Which exact tool call caused the final failure?&lt;/p&gt;

&lt;p&gt;Was the problem an LLM decision, a tool execution issue, or a coordination issue?&lt;/p&gt;

&lt;p&gt;This is where normal logging started to feel too flat. The system behavior was no longer a simple list of events. It was a tree of decisions, tool calls, retries, and parallel branches.&lt;/p&gt;

&lt;p&gt;That is when I tried &lt;code&gt;agent-inspect&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Adding Local Execution Tracing&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;agent-inspect&lt;/code&gt; is a local-first execution tree debugger for TypeScript and Node.js AI agents. Instead of sending traces to a hosted dashboard, it writes local traces that can be inspected from the terminal.&lt;/p&gt;

&lt;p&gt;That local-first model is important during development. I did not want to set up a full observability platform just to understand one local agent run. I wanted something closer to a structured debugging layer between &lt;code&gt;console.log&lt;/code&gt; and production-grade observability.&lt;/p&gt;

&lt;p&gt;The first step was to wrap the coordinator flow.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;inspectRun&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;step&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;agent-inspect&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;handleIncident&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;incident&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;Incident&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
 &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;inspectRun&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;  
   &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;incident-response-coordinator&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  
   &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
     &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;diagnosis&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;diagnose-incident&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
       &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;diagnosticAgent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;analyze&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;incident&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  
     &lt;span class="p"&gt;});&lt;/span&gt;

     &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;actions&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;execute-remediation&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
       &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;  
         &lt;span class="nx"&gt;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;database-remediation&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="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;  
           &lt;span class="nx"&gt;databaseAgent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;diagnosis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;dbIssues&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  
         &lt;span class="p"&gt;),&lt;/span&gt;  
         &lt;span class="nx"&gt;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;network-remediation&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="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;  
           &lt;span class="nx"&gt;networkAgent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;diagnosis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;networkIssues&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  
         &lt;span class="p"&gt;),&lt;/span&gt;  
         &lt;span class="nx"&gt;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;scaling-remediation&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="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;  
           &lt;span class="nx"&gt;scalingAgent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;diagnosis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;scalingIssues&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  
         &lt;span class="p"&gt;),&lt;/span&gt;  
       &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;  
     &lt;span class="p"&gt;});&lt;/span&gt;

     &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;resolve-conflicts&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
       &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;resolveConflicts&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;actions&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  
     &lt;span class="p"&gt;});&lt;/span&gt;  
   &lt;span class="p"&gt;},&lt;/span&gt;  
   &lt;span class="p"&gt;{&lt;/span&gt;  
     &lt;span class="na"&gt;traceDir&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;./.agent-inspect&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="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;The code did not need a full rewrite. The main change was adding meaningful boundaries around the work.&lt;/p&gt;

&lt;p&gt;The outer &lt;code&gt;inspectRun&lt;/code&gt; represented one agent run. The normal &lt;code&gt;step&lt;/code&gt; calls represented logical phases. The &lt;code&gt;step.tool&lt;/code&gt; calls marked operations that touched external systems or simulated infrastructure.&lt;/p&gt;

&lt;p&gt;Then I instrumented the database agent.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;DatabaseAgent&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
 &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;issues&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;DbIssue&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
   &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;database-agent-execution&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
     &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;dbState&lt;/span&gt; &lt;span class="err"&gt;\&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;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;check-db-state&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
       &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getClusterState&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;  
     &lt;span class="p"&gt;});&lt;/span&gt;

     &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;decision&lt;/span&gt; &lt;span class="err"&gt;\&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;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;llm&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;decide-db-action&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
       &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;llm&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;  
         &lt;span class="na"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;  
           &lt;span class="p"&gt;{&lt;/span&gt;  
             &lt;span class="na"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;user&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  
             &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;  
               &lt;span class="na"&gt;task&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Decide the safest database remediation action&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  
               &lt;span class="nx"&gt;issues&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  
               &lt;span class="nx"&gt;dbState&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  
             &lt;span class="p"&gt;}),&lt;/span&gt;  
           &lt;span class="p"&gt;},&lt;/span&gt;  
         &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;  
       &lt;span class="p"&gt;});&lt;/span&gt;  
     &lt;span class="p"&gt;});&lt;/span&gt;

     &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;action&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;scale-up&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="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;scale-database&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
         &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scaleUpReplicas&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;targetCount&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  
       &lt;span class="p"&gt;});&lt;/span&gt;  
     &lt;span class="p"&gt;}&lt;/span&gt;

     &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;action&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;restart-node&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="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;restart-node&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
         &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;restartNode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;nodeId&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  
       &lt;span class="p"&gt;});&lt;/span&gt;  
     &lt;span class="p"&gt;}&lt;/span&gt;

     &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
       &lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;no-op&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  
       &lt;span class="na"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;No safe database action selected&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="p"&gt;});&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;The important part is not just the tracing. It is the naming.&lt;/p&gt;

&lt;p&gt;A trace is only useful if the steps describe the system in the same language engineers use during debugging. &lt;code&gt;check-db-state&lt;/code&gt;, &lt;code&gt;decide-db-action&lt;/code&gt;, &lt;code&gt;scale-database&lt;/code&gt;, and &lt;code&gt;restart-node&lt;/code&gt; are much more useful than generic messages like &lt;code&gt;running task&lt;/code&gt; or &lt;code&gt;tool call started&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Inspecting the Failed Run&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;After running the simulator, I listed the local traces:&lt;/p&gt;

&lt;p&gt;npx agent-inspect list --dir ./.agent-inspect&lt;/p&gt;

&lt;p&gt;Then I inspected the failed run:&lt;/p&gt;

&lt;p&gt;npx agent-inspect view &amp;lt;run-id&amp;gt; --dir ./.agent-inspect&lt;/p&gt;

&lt;p&gt;The execution tree made the issue much easier to understand:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;incident-response-coordinator                              \[47.2s\] ✗  
├─ diagnose-incident                                       \[3.1s\] ✓  
├─ execute-remediation                                     \[41.8s\] ✗  
│  ├─ database-remediation                                 \[23.2s\] ✓  
│  │  └─ database-agent-execution                          \[23.1s\] ✓  
│  │     ├─ check-db-state                                 \[0.4s\] ✓  
│  │     ├─ decide-db-action                               \[2.1s\] ✓  
│  │     ├─ scale-database                                 \[18.3s\] ✓  
│  │     ├─ check-db-state                                 \[0.3s\] ✓  
│  │     ├─ decide-db-action                               \[1.9s\] ✓  
│  │     └─ restart-node                                   \[0.3s\] ✓  
│  ├─ network-remediation                                  \[5.2s\] ✓  
│  └─ scaling-remediation                                  \[41.7s\] ✗  
│     └─ scaling-agent-execution                           \[41.6s\] ✗  
│        ├─ check-scaling-state                            \[0.3s\] ✓  
│        ├─ decide-scaling-action                          \[2.2s\] ✓  
│        └─ scale-database                                 \[39.1s\] ✗  
│           └─ Error: Operation timeout \- cluster in inconsistent state  
└─ resolve-conflicts                                       \[not reached\]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This view showed the problem more clearly than the logs.&lt;/p&gt;

&lt;p&gt;The database agent checked the state, decided to scale up, and started a database scaling operation. Then it checked state again and decided to restart a node. At the same time, the scaling agent also detected database pressure and started another scaling operation.&lt;/p&gt;

&lt;p&gt;Both agents were acting on the same resource. Both believed their action was valid. The coordinator was supposed to resolve conflicts, but the trace showed that &lt;code&gt;resolve-conflicts&lt;/code&gt; was never reached because the failure happened inside the parallel remediation step.&lt;/p&gt;

&lt;p&gt;That was the real bug.&lt;/p&gt;

&lt;p&gt;It was not simply a bad prompt. It was not only a database operation failure. It was a coordination bug caused by parallel agents acting on the same resource without a proper resource-level guard.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Fixing the Coordination Model&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Once the execution tree made the failure visible, the fix became much more direct.&lt;/p&gt;

&lt;p&gt;The first change was to add a state refresh guard. If the database cluster already had an operation in progress, the agent should wait for stable state before making another decision.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;issues&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;DbIssue&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
 &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;database-agent-execution&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
   &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;dbState&lt;/span&gt; &lt;span class="err"&gt;\&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;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;check-db-state&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
     &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getClusterState&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;  
   &lt;span class="p"&gt;});&lt;/span&gt;

   &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;dbState&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;hasInProgressOperations&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
     &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;wait-for-stability&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
       &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;waitForStableState&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;  
       &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;issues&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  
     &lt;span class="p"&gt;});&lt;/span&gt;  
   &lt;span class="p"&gt;}&lt;/span&gt;

   &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;decideAndExecute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;issues&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;dbState&lt;/span&gt;&lt;span class="p"&gt;);&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;The second change was to protect critical operations with a lock.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;scaleUpReplicas&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;targetCount&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;number&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
 &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;scale-database&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
   &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;lock&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;acquireLock&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;database-scaling&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="nx"&gt;_000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

   &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
     &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;performScaleUp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;targetCount&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  
   &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;finally&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
     &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;lock&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;release&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;  
   &lt;span class="p"&gt;}&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;The third change was at the coordinator level. If multiple agents wanted to touch the same resource, the coordinator should not blindly run them in parallel.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;actions&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;step&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;execute-remediation-sequenced&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
 &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;targets&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;identifyResourceTargets&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;diagnosis&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

 &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;targets&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;database&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
   &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;dbActions&lt;/span&gt; &lt;span class="err"&gt;\&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;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;database-remediation&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="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;  
     &lt;span class="nx"&gt;databaseAgent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;diagnosis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;dbIssues&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  
   &lt;span class="p"&gt;);&lt;/span&gt;

   &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;networkActions&lt;/span&gt; &lt;span class="err"&gt;\&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;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;network-remediation&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="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;  
     &lt;span class="nx"&gt;networkAgent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;diagnosis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;networkIssues&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  
   &lt;span class="p"&gt;);&lt;/span&gt;

   &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;  
     &lt;span class="nx"&gt;dbActions&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  
     &lt;span class="nx"&gt;networkActions&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  
   &lt;span class="p"&gt;};&lt;/span&gt;  
 &lt;span class="p"&gt;}&lt;/span&gt;

 &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;  
   &lt;span class="nx"&gt;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;network-remediation&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="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;  
     &lt;span class="nx"&gt;networkAgent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;diagnosis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;networkIssues&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  
   &lt;span class="p"&gt;),&lt;/span&gt;  
   &lt;span class="nx"&gt;step&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tool&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;scaling-remediation&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="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;  
     &lt;span class="nx"&gt;scalingAgent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;handleIssue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;diagnosis&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;scalingIssues&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  
   &lt;span class="p"&gt;),&lt;/span&gt;  
 &lt;span class="err"&gt;\&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;After the fix, the trace looked different:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;incident-response-coordinator                              \[15.3s\] ✓  
├─ diagnose-incident                                       \[2.8s\] ✓  
├─ execute-remediation-sequenced                           \[11.2s\] ✓  
│  └─ database-remediation                                 \[8.4s\] ✓  
│     └─ database-agent-execution                          \[8.3s\] ✓  
│        ├─ check-db-state                                 \[0.3s\] ✓  
│        ├─ acquire-lock                                   \[0.1s\] ✓  
│        ├─ decide-db-action                               \[1.9s\] ✓  
│        ├─ scale-database                                 \[5.8s\] ✓  
│        └─ release-lock                                   \[0.1s\] ✓  
└─ resolve-conflicts                                       \[1.3s\] ✓
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the kind of output I want during agent development.&lt;/p&gt;

&lt;p&gt;Not just “something failed,” but where it failed. Not just “the tool timed out,” but what sequence caused the timeout. Not just “agents ran in parallel,” but which branches actually overlapped.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why This Matters for AI Agent Engineering&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;As agent systems become more common, debugging needs to move beyond raw logs.&lt;/p&gt;

&lt;p&gt;A single-agent workflow can often be debugged with a few log statements. But multi-agent systems introduce coordination problems. A bug may not live inside one function. It may live between two valid decisions that become unsafe when executed together.&lt;/p&gt;

&lt;p&gt;That is why execution trees are useful.&lt;/p&gt;

&lt;p&gt;They show the structure of the run. They show parent-child relationships. They separate normal logic from tool calls and LLM calls. They make retries, skipped steps, failed branches, and slow operations easier to reason about.&lt;/p&gt;

&lt;p&gt;This also changes how we think about observability.&lt;/p&gt;

&lt;p&gt;Production observability platforms are still important. Tools like LangSmith, Langfuse, OpenTelemetry-based pipelines, and APM platforms solve important team and production problems. But during local development, I often want something lighter. I want to run the agent, inspect the trace, make a change, and compare the result.&lt;/p&gt;

&lt;p&gt;That is the space where a local-first tool like &lt;code&gt;agent-inspect&lt;/code&gt; fits naturally.&lt;/p&gt;

&lt;p&gt;It is not trying to replace production monitoring. It is closer to a developer workflow tool for understanding agent behavior before it reaches production.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Practical Lessons From the Project&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The first lesson is that flat logs hide structure. In a multi-agent workflow, order alone is not enough. You need to know which step belonged to which agent, which steps were siblings, and which operation blocked or failed.&lt;/p&gt;

&lt;p&gt;The second lesson is that not every agent bug is an LLM bug. In this simulator, the expensive failure came from tool coordination and stale state, not from a slow model call. Without tracing, it would have been easy to spend time tuning prompts while ignoring the actual failure path.&lt;/p&gt;

&lt;p&gt;The third lesson is that instrumentation can become living documentation. A well-named &lt;code&gt;step()&lt;/code&gt; call describes the architecture. When a new engineer reads the trace, they can understand the runtime behavior faster than reading scattered logs.&lt;/p&gt;

&lt;p&gt;The fourth lesson is that local-first debugging is still valuable. Not every debugging session needs a dashboard, collector, account, or cloud upload. Sometimes the fastest path is a local trace file and a terminal command.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Final Thoughts&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The more I build with AI agents, the more I feel that debugging is becoming an architecture problem.&lt;/p&gt;

&lt;p&gt;It is not enough to know that an agent produced the wrong answer. We need to know what it planned, which tools it called, which state it observed, which branches ran in parallel, where retries happened, and what changed between two runs.&lt;/p&gt;

&lt;p&gt;For TypeScript and Node.js teams building agentic systems, &lt;code&gt;agent-inspect&lt;/code&gt; is a useful tool to explore that workflow. It gives you a lightweight way to turn agent runs into readable execution trees without committing to a hosted observability setup on day one.&lt;/p&gt;

&lt;p&gt;For my multi-agent incident-response simulator, the biggest value was simple: it turned a confusing wall of logs into a system I could reason about.&lt;/p&gt;

&lt;p&gt;And that is usually the first step toward making agent systems reliable.&lt;/p&gt;

&lt;p&gt;Npm lib: &lt;a href="https://www.npmjs.com/package/agent-inspect" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/agent-inspect&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Github repo: &lt;a href="https://github.com/chintandb/incident-response-coordinator" rel="noopener noreferrer"&gt;https://github.com/chintandb/incident-response-coordinator&lt;/a&gt; &lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Sound Design Is Doing More Work in Horror Films Than You Think</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Wed, 01 Apr 2026 20:56:02 +0000</pubDate>
      <link>https://dev.to/chintanonweb/sound-design-is-doing-more-work-in-horror-films-than-you-think-2gai</link>
      <guid>https://dev.to/chintanonweb/sound-design-is-doing-more-work-in-horror-films-than-you-think-2gai</guid>
      <description>&lt;p&gt;Horror is the one genre where sound design regularly gets discussed in the same breath as direction and performance — and for good reason. A well-shot horror scene with mediocre audio is merely unsettling. The same scene with precise, layered sound work becomes genuinely difficult to sit through. The difference isn't the image. It's what's happening underneath it.&lt;/p&gt;

&lt;p&gt;This isn't a recent development. From the shrieking strings of &lt;em&gt;Psycho&lt;/em&gt; to the subsonic dread running beneath &lt;em&gt;Hereditary&lt;/em&gt;, horror has always been a genre that treats audio as a primary storytelling tool rather than a supporting one. What has changed is how deliberately modern sound designers approach the craft — and how much the techniques have been codified and refined.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Mechanics of Fear: What Makes a Sound Scary&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Fear responses in humans are partly physiological, and sound designers who work in horror learn to exploit that early. Infrasound — frequencies below 20Hz that sit beneath conscious hearing — creates a vague, sourceless unease that audiences often attribute to the film's atmosphere without realizing it's being engineered. It's not a new trick, but it remains effective precisely because it bypasses critical processing.&lt;/p&gt;

&lt;p&gt;High-frequency dissonance works at the opposite end of the spectrum. Scraping, grinding, and shrieking sounds trigger the same neural pathways as a human scream, which is why they're so reliably effective as sting elements. The best horror sound designers use these not as shock tactics but as sustained tension tools — keeping the nervous system slightly activated throughout a sequence so that the actual scare lands harder.&lt;/p&gt;

&lt;p&gt;The sounds that achieve this effect most consistently are the ones that feel almost organic — close to something recognizable, but wrong in a way that's hard to pin down. Processed animal vocalizations, stretched and pitch-shifted, sit in this uncanny space particularly well.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why Licensed Sound Libraries Matter in Horror Post-Production&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Horror production, particularly at the independent level, often runs on lean post-production budgets. That puts pressure on sound designers to source effective material efficiently. Original field recording is valuable, but designing a full horror soundscape from scratch — building every creak, breath, sting, and ambient texture from original recordings — is rarely practical under real production constraints.&lt;/p&gt;

&lt;p&gt;This is where purpose-built collections earn their place in the workflow. The sounds available for &lt;a href="https://www.prosoundeffects.com/collections/horror-sound-effects" rel="noopener noreferrer"&gt;use in scary movies&lt;/a&gt; from a well-curated library are recorded and edited with the specific demands of the genre in mind: clean enough to process aggressively, diverse enough to layer without obvious repetition, and varied across subgenres from psychological thriller to supernatural horror.&lt;/p&gt;

&lt;p&gt;The value isn't convenience alone. A professionally recorded scream, for instance, carries dynamic and tonal information that a field recording or low-budget session recording typically can't match — and in a genre where a single sound effect can make or break a scene, that quality differential matters enormously.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Layering and Texture: How Horror Sound Design Actually Works&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The instinct for less experienced sound designers is to reach for the obvious effect — a loud jump scare sting, a creaking door, a thunderclap. These elements have their place, but the scenes that genuinely unsettle audiences are rarely built on obvious choices. They're built on density and texture.&lt;/p&gt;

&lt;p&gt;A door opening in a well-designed horror sequence might carry:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A low, almost sub-audible room tone shift that signals something has changed
&lt;/li&gt;
&lt;li&gt;The mechanical sound of the hinge, processed slightly to feel older or more decayed than it should
&lt;/li&gt;
&lt;li&gt;A faint, barely perceptible breath or movement in the background ambience
&lt;/li&gt;
&lt;li&gt;Silence — deliberate, shaped silence — immediately after&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of those elements alone reads as "scary." Together, they create the sensation that something is wrong without the audience being able to identify exactly what they're responding to. That's the craft.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Editing Room Is Where Horror Gets Made&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Directors and cinematographers build the raw material of a horror film. Sound designers and editors finish it. There's a reason the post-production phase of a horror project carries so much weight — it's where tension is shaped, pacing is controlled, and the emotional arc of a scare sequence is actually constructed.&lt;/p&gt;

&lt;p&gt;Getting that right requires not just skill but resources: a deep, well-organized library of source material, the technical range to process and layer it effectively, and the editorial judgment to know what serves the scene and what just fills space. Horror is an unforgiving genre for sound. When the audio is wrong, the audience knows — even if they can't tell you why.&lt;/p&gt;

</description>
      <category>design</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Scaling to 7 Figures? The Best Shopify Theme to Use for Explosive Growth</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Mon, 02 Mar 2026 09:00:49 +0000</pubDate>
      <link>https://dev.to/chintanonweb/scaling-to-7-figures-the-best-shopify-theme-to-use-for-explosive-growth-1lj3</link>
      <guid>https://dev.to/chintanonweb/scaling-to-7-figures-the-best-shopify-theme-to-use-for-explosive-growth-1lj3</guid>
      <description>&lt;h1&gt;
  
  
  Boost Your Shopify Sales: The Ultimate Theme for Higher Conversions
&lt;/h1&gt;

&lt;p&gt;If you've been building Shopify stores for a while, you know the drill. You start with a basic theme, realize it’s missing a cart countdown timer, so you install an app. Then you need an upsell feature, so you install another. Before you know it, your store’s codebase looks like a bowl of spaghetti, your page load speed has tanked, and you're paying $300 a month just in app subscriptions.&lt;/p&gt;

&lt;p&gt;What if your theme just handled all of that natively?&lt;/p&gt;

&lt;p&gt;That is exactly why developers and brand owners are flocking to &lt;strong&gt;Debutify&lt;/strong&gt; in 2025. It is no longer just a "theme"—it is a comprehensive, high-converting e-commerce ecosystem designed to eliminate app bloat, speed up development time, and protect your profit margins.&lt;/p&gt;

&lt;p&gt;Let's break down exactly why Debutify is dominating the Shopify space this year and how you can leverage its built-in toolkit to scale your next build.&lt;/p&gt;

&lt;p&gt;*(Ready to skip the reading and jump right in? &lt;a href="https://debutify.com/?ref=chintan34&amp;amp;code=LIMITED60" rel="noopener noreferrer"&gt;&lt;strong&gt;Click here to try Debutify for free and lock in their current discounts&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://debutify.com/?ref=chintan34&amp;amp;code=LIMITED60" rel="noopener noreferrer"&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%2Fxqfpqggfjy1qw7glete4.png" alt=" " width="500" height="100"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The End of App Bloat: Why Native Widgets Win
&lt;/h2&gt;

&lt;p&gt;Why do we care about built-in widgets? Simple: &lt;strong&gt;Performance and Compatibility.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every time you install a third-party app, you are injecting external JavaScript into your store. These scripts have to communicate with external servers, which increases your Time to Interactive (TTI) and frustrates users. Furthermore, third-party apps often conflict with each other, leading to broken UI elements that you have to spend hours debugging.&lt;/p&gt;

&lt;p&gt;Debutify solves this by housing dozens of conversion-boosting widgets within its own native architecture. Because they are built by the same development team, they share the same codebase. The result? Lightning-fast load times, seamless UI integration, and zero rogue code conflicts.&lt;/p&gt;




&lt;h2&gt;
  
  
  Breaking Down the 2025 Debutify Plans: Which Tier Fits Your Stack?
&lt;/h2&gt;

&lt;p&gt;Debutify recently revamped its pricing and feature tiers. Right now, they are running a massive &lt;strong&gt;Limited Time 60% OFF&lt;/strong&gt; promotion across their paid plans, making it incredibly accessible to upgrade your tech stack.&lt;/p&gt;

&lt;p&gt;Here is a comprehensive breakdown of what each tier offers so you can make an informed decision.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Free Plan: Zero Cost, Zero Risk
&lt;/h3&gt;

&lt;p&gt;Are you just testing the waters or building a proof-of-concept? The Free plan is your starting line.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; $0 (Free Forever)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What You Get:&lt;/strong&gt; Access to all basic free widgets and sections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The ROI:&lt;/strong&gt; Replaces approximately $75+/month in standard third-party apps right out of the gate.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Growth Plan: Scaling Up Fast
&lt;/h3&gt;

&lt;p&gt;If you have validated your product and are ready to push traffic, this is where the conversion optimization truly begins.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; Normally $39.00/month, currently &lt;strong&gt;$15.60/month&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Widget Ecosystem:&lt;/strong&gt; 25 Growth-exclusive widgets + 25 free widgets &amp;amp; sections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrations:&lt;/strong&gt; 1 third-party integration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bonus Features:&lt;/strong&gt; Automatic updates, Debutify Academy access, and support for the current theme version.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The ROI:&lt;/strong&gt; Replaces over $100+/month in app subscriptions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Professional Plan: For the Serious Brand Builder
&lt;/h3&gt;

&lt;p&gt;This is the sweet spot for established stores and developers managing growing brands. It unlocks advanced customization and teamwork features.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; Normally $89.00/month, currently &lt;strong&gt;$35.60/month&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Widget Ecosystem:&lt;/strong&gt; 65 Pro-exclusive widgets + 25 free widgets &amp;amp; sections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Team &amp;amp; Settings:&lt;/strong&gt; Invite 1 team member (with permissions), utilize Theme Templates, and easily copy theme settings between builds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Marketing Power:&lt;/strong&gt; Includes SEO support and Paid Ads marketing support.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrations:&lt;/strong&gt; Up to 3 integrations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The ROI:&lt;/strong&gt; Replaces over $250+/month in app subscriptions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Enterprise Plan: The Ultimate E-commerce Arsenal
&lt;/h3&gt;

&lt;p&gt;Are you running a high-volume store or an agency managing multiple heavy-hitting clients? The Enterprise tier removes all limits.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; Normally $159.00/month, currently &lt;strong&gt;$63.60/month&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Widget Ecosystem:&lt;/strong&gt; Access to &lt;strong&gt;unlimited&lt;/strong&gt; widgets and sections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Uncapped Potential:&lt;/strong&gt; All integrations unlocked, unlimited team member invites, and advanced theme customization.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VIP Support:&lt;/strong&gt; Get a dedicated account manager, direct development support, mentorship, and prioritized feature requests.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Are the New AI &amp;amp; Research Tools Actually Worth It?
&lt;/h2&gt;

&lt;p&gt;In 2025, speed to market is a massive competitive advantage. Starting from the &lt;strong&gt;Growth Plan&lt;/strong&gt;, Debutify includes an impressive suite of tools designed to automate the heavy lifting of store creation.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Debutify AI Tools Ecosystem
&lt;/h3&gt;

&lt;p&gt;Instead of paying for separate AI copywriters or image editors, Debutify provides them natively:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AI Store Builder:&lt;/strong&gt; Generate structural layouts in minutes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Product Title &amp;amp; Description Generator:&lt;/strong&gt; Instantly craft SEO-optimized, high-converting copy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Image Generators:&lt;/strong&gt; Create banners and remove backgrounds without leaving the Shopify dashboard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Blogs Generator:&lt;/strong&gt; Keep your content marketing fresh with automated blog posts.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;(Pro &amp;amp; Enterprise Exclusive)&lt;/em&gt;: Unlock the &lt;strong&gt;AI Logo Builder&lt;/strong&gt;, AI Product Importing, AI Product Reviews, AI Homepage Creation, and AI Additional Pages.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Product Research Center
&lt;/h3&gt;

&lt;p&gt;Hunting for a winning product? You don't need a separate subscription for a spy tool anymore. The built-in Product Research Center includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Product Explorer &amp;amp; Store Finder:&lt;/strong&gt; Discover what is trending in your niche.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Theme Detector:&lt;/strong&gt; See what the competition is running.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated Rules:&lt;/strong&gt; Streamline your data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sales Tracker:&lt;/strong&gt; &lt;em&gt;(Coming soon)&lt;/em&gt; Monitor competitor sales volume directly.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Q: Do I need a credit card to try the paid plans?&lt;/strong&gt;&lt;br&gt;
No! Debutify allows you to test the waters with a "No credit card. Just results" approach to see the widgets in action before committing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q: If I upgrade to Growth or Pro, do I lose my existing store data?&lt;/strong&gt;&lt;br&gt;
Absolutely not. You are simply unlocking features within the theme framework. Your products, customers, and Shopify data remain completely untouched.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q: Is the 60% discount permanent?&lt;/strong&gt;&lt;br&gt;
The current 60% off is a limited-time offer. Locking it in now at $15.60/mo for Growth or $35.60/mo for Pro secures an incredibly powerful toolkit for a fraction of the cost of the standalone apps it replaces.&lt;/p&gt;




&lt;h2&gt;
  
  
  Ready to Ditch the App Bloat?
&lt;/h2&gt;

&lt;p&gt;Building a high-converting store doesn't mean cobbling together 20 different plugins and praying your site doesn't crash on Black Friday. It means starting with a solid, meticulously coded foundation.&lt;/p&gt;

&lt;p&gt;Whether you are launching your first drop-shipping store or migrating a 7-figure brand, Debutify provides the speed, stability, and conversion tools you need to dominate in 2025.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://debutify.com/?ref=chintan34&amp;amp;code=LIMITED60" rel="noopener noreferrer"&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%2Fu29g2afnmsppf99j6dxx.png" alt=" " width="500" height="100"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://debutify.com/?ref=chintan34&amp;amp;code=LIMITED60" rel="noopener noreferrer"&gt;Click here to claim your 60% OFF discount and transform your Shopify store with Debutify today!&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>programming</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Where CSS Meets Coffee: An Office Culture Render</title>
      <dc:creator>chintanonweb</dc:creator>
      <pubDate>Fri, 25 Jul 2025 11:25:06 +0000</pubDate>
      <link>https://dev.to/chintanonweb/where-css-meets-coffee-an-office-culture-render-2bep</link>
      <guid>https://dev.to/chintanonweb/where-css-meets-coffee-an-office-culture-render-2bep</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for &lt;a href="https://dev.to/challenges/frontend/axero"&gt;Frontend Challenge: Office Edition sponsored by Axero, CSS Art: Office Culture&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🎨 Inspiration
&lt;/h2&gt;

&lt;p&gt;For me, office culture is a blend of collaboration, cozy chaos, and little moments that make the day memorable. This piece highlights the modern hybrid work environment: a Zoom call in progress, a cluttered desk with sticky notes, mechanical keyboard, coffee mug, houseplant, and even changing weather outside the office window. I also included fun touches like a motivational plaque, and a whiteboard showing team-building plans—because every office has one!&lt;/p&gt;

&lt;p&gt;It’s a visual letter to the small, overlooked details of daily office life.&lt;/p&gt;

&lt;h2&gt;
  
  
  🖼️ Demo
&lt;/h2&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/chintan-dhokai/embed/QwjEvab?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Github url : &lt;a href="https://github.com/chintanonweb/office-culture-css-art" rel="noopener noreferrer"&gt;https://github.com/chintanonweb/office-culture-css-art&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ✍️ Journey
&lt;/h2&gt;

&lt;p&gt;This project was both nostalgic and technically rewarding. I wanted to reflect the aesthetics of a cozy yet productive office space entirely with HTML and CSS—no images for core visuals.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I layered multiple elements (monitor, desk, window, weather effects) to give a sense of depth and realism.&lt;/li&gt;
&lt;li&gt;A key challenge was making everything responsive and pixel-aligned even as the viewport changed.&lt;/li&gt;
&lt;li&gt;The most fun parts were animating the sun, clouds, and steam from the coffee mug, and giving the monitor a Zoom-like grid layout.&lt;/li&gt;
&lt;li&gt;I also enjoyed playing with subtle textures (like the wooden floor and gradient walls) to break the flatness common in CSS art.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If I expand this project, I’d like to add subtle interactions—like changing the weather with a button or animating the person’s expressions.&lt;/p&gt;

</description>
      <category>frontendchallenge</category>
      <category>devchallenge</category>
      <category>css</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
