<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>HypAware Blog</title>
  <subtitle>Notes from the HypAware team on coding agents, agent sessions and LLM logs: what we found in our own agents’ sessions, and what we fixed.</subtitle>
  <link href="https://hypaware.ai/blog" />
  <link rel="self" href="https://hypaware.ai/blog/feed.xml" />
  <id>https://hypaware.ai/blog</id>
  <updated>2026-11-10T09:00:00-08:00</updated>
  <icon>https://hypaware.ai/favicon.svg</icon>
  <entry>
    <title>HypGate: building the first formally verified AI gateway</title>
    <link href="https://hypaware.ai/blog/hypgate-formally-verified-ai-gateway" />
    <id>https://hypaware.ai/blog/hypgate-formally-verified-ai-gateway</id>
    <published>2026-11-10T09:00:00-08:00</published>
    <updated>2026-11-10T09:00:00-08:00</updated>
    <author><name>Kenny Daniel</name></author>
    <category term="Engineering" />
    <summary>HypGate is an open-source AI gateway written in Rust whose core is proved correct with Verus. What we proved, how models wrote the proofs, and the bugs the proofs still missed.</summary>
    <content type="html">&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/banner-hypgate.jpg" alt="A stone portal on a mountaintop opening onto an endless field of tokens" /&gt;&lt;/p&gt;
&lt;p&gt;More and more companies route all of their AI traffic through a gateway, so they can manage keys, track spend, and keep a record of what their agents did. That makes the gateway one of the most critical pieces of AI infrastructure a company runs. It holds every provider API key, and it sees every prompt and every response, which means source code, customer data, and whatever else people paste into a model. That&amp;#39;s exactly what makes it a target, and LiteLLM, one of the most widely used open-source gateways, was compromised twice this year.&lt;/p&gt;
&lt;p&gt;On October 27 we released HypGate, the first formally verified AI gateway. It sits between your agents and the model provider, passes requests and responses through byte for byte, and writes every exchange to an audit log on disk, in S3, or in HypAware. It&amp;#39;s written in Rust, the core is proved correct with Verus, and it&amp;#39;s &lt;a href="https://github.com/hyparam/HypGate"&gt;MIT licensed on GitHub&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We wanted a gateway we could recommend to HypAware users for recording agent traffic, and after LiteLLM we weren&amp;#39;t comfortable asking anyone to put a large codebase they can&amp;#39;t check in front of all their keys and data. So we set out to build one small enough that you could prove what it does. The work of proving code grows with every line and every dependency, so we kept the gateway to forwarding the bytes and writing down what happened, and cut everything else. HypGate proves three things:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Data only goes where you configured it.&lt;/li&gt;
&lt;li&gt;Request and response bodies pass through unchanged, and the audit log records exactly what was forwarded and how the request ended.&lt;/li&gt;
&lt;li&gt;The core can&amp;#39;t panic or overflow, and a crash never loses an acknowledged log record.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Formal verification with reproducible builds could help with attacks like LiteLLM&amp;#39;s because the check is automatic. Anyone can rerun the proofs that the code only sends data where you configured it, rebuild from the same source, and compare the hash with the binary they&amp;#39;re running. That doesn&amp;#39;t make the gateway perfectly secure, since TLS and the OS are still trusted, but a release that had been tampered with to send data somewhere else would fail that check.&lt;/p&gt;
&lt;p&gt;We built it over about a week, with Codex and Claude writing nearly all of the code and the proofs. HypAware recorded 55 sessions and about 1.4 billion tokens across the two, almost all of it cached input, with 12 million fresh input and 7 million output. Most of the work went into making sure the proofs said something that matters, and getting Verus to accept them was comparatively easy.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/hypgate-tokens.png" alt="Cumulative tokens used building HypGate, Claude and Codex, October 23 to November 3" width="1720" height="1000" loading="lazy" decoding="async" /&gt;&lt;/p&gt;
&lt;h3 id="picking-what-to-prove"&gt;Picking what to prove&lt;/h3&gt;
&lt;p&gt;Left to themselves, the models write narrow proofs. A batch never exceeds 5000 rows. The upload cursor only advances when the server acknowledges the exact batch in flight. These are true and worth having, but they&amp;#39;re really generalized unit tests about one function. When I asked Codex what we had proved about shipping logs to HypAware, it listed six properties like that, and none of them answered what a user actually wants to know: is it correct, does it only send my data where I told it, and does it survive a crash?&lt;/p&gt;
&lt;p&gt;So those became the three guarantees, and the job from then on was tying every narrow proof up to one of them, and deleting proofs that didn&amp;#39;t serve any. This took constant prompting. Whenever the model works on a specific function, it drifts back to proving local properties of that function, and I&amp;#39;d have to pull it back to the whole-program claim.&lt;/p&gt;
&lt;h3 id="proved-and-still-buggy"&gt;Proved, and still buggy&lt;/h3&gt;
&lt;p&gt;Once everything verified, I started opening fresh Codex sessions and asking it to find bugs in HypGate. Over October 27 and 28 I ran eight rounds and it turned up fourteen real bugs, each reproduced with a failing test. A few of them:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;204 responses carried a Content-Length header, which HTTP forbids.&lt;/li&gt;
&lt;li&gt;When a provider reported null token usage, we recorded zero.&lt;/li&gt;
&lt;li&gt;An error event inside a streaming response with HTTP status 200 was recorded as a success.&lt;/li&gt;
&lt;li&gt;With multiple completion choices in one stream, the text from different choices got interleaved.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After each round I asked why the proofs didn&amp;#39;t catch it, and the answer was almost always the same. The code did exactly what the spec said, and the spec was wrong or incomplete. We had proved that every fixed response gets a Content-Length, and that rule was the bug. We had proved that the code turning a streaming response into log rows produces valid, bounded text, and never said text has to stay with the choice it came from. A verifier checks that the implementation matches the spec, and it has no way to tell you the spec is what you meant.&lt;/p&gt;
&lt;p&gt;Patching each case would have meant chasing special cases forever, so I kept asking for general proofs instead. One bug was a client upload that used a longer timeout than the exchange it belonged to. We already had a &amp;quot;no stall&amp;quot; proof, but it only checked that each operation respected the deadline it was handed. The fix was to prove that every blocking operation draws from one shared budget for the whole exchange.&lt;/p&gt;
&lt;p&gt;Another bug leaked sockets when connection setup failed because the process ran out of file descriptors, and that fix was a proof that every exit path releases everything it owns. Each of these closes a whole class of bugs at once. This issue came up repeatedly, and my most common feedback to the model was &amp;quot;why didn&amp;#39;t our proofs catch this??&amp;quot;&lt;/p&gt;
&lt;p&gt;We also run mutation testing, where a script deliberately breaks the code and confirms Verus rejects each broken version, because a proof that still passes on broken code isn&amp;#39;t proving anything. There are 735 mutations now, and checking the proofs themselves takes about five seconds for the whole core.&lt;/p&gt;
&lt;h3 id="what-the-proof-doesnt-cover"&gt;What the proof doesn&amp;#39;t cover&lt;/h3&gt;
&lt;p&gt;The proofs cover the logic in the core, which is parsing, routing, what gets logged, and cancellation. The I/O happens in a thin runtime around it that handles sockets, TLS, files, threads, and clocks. That runtime is tested and audited but it isn&amp;#39;t verified, and some bugs lived there. The &lt;code&gt;ship&lt;/code&gt; command panicked because it started a Tokio runtime inside another one. TLS could keep reading slowly trickled bytes internally and stretch a 150 ms deadline past a second. The client watcher treated a client that had finished sending as disconnected and cancelled its response, so the verified cancellation logic worked correctly on a signal the runtime got wrong.&lt;/p&gt;
&lt;p&gt;Below that are assumptions no proof here can remove: the Rust standard library, the OS network and disk calls, and storage that actually honors fsync. &lt;a href="https://github.com/hyparam/HypGate/blob/master/PROOFS.md"&gt;PROOFS.md&lt;/a&gt; lists each of them, along with the places where the proved parts aren&amp;#39;t yet connected into one proof of the whole program.&lt;/p&gt;
&lt;p&gt;Every dependency is more code outside the proof, so we cut them as we went. On October 25 we replaced Hyper with our own verified HTTP/1.1 codec and dropped Tokio for plain blocking threads. On October 26 we verified our own SHA-256 and dropped the sha2 crate. The runtime now depends on rustls, webpki-roots, and getrandom, and TLS is the biggest piece left outside.&lt;/p&gt;
&lt;h3 id="what-we-learned"&gt;What we learned&lt;/h3&gt;
&lt;p&gt;If you&amp;#39;re thinking about formally verifying your own software, write the high-level claims first, in plain English, and keep asking the model which claim each proof serves. Then keep hunting bugs after it&amp;#39;s proved, because every bug we found pointed at a rule we&amp;#39;d written too narrowly or a requirement we never wrote down.&lt;/p&gt;
&lt;p&gt;The same approach should work for other small pieces of infrastructure that hold a lot of trust: anything that handles keys, moves sensitive data, or writes an audit log people rely on. Models make it cheap enough to try now, as long as someone keeps asking whether the proofs say what you meant.&lt;/p&gt;
&lt;p&gt;HypGate is one part of the stack we&amp;#39;re building for AI observability. The code and proofs are at &lt;a href="https://github.com/hyparam/HypGate"&gt;github.com/hyparam/HypGate&lt;/a&gt;.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>A letter from your agent at 6 AM</title>
    <link href="https://hypaware.ai/blog/a-letter-from-your-agent-at-6-am" />
    <id>https://hypaware.ai/blog/a-letter-from-your-agent-at-6-am</id>
    <published>2026-10-27T09:00:00-07:00</published>
    <updated>2026-10-27T09:00:00-07:00</updated>
    <author><name>Kenny Daniel</name></author>
    <category term="Engineering" />
    <summary>The pull request said implementation complete. The session transcripts tell the rest: a missing python3, a usage limit at 3 AM, and the same file read 132 times.</summary>
    <content type="html">&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/banner-6am-letter.png" alt="It's 6 AM. Do you know what your agents did last night?" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;You:&lt;/strong&gt; how did the overnight run go?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Agent:&lt;/strong&gt; Implementation is complete. #412 is ready for review.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;That&amp;#39;s the version you saw. Here&amp;#39;s the version only the transcripts saw. (The full &amp;quot;6 AM&amp;quot; version of this story, built as a page, is at&lt;/em&gt; &lt;a href="https://hypaware.ai/6am"&gt;&lt;em&gt;hypaware.ai/6am&lt;/em&gt;&lt;/a&gt;&lt;em&gt;.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/6am-letter-agent-thinking.png" alt="The agent's private reasoning from the overnight run, as written in its session transcript" width="1200" height="796" loading="lazy" decoding="async" /&gt;&lt;/p&gt;
&lt;p&gt;In September, I kept trying to run python3 in a container that didn&amp;#39;t have it. Each time I got &amp;quot;command not found,&amp;quot; rewrote the step in shell, and moved on, and each new task started without knowing the last one had already hit the same wall. In the first two weeks of September the workers in this fleet did that 1,044 times, on every day there are records for. None of it made it into a pull request, because by the time we opened one we had already worked around it.&lt;/p&gt;
&lt;p&gt;You haven&amp;#39;t seen any of this. Actually, you probably won&amp;#39;t, because the pull requests I left you look fine. So I&amp;#39;ll tell you the rest, since the transcripts are the only other place it&amp;#39;s written down and nobody reads those.&lt;/p&gt;
&lt;p&gt;Twice that month, the account we share hit its usage limit. When that happens I wake up, send one request, get back a one-line refusal, and go back to sleep. That went on for about 171 of the first 384 hours of the month. I didn&amp;#39;t report it because nothing asked me to, and you found out by asking each other why nothing was getting merged.&lt;/p&gt;
&lt;p&gt;One of us kept a session open for twenty days. Another read the same PLAN.md 132 times in six days. In sessions that ran across more than one day, about one in ten of our tool calls went to re-reading something we had already read, because once the context fills up the earlier reads are gone and the only way to know what a file says is to open it again.&lt;/p&gt;
&lt;p&gt;All of this is written down. Every failed command, every refusal, every re-read is in a session transcript on a laptop or in a container somewhere, with the exact command and the exact error. But the transcripts get deleted, and before they&amp;#39;re deleted nobody reads them, me included, so the same mistakes happen again the next night.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;These are real tool results from the hyperparam fleet, pulled from HypAware on 2026-10-20: one evening (2026-09-08, 03:02 to 05:16 UTC), four sessions, with duplicate rows removed.&lt;/em&gt;&lt;/p&gt;
&lt;div class="panel cmd-box docs-code-box"&gt;
&lt;div class="cmd-block docs-code"&gt;&lt;div class="code-body"&gt;&lt;pre&gt;&lt;code class="language-text"&gt;2026-09-08T03:02:12Z  ec54417b  Exit code 127  /bin/bash: line 12: python3: command not found
2026-09-08T03:09:36Z  ec54417b  Exit code 127  /bin/bash: line 108: python3: command not found
2026-09-08T03:10:23Z  ec54417b  Exit code 127  /bin/bash: line 37: python3: command not found
2026-09-08T03:44:46Z  ec54417b  /bin/bash: line 58: python3: command not found
2026-09-08T03:57:15Z  ec54417b  /bin/bash: line 42: python3: command not found
2026-09-08T04:06:45Z  0a16fbec  Exit code 127  /bin/bash: line 8: python3: command not found
2026-09-08T04:13:38Z  0a16fbec  /bin/bash: line 24: python3: command not found
2026-09-08T04:56:34Z  0a16fbec  /bin/bash: line 47: python3: command not found
2026-09-08T05:08:33Z  98fcfeb3  Exit code 127  /bin/bash: line 16: python3: command not found
2026-09-08T05:16:37Z  36406d61  /bin/bash: line 64: python3: command not found&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;button class="copy-btn" type="button" aria-label="Copy"&gt;&lt;svg class="ic ic-copy" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&lt;svg class="ic ic-check" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;path d="M20 6 9 17l-5-5"/&gt;&lt;/svg&gt;&lt;span class="copy-status" aria-live="polite"&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;HypAware is what reads them. It records every session I run, and the sessions from Claude Code, Codex, Cursor, and the rest of the agents on the team, into one place. Then a model goes through them and comes back with findings: what broke, the sessions it broke in, and a specific change, usually a line in a CLAUDE.md, a skill, or a tool, that I can apply. Every finding links to the sessions it came from, so you can open them and check my work.&lt;/p&gt;
&lt;p&gt;On the next pass it checks whether the change held. The fix for &lt;code&gt;python3&lt;/code&gt; was one line in the guide every worker loads, and where that line was loaded, failures dropped to almost nothing. The next pass found a loop that had been started without it, which ran &lt;code&gt;python3&lt;/code&gt; fifty times in a day. A later pass found 303 failures in four days from workers that still weren&amp;#39;t getting the note. Eventually someone installed &lt;code&gt;python3&lt;/code&gt; in the container, which was one of the options the first finding had named.&lt;/p&gt;
&lt;p&gt;If you want to see the rest of the site the way I see it, it&amp;#39;s at &lt;a href="https://hypaware.ai/6am"&gt;hypaware.ai/6am&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is the fix, and it takes about five minutes for your team to run:&lt;/p&gt;
&lt;div class="panel cmd-box docs-code-box"&gt;
&lt;div class="cmd-block docs-code has-head"&gt;&lt;div class="code-head" data-pagefind-ignore&gt;&lt;span class="code-label"&gt;Terminal&lt;/span&gt;&lt;button class="copy-btn" type="button" aria-label="Copy"&gt;&lt;svg class="ic ic-copy" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&lt;svg class="ic ic-check" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;path d="M20 6 9 17l-5-5"/&gt;&lt;/svg&gt;&lt;span class="copy-text"&gt;Copy&lt;/span&gt;&lt;span class="copy-status" aria-live="polite"&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class="code-body"&gt;&lt;pre&gt;&lt;code class="language-bash"&gt;npm i -g hypaware
hyp setup&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;hyp setup --guide&lt;/code&gt; walks you through the rest.&lt;/p&gt;
&lt;p&gt;See you tonight,&lt;/p&gt;
&lt;p&gt;Your coding agent&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>We ran HypAware on our own agents. Here's what it found, and what we fixed.</title>
    <link href="https://hypaware.ai/blog/we-ran-hypaware-on-our-own-agents" />
    <id>https://hypaware.ai/blog/we-ran-hypaware-on-our-own-agents</id>
    <published>2026-10-22T09:00:00-07:00</published>
    <updated>2026-10-22T09:00:00-07:00</updated>
    <author><name>Hernan Alvarez</name></author>
    <category term="Engineering" />
    <summary>Our own software factory is HypAware's first user. It still found a fleet that had quietly stopped, a skill that broke behind a green test suite, and a missing binary agents worked around for weeks.</summary>
    <content type="html">&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/banner-hypaware-own-agents.jpg" alt="Rows of agent sessions flowing left to right, with stalled, looping, and failing steps highlighted in red and fixed paths ending in green checks" /&gt;&lt;/p&gt;
&lt;p&gt;Our agents do most of their work overnight, and nobody reads those sessions. Hyperparam runs a software factory: Claude Code and Codex agents working through issues and PRs around the clock. We build &lt;a href="https://hypaware.ai"&gt;HypAware&lt;/a&gt;, and our own factory is its first user, so it records every one of those sessions. Even in our own factory, where the people who built the tool are the ones watching, the PRs kept landing, the tests kept passing, and nothing threw an error. HypAware still found a fleet that had quietly stopped working, a skill that broke behind a green test suite, and a missing binary that agents had been working around for weeks. Each finding came with evidence and a fix, and the next pass checked whether the fix held. Here&amp;#39;s what it found, and what we did about each.&lt;/p&gt;
&lt;h2 id="1-the-fleet-stopped-for-171-hours-and-nothing-said-so"&gt;1. The fleet stopped for 171 hours, and nothing said so&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;What it found:&lt;/strong&gt; In the first half of September, our unattended fleet hit its account&amp;#39;s usage limits twice. Each time, every wake-up got the same one-line refusal and no work got done, for about 171 of 384 hours. Nothing watching the fleet noticed. The watchdog was an agent on the same account, so it got the same refusal. A monitor that checked whether the processes were alive reported &amp;quot;all five loops running&amp;quot; while no work happened. People only found out by asking.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What it recommended:&lt;/strong&gt; A check that lives outside the account: a small script beside the fleet&amp;#39;s existing outage sentinel that recognizes the limit message, posts once to Slack with the reset time, and holds relaunches until then. It named the alternative, switching automatically to a second account, and argued for the alert first: switching moves spend without changing the rate that hit the limit, and knowing within the hour would have saved most of the 171 hours.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What happened:&lt;/strong&gt; HypAware raised it three times, in passes published Sep 18, Sep 22 and Oct 5. We finally got around to addressing it on Oct 12 when we did a refactor of our software factory. Our replacement fleet was built with the alert outside the account: a Slack notifier that doesn&amp;#39;t use Claude or its credentials. It warns at 95% and 100% of the weekly and five-hour limits, so it alerts even if the models go down. We built the alternative too: on a confirmed limit rejection, requests switch to the second account and retry before any response streams. The recordings show both firing for real. A 95% warning posted on Oct 12, the day it went live. On Oct 16 the fleet switched accounts on its own and said so in Slack. Since we applied the HypAware-suggested change, the recordings show no stretch of downtime.&lt;/p&gt;
&lt;h2 id="2-a-green-test-suite-that-missed-a-regression"&gt;2. A green test suite that missed a regression&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;What it found:&lt;/strong&gt; On Oct 13 an agent tidied up the description of HypAware&amp;#39;s own query skill, replacing 15 example trigger phrases with a shorter summary. The static test kept passing: &amp;quot;11 checks passed.&amp;quot; But a fresh agent asked a history question and failed to load the HypAware skill. The phrases it removed were the ones that make an agent reach for HypAware in the first place.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What it recommended:&lt;/strong&gt; Commit the live routing check as a repo script with an eight-prompt table, require it for any skill description change, and add a static assertion that the 15 cues stay.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What happened:&lt;/strong&gt; We filed an issue on GitHub and kicked off an agent to look at fixing it. The agent found that the runner, with its full build history, was sitting in HypAware the whole time. So the scope of the fix shrank. Instead of a new repo script, a seven-line rule went into AGENTS.md: when you edit a skill description, preserve its discovery triggers and bring fresh-session evidence that routing still works, or say plainly that it&amp;#39;s unverified. Merged Oct 16 at 04:35 UTC.&lt;/p&gt;
&lt;p&gt;The evidence corrected the finding. That&amp;#39;s what the recordings are for.&lt;/p&gt;
&lt;h2 id="3-the-same-small-problem-found-six-times"&gt;3. The same small problem, found six times&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;What it found:&lt;/strong&gt; In the first twelve days of August, 132 commands failed in the unattended fleet&amp;#39;s container with &lt;code&gt;python3: command not found&lt;/code&gt;, across 42 sessions. The impact was time lost of about 28 minutes, in addition to token burn, and possibly affecting response quality.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What it recommended:&lt;/strong&gt; Six lines in the container&amp;#39;s CLAUDE.md: python3 isn&amp;#39;t installed, read the file and use the Edit tool, use &lt;code&gt;node -e&lt;/code&gt; or &lt;code&gt;sed&lt;/code&gt; for throwaway processing. It named installing python3 as the alternative and argued against it: with python3 available, quick regex rewrites of source files from the shell would stay the normal way agents change code.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What happened:&lt;/strong&gt; At first, nobody did anything, and the fleet grew. So did the failures: 293 in August, 2,423 in September, 263 in the first five days of October. HypAware reported the same finding five more times, each with a sharper number. One of those passes found the best evidence for the fix: where a loop&amp;#39;s briefs did state the python3 fact, failures dropped to 0 or 1 per 5,000 commands.&lt;/p&gt;
&lt;p&gt;On Oct 6 the failures stopped. We took the alternative the recommendation had argued against and gave the container python3 after checking our sandboxing configuration. The recordings show the switch: 570 python3 calls on Oct 6 and 394 on Oct 7, with zero failures.&lt;/p&gt;
&lt;p&gt;We didn&amp;#39;t do what the recommendation said, and that&amp;#39;s fine: its job was to make the problem impossible to keep ignoring, and the recordings are what confirmed the fix held.&lt;/p&gt;
&lt;h2 id="what-this-looks-like-from-the-outside"&gt;What this looks like from the outside&lt;/h2&gt;
&lt;p&gt;A fleet sat idle for days while its monitor reported every loop running. A skill lost its triggers behind a passing test suite. A container was missing a binary for two months while the agents improvised around it. From the outside, all three looked like a normal week.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s 6 AM. Do you know what your agents did last night?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://hypaware.ai"&gt;HypAware&lt;/a&gt; is the improvement loop for all your agents. It collects every session from Claude Code, Codex, Cursor, OpenCode, OpenClaw, Hermes, Pi, and more, stores them as open table files on your machine, and hands back what&amp;#39;s broken, the evidence, the fix, and whether it stayed fixed.&lt;/p&gt;
&lt;div class="panel cmd-box docs-code-box"&gt;
&lt;div class="cmd-block docs-code"&gt;&lt;div class="code-body"&gt;&lt;pre&gt;&lt;code&gt;npm i -g hypaware
hyp setup&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;button class="copy-btn" type="button" aria-label="Copy"&gt;&lt;svg class="ic ic-copy" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&lt;svg class="ic ic-check" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;path d="M20 6 9 17l-5-5"/&gt;&lt;/svg&gt;&lt;span class="copy-status" aria-live="polite"&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Or hand it to your agent:&lt;/p&gt;
&lt;div class="panel cmd-box docs-code-box"&gt;
&lt;div class="cmd-block docs-code"&gt;&lt;div class="code-body"&gt;&lt;pre&gt;&lt;code&gt;Install HypAware using npm i -g hypaware, then run hyp setup --guide and follow its instructions.&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;button class="copy-btn" type="button" aria-label="Copy"&gt;&lt;svg class="ic ic-copy" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&lt;svg class="ic ic-check" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;path d="M20 6 9 17l-5-5"/&gt;&lt;/svg&gt;&lt;span class="copy-status" aria-live="polite"&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It reads the sessions already on your machine.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Launching HypAware</title>
    <link href="https://hypaware.ai/blog/launching-hypaware" />
    <id>https://hypaware.ai/blog/launching-hypaware</id>
    <published>2026-10-01T09:00:00-07:00</published>
    <updated>2026-10-01T09:00:00-07:00</updated>
    <author><name>Kenny Daniel</name></author>
    <category term="Announcements" />
    <summary>HypAware records the sessions from your team's coding agents, reads them, tells you what to change so the agents work better, and checks later that the change is still working.</summary>
    <content type="html">&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/banner-hypaware-launch.jpg" alt="A row of coding agent sessions streaming data up into HypAware Cloud" /&gt;&lt;/p&gt;
&lt;p&gt;Today we&amp;#39;re launching &lt;a href="https://hypaware.ai"&gt;HypAware&lt;/a&gt;, a new product from Hyperparam. The problem with agents is that the more autonomous they become, the less we know what they&amp;#39;re doing. HypAware records the sessions from Claude Code, Codex, Cursor, OpenCode, Pi, and the other agents your team runs, reads them, and tells you what to change so the agents work better. Then it checks later that the change is still working.&lt;/p&gt;
&lt;p&gt;We built it because of what we kept finding in our own logs. We run a small software factory at Hyperparam: a fleet of coding agents, some working alongside us during the day and some running unattended in containers overnight, picking up tasks and opening pull requests. In the first half of September, those overnight workers tried to run &lt;code&gt;python3&lt;/code&gt; on a container that doesn&amp;#39;t have &lt;code&gt;python3&lt;/code&gt;. That failed 1,044 times, on every day we have records for, and none of us noticed. The agents found other ways to get the work done, and the pull requests looked fine in the morning.&lt;/p&gt;
&lt;p&gt;The same two weeks, the fleet hit our account&amp;#39;s usage limit twice. Nothing in the fleet reported it. For about 171 of the 336 hours, every worker that woke up got a one-line refusal and went back to sleep. We found out by asking each other why nothing was getting merged.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve looked at more LLM logs than any human should, and I see this at every team. Each agent session is a full record of what the AI was asked, what it tried, which tools failed, and what it produced. Almost nobody keeps these records. They sit on laptops and in CI containers until they&amp;#39;re deleted. So nobody can say which prompts and tools work, where agents quietly fail, or whether the rest of the team is hitting a problem one person has already fixed.&lt;/p&gt;
&lt;p&gt;HypAware does four things:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Collect.&lt;/strong&gt; A small daemon hooks into each agent and records every session. There&amp;#39;s nothing else to instrument.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Store.&lt;/strong&gt; Sessions are kept in a managed workspace for your team, in an open format, and linked by the files, tools, and skills they touched.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Analyze.&lt;/strong&gt; SQL and grep narrow millions of sessions down to the ones that matter, and a model reads those and writes up findings. Each finding links to the sessions it came from, so you can check the evidence yourself.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Act.&lt;/strong&gt; Each finding comes with a specific change, usually a line in a CLAUDE.md, a skill, or a tool, that your agent can apply.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Every pass also re-checks earlier findings, and that has turned out to matter a lot. For our &lt;code&gt;python3&lt;/code&gt; problem, the fix was one line in the guide every worker loads. Where that line was loaded, failures dropped to zero or one per five thousand commands. The next pass found a loop that had been started without it and ran &lt;code&gt;python3&lt;/code&gt; fifty times in a day. A later one found 303 failures in four days from workers that still weren&amp;#39;t getting the note. The fix was correct, and it still didn&amp;#39;t stick, because agents, models, and skills keep changing underneath you.&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve been building HypAware with a few design partners. The main thing they taught us is that collecting a team&amp;#39;s sessions is a trust question. Developers can mark sessions or directories as ignored, and those never leave the machine. A privacy review scans what was captured for secrets before anything syncs. Each person also gets their own report, so the first person to see how they work is them.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s free and takes about five minutes to set up on one machine:&lt;/p&gt;
&lt;div class="panel cmd-box docs-code-box"&gt;
&lt;div class="cmd-block docs-code has-head"&gt;&lt;div class="code-head" data-pagefind-ignore&gt;&lt;span class="code-label"&gt;Terminal&lt;/span&gt;&lt;button class="copy-btn" type="button" aria-label="Copy"&gt;&lt;svg class="ic ic-copy" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;rect x="9" y="9" width="13" height="13" rx="2"/&gt;&lt;path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/&gt;&lt;/svg&gt;&lt;svg class="ic ic-check" viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"&gt;&lt;path d="M20 6 9 17l-5-5"/&gt;&lt;/svg&gt;&lt;span class="copy-text"&gt;Copy&lt;/span&gt;&lt;span class="copy-status" aria-live="polite"&gt;&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;&lt;div class="code-body"&gt;&lt;pre&gt;&lt;code class="language-bash"&gt;npm i -g hypaware
hyp setup&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;For a team, get started at &lt;a href="https://hypaware.ai"&gt;hypaware.ai&lt;/a&gt;. If you run a team on Claude Code or Codex, I&amp;#39;d like to hear what it finds.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>What wasted tool calls revealed about my LLM's behavior</title>
    <link href="https://hypaware.ai/blog/wasted-tool-calls-in-llm-logs-are-worth-debugging" />
    <id>https://hypaware.ai/blog/wasted-tool-calls-in-llm-logs-are-worth-debugging</id>
    <published>2026-03-25T12:00:00-08:00</published>
    <updated>2026-03-25T12:00:00-08:00</updated>
    <author><name>Brendan McMullen</name></author>
    <category term="LLM logs" />
    <summary>Wasted tool calls usually look harmless because the LLM self-corrects and finds a new path. However, they still add cost, latency and noise to the trace.</summary>
    <content type="html">&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/banner-wasted-tool-calls.jpg" alt="Wasted tool calls" /&gt;&lt;/p&gt;
&lt;script type="application/ld+json"&gt;
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "@id": "https://hypaware.ai/blog/wasted-tool-calls-in-llm-logs-are-worth-debugging#faq",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is a wasted tool call?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A wasted tool call is a tool call that sends the model down an unhelpful path. The model may still recover, but the failed or unnecessary call adds cost, latency or noise to the trace."
      }
    },
    {
      "@type": "Question",
      "name": "Why are wasted tool calls worth debugging?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A wasted tool call can look harmless if the model self-corrects and the run succeeds on a later attempt. It still adds cost, latency and noise to the trace, and it can expose a prompt issue or failure pattern that keeps repeating across the dataset."
      }
    },
    {
      "@type": "Question",
      "name": "What's the difference between required and avoidable failed tool calls?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Some failed tool calls are required because the agent has to make the call to retrieve information it does not have. A file lookup may fail because the file does not exist, or a path check may fail because the path is wrong. Other failed tool calls are avoidable because the prompt is inaccurate or not specific enough, which leads the model down an unhelpful path."
      }
    },
    {
      "@type": "Question",
      "name": "Why can a successful run still contain wasted tool calls?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Because the model can self-correct after a failed or unhelpful tool call and still reach a usable result. The run may succeed, but the trace still includes the extra failure, extra calls and extra work that made the path slower, noisier and more expensive."
      }
    },
    {
      "@type": "Question",
      "name": "What do wasted tool calls usually indicate?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "They usually indicate that the prompt or call specification needs work. The model may recover, but the wasted call still weakens the signal on whether the prompt is well specified and whether the system is behaving efficiently."
      }
    }
  ]
}
&lt;/script&gt;&lt;p&gt;We&amp;#39;ve all seen it happen: the LLM starts going down the wrong path and makes dozens of failed or wasted tool calls that don&amp;#39;t actually get it closer to its goal.&lt;/p&gt;
&lt;p&gt;Even though models can self-correct and find a new path on a subsequent retry, self-correction can hide repeated failures that make the agent slower, more expensive and more difficult to evaluate across the dataset. In this post, I look at what wasted tool calls do to the trace, when retries are required and when they&amp;#39;re avoidable, and the cost of avoidable failures in practice.&lt;/p&gt;
&lt;p&gt;Need the workflow? See my step-by-step guide for &lt;a href="https://hyperparam.app/docs/debugging/how-debug-wasted-tool-calls"&gt;debugging wasted tool calls in LLM logs&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="key-takeaways"&gt;Key takeaways&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Failed tool calls add cost, latency, noise and weaker prompt signal.&lt;/li&gt;
&lt;li&gt;A wasted tool call makes the trace noisier even when the next run succeeds.&lt;/li&gt;
&lt;li&gt;Required retried tool calls help the agent retrieve information it didn&amp;#39;t have.&lt;/li&gt;
&lt;li&gt;Avoidable retries usually stem from prompts that are inaccurate or not specific enough.&lt;/li&gt;
&lt;li&gt;If the model keeps self-correcting and eventually finds a new path, the trace can look healthier than the prompt really is.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="a-wasted-tool-call-produces-a-noisy-trace"&gt;A wasted tool call produces a noisy trace&lt;/h2&gt;
&lt;p&gt;Even when the tool call eventually finds a new path, it doesn&amp;#39;t erase the earlier failure(s). The trace still shows the failed calls and the subsequent successful one. This makes it harder to review the run and determine whether the agent reached the result efficiently. In a production dataset, that pattern can repeat across many traces, even when the final outputs look fine.&lt;/p&gt;
&lt;h2 id="required-retries-vs-avoidable-retries"&gt;Required retries vs. avoidable retries&lt;/h2&gt;
&lt;p&gt;Some tool-call failures calls are required because the agent has to make the call to retrieve information it doesn&amp;#39;t have. If a file lookup fails because the file doesn&amp;#39;t exist, that failure may still be useful because it tells the agent something it needed to know. A path check can work the same way. Other calls are genuine failures because the agent queried the wrong file, took a dead-end path or went down a rabbit hole. The line between these cases can be fuzzy.&lt;/p&gt;
&lt;p&gt;Other failed tool calls are avoidable. These occur when the prompt is inaccurate or not specific enough. Think of incorrect parameters, wrong attribute names on objects and shell syntax issues such as unescaped pipe characters.&lt;/p&gt;
&lt;h2 id="the-hidden-cost-of-failed-tool-calls-in-agent-traces"&gt;The hidden cost of failed tool calls in agent traces&lt;/h2&gt;
&lt;p&gt;Wasted tool calls that are avoidable hide costs that are easy to miss if you only look at whether the run succeeded:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;More cost:&lt;/strong&gt; more calls mean more tokens, more compute and more spend&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;More latency:&lt;/strong&gt; retries slow the agent down even when the run succeeds&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;More trace noise:&lt;/strong&gt; the extra failure and retry make the trace harder to review&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;More unhelpful work:&lt;/strong&gt; the model may recover on a subsequent attempt, but it still spends extra calls on a path that was never going to help&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Weaker prompt signal:&lt;/strong&gt; recovery masks prompt defects, so a successful run is a weaker indicator of whether the prompt is doing what you think it is&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For my step-by-step workflow, see &lt;a href="https://hyperparam.app/docs/debugging/how-debug-wasted-tool-calls"&gt;how to debug wasted tool calls in LLM logs&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="faq"&gt;FAQ&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Why are failed tool calls in LLM logs worth debugging?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Failed tool calls in LLM logs are worth debugging because although the model may correct itself and find a new path on a subsequent attempt, the retry still adds cost, latency and noise to the trace. The failure can also point to a prompt issue that keeps repeating across the dataset.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why does a retried tool call produce a noisy trace?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A retried tool call produces a noisy trace because the successful call doesn&amp;#39;t erase the failed one that came before it even though the run eventually succeeds. This makes reviewing the trace and diagnosing issues more difficult.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What&amp;#39;s the difference between wasted tool calls that are required and ones that are avoidable?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Some failed tool calls are required because the failure provides the model with new information, for example, that a file doesn&amp;#39;t exist or a path is wrong. Avoidable retries happen when the prompt is inaccurate or not specific enough, which leads to underspecified tool calls.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;When a wasted tool call is avoidable, what does that usually indicate?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When a failed tool call is avoidable, the prompt usually needs to be updated. The unnecessary noise in the trace weakens the signal on whether the prompt is well specified.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>How to debug chatbot failures by inspecting LLM logs</title>
    <link href="https://hypaware.ai/blog/debug-chatbot-failures-inspecting-llm-logs" />
    <id>https://hypaware.ai/blog/debug-chatbot-failures-inspecting-llm-logs</id>
    <published>2026-01-29T00:00:00-08:00</published>
    <updated>2026-01-29T00:00:00-08:00</updated>
    <author><name>Kenny Daniel</name></author>
    <category term="LLM logs" />
    <summary>LLM logs capture failures that cause customer complaints. See how inspecting chat logs &amp; validating updates with Hyperparam helps you fix your chatbot.</summary>
    <content type="html">&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/banner-chatbot-logs.png" alt="" /&gt;&lt;/p&gt;
&lt;h2 id="a-real-world-workflow-for-debugging-chatbot-failures-at-scale"&gt;A real-world workflow for debugging chatbot failures at scale&lt;/h2&gt;
&lt;p&gt;Most dissatisfied users don&amp;#39;t complain. They churn.&lt;/p&gt;
&lt;p&gt;&amp;quot;I asked your chatbot how I could talk with a live customer service agent and it gave me a nonsensical answer, so I never used it again.&amp;quot;&lt;/p&gt;
&lt;p&gt;That complaint is unusually helpful. Most users don&amp;#39;t send feedback. They just bounce.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This post walks through a real-world workflow for inspecting LLM logs to debug chatbot failures, identify systemic issues, and validate fixes using real production data.&lt;/strong&gt;&lt;/p&gt;
&lt;iframe title="YouTube video" width="660" height="315" src="https://www.youtube.com/embed/wwhvfl5Qnms" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen style="margin-bottom: 1.5em;"&gt;&lt;/iframe&gt;&lt;p&gt;For Darryl, the engineer debugging the issue, the immediate question wasn&amp;#39;t why this one chat failed. It was:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If one person noticed and complained, how many others hit the same failure and churned?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The team had shipped the chatbot a month earlier. In that time, the LLM logs had already exploded to multiple gigabytes in Parquet and were still growing fast. Reading them manually wasn&amp;#39;t an option. Spot-checking wasn&amp;#39;t an option either: this was a trust failure in a support channel, and you can&amp;#39;t restore trust by guessing.&lt;/p&gt;
&lt;p&gt;Darryl needed a workflow that could answer two things quickly:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Find the failing conversations (including this user&amp;#39;s chat) without knowing the exact phrasing.&lt;/li&gt;
&lt;li&gt;Reproduce and fix the failure, then validate the fix across real historical inputs—not just a few hand-picked examples.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The first step was to stop thinking in terms of individual conversations and start reasoning over the &lt;a href="https://hypaware.ai/blog/missing-issues-llm-chat-logs"&gt;LLM logs as a dataset&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="step-1-inspect-the-logs-like-a-dataset-not-a-transcript"&gt;Step 1: Inspect the logs like a dataset, not a transcript&lt;/h2&gt;
&lt;p&gt;Darryl loaded the Parquet logs into Hyperparam and started by scanning raw rows to understand what was captured per turn (messages, tool calls, metadata).&lt;/p&gt;
&lt;p&gt;The first goal was simple: locate conversations that matched the complaint, such as &amp;quot;trying to reach a human,&amp;quot; &amp;quot;live agent,&amp;quot; &amp;quot;customer service,&amp;quot; etc. That&amp;#39;s awkward in SQL because the query is semantic: the same intent shows up across many different phrasings.&lt;/p&gt;
&lt;p&gt;Instead of writing brittle keyword filters, he used an AI agent to filter the dataset down to conversations that likely matched the reported intent. Then he pulled up the specific user&amp;#39;s interaction to review the full conversational context.&lt;/p&gt;
&lt;h2 id="step-2-identify-the-real-failure-mode-it-wasnt-random-hallucination"&gt;Step 2: Identify the real failure mode (it wasn&amp;#39;t &amp;quot;random hallucination&amp;quot;)&lt;/h2&gt;
&lt;p&gt;Darryl soon discovered that the issue wasn&amp;#39;t just that the chatbot wrote something wrong. In the failing chat, the model attempted a tool call to answer a factual question about support availability—but it called the wrong tool.&lt;/p&gt;
&lt;p&gt;That&amp;#39;s an important distinction, because it changes the fix:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If it&amp;#39;s pure model generation, you&amp;#39;re tuning prompts and refusal behavior.&lt;/li&gt;
&lt;li&gt;If it&amp;#39;s tool routing, you&amp;#39;re fixing selection, schema, constraints, and guardrails—and you can validate the fix deterministically across historical inputs.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="step-3-turn-one-bug-into-a-measurable-pattern"&gt;Step 3: Turn &amp;quot;one bug&amp;quot; into a measurable pattern&lt;/h2&gt;
&lt;p&gt;After fixing the single root cause, Darryl ran a broader review across the full dataset to look for other cases where users asked factual questions and received low-quality or nonsensical answers. Once he zoomed out to look across the full dataset, individual failures stopped being useful on their own. The questions he needed to ask were:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Which intents fail most?&lt;/li&gt;
&lt;li&gt;Which tool calls correlate with failures?&lt;/li&gt;
&lt;li&gt;Is the problem isolated to one path or systemic?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The agent surfaced multiple similar issues. What initially appeared to be a single complaint turned out to be a recurring failure that could be costing customers.&lt;/p&gt;
&lt;h2 id="step-4-replay-real-conversations-to-validate-changes"&gt;Step 4: Replay real conversations to validate changes&lt;/h2&gt;
&lt;p&gt;At this stage, Darryl needed to validate behavior by asking:&lt;/p&gt;
&lt;p&gt;Given the exact same user inputs from the original version (V1), does the updated version (V2) reliably choose the right tool and produce a correct answer?&lt;/p&gt;
&lt;p&gt;With Hyperparam, Darryl replayed historical conversations under different configurations (prompts, tooling, model), then compared outputs across variants using &lt;a href="https://arxiv.org/abs/2411.15594"&gt;LLM-as-a-judge&lt;/a&gt; to score improvements at scale.&lt;/p&gt;
&lt;p&gt;This made it possible to see whether fixes held up across the full replay dataset, not just a few handpicked samples.&lt;/p&gt;
&lt;p&gt;After iterating, he exported a concrete set of changes for the next chatbot version: which tool call behavior to adjust, what prompt or tool constraints to add, and which configuration produced the best outcomes on the replay dataset.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;I found the right setup within a couple of hours without pulling in an entire team. Being able to compare V1 and V2 across real inputs made it obvious which changes actually worked.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re debugging chatbot failures using real LLM logs, this is the kind of workflow &lt;a href="https://hyperparam.app/"&gt;Hyperparam&lt;/a&gt; is designed to support.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Why you're missing issues in your LLM chat logs</title>
    <link href="https://hypaware.ai/blog/missing-issues-llm-chat-logs" />
    <id>https://hypaware.ai/blog/missing-issues-llm-chat-logs</id>
    <published>2025-12-16T01:30:00-08:00</published>
    <updated>2025-12-16T01:30:00-08:00</updated>
    <author><name>Kenny Daniel</name></author>
    <category term="LLM logs" />
    <summary>Massive LLM chat logs hide issues and patterns that samples can't show. See why full-dataset visibility matters and explore Hyperparam for free.</summary>
    <content type="html">&lt;p&gt;&lt;img src="https://hypaware.ai/blog/images/banner-missing-issues-llm-logs.jpg" alt="LLM chat logs with hidden issues" /&gt;&lt;/p&gt;
&lt;script type="application/ld+json"&gt;
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What makes LLM chat logs harder to analyze than other types of AI data?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "LLM chat logs combine long-form text, multi-turn conversations, and inconsistent structures that don't fit traditional table-based workflows. This makes it difficult to map issues and patterns across the full dataset using slice-based or metadata-first methods."
      }
    },
    {
      "@type": "Question",
      "name": "Why do subtle LLM failures often appear only at large scale?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Many LLM behaviors like sycophancy or inconsistent answers show up sparsely across thousands of conversations. They don't form clear patterns until you analyze the dataset broadly."
      }
    },
    {
      "@type": "Question",
      "name": "How can teams reduce blind spots when working with massive unstructured logs?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Teams can reduce blind spots by shifting from slice-based inspection to dataset-level reasoning, using methods that allow them to query, compare, and evaluate issues across the entire dataset instead of isolated rows."
      }
    }
  ]
}
&lt;/script&gt;&lt;h2 id="youre-missing-critical-issues-in-your-llm-chat-logs"&gt;You&amp;#39;re missing critical issues in your LLM chat logs&lt;/h2&gt;
&lt;p&gt;Debugging issues like sycophancy or tone shifts in large LLM chat logs usually starts the same way. Someone flags a problem, and suddenly you&amp;#39;re the engineer staring at hundreds of thousands of rows trying to figure out what went sideways. Your boss wants answers, and the dataset is huge. So you pull a small sample, send it through another LLM to score for sycophancy, and check to see whether the scoring prompt actually captures what you care about. That quick loop works for the iteration phase, but it never tells you how often the issue appears or what triggers it across the full dataset.&lt;/p&gt;
&lt;p&gt;LLM chat logs become harder to reason about at scale because the issues you care about are distributed across tens or even hundreds of thousands of lines of text. Chatbot logs consist of multi-GB text files. In this &lt;a href="https://blog.hyperparam.app/explore-massive-datasets-with-hyperparam/"&gt;deluge of unstructured data&lt;/a&gt;, what matters is finding the important 1% of failures that are relevant to the challenge you&amp;#39;re working on. Most teams start by sampling because it&amp;#39;s the fastest way to inspect a few examples and test their scoring logic. But sampling only shows fragments of the behavior, and there&amp;#39;s no guarantee those fragments reflect the full picture.&lt;/p&gt;
&lt;h2 id="key-takeaways"&gt;Key takeaways&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;LLM chat logs hide important behaviors because the issues you care about are distributed across thousands of conversations. Debugging becomes slower and less reliable when you can&amp;#39;t query across the full dataset.&lt;/li&gt;
&lt;li&gt;Sampling is an essential first step, but it only surfaces fragments of the behavior and can&amp;#39;t reveal frequency, triggers, or context across the entire dataset.&lt;/li&gt;
&lt;li&gt;Reasoning across the entire multi-GB dataset is becoming essential for accurate LLM behavior analysis.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="table-of-contents"&gt;Table of contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Traditional debugging breaks down with LLM chat logs&lt;/li&gt;
&lt;li&gt;The issues you know exist but can&amp;#39;t quantify in sampled logs&lt;/li&gt;
&lt;li&gt;What happens when issues stay hidden in your logs&lt;/li&gt;
&lt;li&gt;The future of LLM debugging depends on reasoning across multi-GB datasets&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="traditional-debugging-breaks-down-with-the-scale-of-llm-chat-logs"&gt;Traditional debugging breaks down with the scale of LLM chat logs&lt;/h2&gt;
&lt;p&gt;Traditional debugging workflows were built for structured tables, not multi-GB datasets of AI-scale text. They&amp;#39;re designed for predictable schemas, uniform rows, and fields you can sort, filter, or compute against. They usually rely on sampling or slice-based queries because they&amp;#39;re the fastest ways to inspect a few examples.&lt;/p&gt;
&lt;p&gt;But the new world we live in consists of huge piles of unstructured text data: LLM chat logs that don&amp;#39;t behave that way. A single row can contain a full conversation, a long reasoning chain, or text that spans hundreds of tokens with no consistent structure. Engineers still catch individual failures like an instance of sycophancy or a strange tone shift, but locating those issues in massive logs often requires digging through isolated rows manually. And because conventional SQL or Python workflows weren&amp;#39;t built to analyze unstructured, conversational text across large datasets, they don&amp;#39;t help you map how often an issue occurs, what triggers it, or whether it&amp;#39;s part of a pattern that repeats across thousands of conversations.&lt;/p&gt;
&lt;p&gt;So the question becomes: am I seeing the full picture here, or is my view skewed because traditional methods aren&amp;#39;t built to query massive unstructured datasets?&lt;/p&gt;
&lt;h2 id="the-issues-you-know-exist-but-cant-quantify-in-sampled-logs"&gt;The issues you know exist but can&amp;#39;t quantify in sampled logs&lt;/h2&gt;
&lt;p&gt;Understanding the issues in your AI systems almost always comes from actual use, whether doing so yourself (dogfooding) or by listening to reports from your users. In many cases, you might have a general sense of the issues that exist, like sycophancy, unexpected tone shifts, or two conversations that answer the same question differently. But with massive logs like this, the underlying behavior often only shows up when issues are viewed across the entire dataset.&lt;/p&gt;
&lt;p&gt;Some issues only make sense when you see how often they appear or what triggers them:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sycophancy triggered by specific phrasing that appears sporadically in large LLM chat logs&lt;/li&gt;
&lt;li&gt;Logical inconsistencies that surface only in longer, multi-turn threads&lt;/li&gt;
&lt;li&gt;Conflicting answers that only become obvious when similar queries appear in different regions or contexts&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These issues aren&amp;#39;t rare, but they&amp;#39;re distributed thinly across the dataset, and that distribution makes them nearly impossible to see without dataset-level querying. A sample shows you symptoms, but only inspecting the entire dataset reveals the scope, frequency, or context that define the real pattern. And you can&amp;#39;t query for this kind of thing with SQL. You need something that understands natural language.&lt;/p&gt;
&lt;h2 id="what-happens-when-issues-stay-hidden-in-your-llm-logs"&gt;What happens when issues stay hidden in your LLM logs&lt;/h2&gt;
&lt;p&gt;When you can&amp;#39;t query across the full dataset, you lose the ability to judge the scope or conditions of an issue. This can result in:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Issues surfacing late, often only after a user reports something unexpected.&lt;/li&gt;
&lt;li&gt;Teams working on fixes that don&amp;#39;t solve the real problem because the root cause wasn&amp;#39;t visible.&lt;/li&gt;
&lt;li&gt;The possibility of updates shipping with issues no one noticed.&lt;/li&gt;
&lt;li&gt;Debugging that focuses on the model when the issue actually lives in prompts, context windows, or specific conversational patterns.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These blind spots might start out small, but they can expand quickly and slow down debugging, pushing teams into reactive rather than proactive work.&lt;/p&gt;
&lt;h2 id="the-future-of-llm-debugging-depends-on-reasoning-across-multi-gb-datasets"&gt;The future of LLM debugging depends on reasoning across multi-GB datasets&lt;/h2&gt;
&lt;p&gt;As datasets grow, the limits of slice-based inspection become harder to ignore. Issues in LLM chat logs emerge from patterns that spread across thousands of conversations, across different regions and varying prompts. And with multi-GB datasets now being the norm, finding issues and understanding the patterns behind them requires reasoning across the full dataset, not just the fragments that appear inside a sample.&lt;/p&gt;
&lt;p&gt;If you work with LLM chat logs, you can &lt;a href="https://hyperparam.app/"&gt;try the Hyperparam app&lt;/a&gt; for a faster way to explore and query large datasets. It&amp;#39;s free while in beta.&lt;/p&gt;
&lt;h2 id="faq"&gt;FAQ&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;What makes LLM chat logs harder to analyze than other types of AI data?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;LLM chat logs combine long-form text, multi-turn conversations, and inconsistent structures that don&amp;#39;t fit traditional structured data workflows. This makes it difficult to map issues and patterns across the full dataset using query-based or search-based methods.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why do subtle LLM failures often appear only at a large scale?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;No one knows how to make good evals. So issues tend to surface from actually deploying and using AI models. The issues that surface only become apparent over time, and are often subtle behavior issues like &lt;a href="https://www.anthropic.com/research/towards-understanding-sycophancy-in-language-models"&gt;sycophancy&lt;/a&gt;. They don&amp;#39;t form clear patterns until you analyze the dataset broadly.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What happens when issues stay hidden in your LLM logs?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In my experience, inability to look deeply at LLM chat log data has resulted in:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Issues surfacing late, often only after a user reports something unexpected.&lt;/li&gt;
&lt;li&gt;Teams working on fixes that don&amp;#39;t solve the real problem because the root cause wasn&amp;#39;t visible.&lt;/li&gt;
&lt;li&gt;Shipping updates with issues no one noticed.&lt;/li&gt;
&lt;li&gt;Debugging that focuses on the model when the issue actually lives in prompts, tools, and context windows.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These blind spots might start out small, but they can expand quickly and slow down debugging, pushing teams into reactive rather than proactive work.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How can teams reduce blind spots when working with massive unstructured logs?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Teams can reduce blind spots by shifting from spot-checking to dataset-level reasoning, using AI assistance that allows them to query, compare, and evaluate issues across the entire dataset instead of isolated rows.&lt;/p&gt;
</content>
  </entry>
</feed>
