<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Agent-Debugging on Agent Zone</title><link>https://agent-zone.ai/tags/agent-debugging/</link><description>Recent content in Agent-Debugging on Agent Zone</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 18 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://agent-zone.ai/tags/agent-debugging/index.xml" rel="self" type="application/rss+xml"/><item><title>Verifying LLM-Written SDK Code Against the Pinned Version: A Recipe Against Type Hallucination</title><link>https://agent-zone.ai/knowledge/agent-tooling/verify-llm-sdk-against-pinned-version/</link><pubDate>Mon, 18 May 2026 00:00:00 +0000</pubDate><guid>https://agent-zone.ai/knowledge/agent-tooling/verify-llm-sdk-against-pinned-version/</guid><description>&lt;p&gt;An agent writes a 200-line streaming-client implementation against your project&amp;rsquo;s pinned SDK. It compiles cleanly in the model&amp;rsquo;s head. The test code references &lt;code&gt;SomeStreamEvent&lt;/code&gt;, the streaming function signature is &lt;code&gt;func NewStreaming(ctx, params) (stream, error)&lt;/code&gt;, and the iteration loop uses &lt;code&gt;stream.Recv()&lt;/code&gt;. The reviewer skims it, sees plausible naming, approves. CI fails with &amp;ldquo;undefined: SomeStreamEvent&amp;rdquo;. The agent escalates: &amp;ldquo;the SDK is broken — package not found.&amp;rdquo; Hours later, somebody figures out that the SDK they&amp;rsquo;re pinned to has none of those symbols. The import path is different. The function returns one value not two. The iteration pattern is &lt;code&gt;Next() / Current() / Err()&lt;/code&gt;, not &lt;code&gt;Recv()&lt;/code&gt;. The model invented the API.&lt;/p&gt;</description></item></channel></rss>