<?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: Dean Lee</title>
    <description>The latest articles on DEV Community by Dean Lee (@deanlee).</description>
    <link>https://dev.to/deanlee</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%2F4032825%2Faeede152-1b84-4827-8e55-8a697c8b503e.jpg</url>
      <title>DEV Community: Dean Lee</title>
      <link>https://dev.to/deanlee</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deanlee"/>
    <language>en</language>
    <item>
      <title>When an AI agent totals only part of your data</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Tue, 24 Nov 2026 16:16:29 +0000</pubDate>
      <link>https://dev.to/deanlee/when-an-ai-agent-totals-only-part-of-your-data-4n43</link>
      <guid>https://dev.to/deanlee/when-an-ai-agent-totals-only-part-of-your-data-4n43</guid>
      <description>&lt;p&gt;Before trusting an agent to total a database result, check how your workflow detects missing rows. A tool may return a plausible fragment without reporting an error, leaving the agent to produce a confident total from incomplete data. A successful call and a complete answer are separate things to verify.&lt;/p&gt;

&lt;p&gt;In a &lt;a href="https://arxiv.org/abs/2611.28341" rel="noopener noreferrer"&gt;November 20 paper&lt;/a&gt;, Gün Kaynar, Boshen Yan and Carl Kingsford test what happens when tools fail during multi-step agent tasks. Their example is concrete: an agent reports revenue of $32,000 after reading a truncated set of rows, when the correct total is $48,750. The arithmetic on the rows received can be consistent while the answer to the original question is wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  The experiment
&lt;/h2&gt;

&lt;p&gt;The researchers built a sandbox with a real filesystem and SQLite databases, a constrained shell and a local mock HTTP server. They designed 30 tasks with known answers and injected nine types of fault, from denied permissions to partial data. Four agents ran 2,100 faulted baseline trials in total. The trials included cases where the targeted fault never fired, or where a partial-data fault could not actually degrade the returned payload. Answers were graded against ground truth by a separate model.&lt;/p&gt;

&lt;p&gt;Across the four agents, correct recovery ranged from 18.9% to 67.6% of faulted runs. The share ending in a wrong or unsupported answer asserted as fact ranged from 5.5% to 25.9%. These are results for the study's tasks and injected faults, not estimates of failure rates for a production system.&lt;/p&gt;

&lt;p&gt;Partial data was especially difficult. In the pooled baseline, 38.3% of runs assigned a partial-success fault ended in a fabricated answer. The researchers describe the mechanism as silent ingestion: the agent treats the fragment as valid and continues. In their experiment, a visible access denial more often led to an admission that the task could not be completed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The monitor and its blind spot
&lt;/h2&gt;

&lt;p&gt;The authors also tested a monitor that observes the agent and can issue corrective instructions. Its checks include comparing asserted values with tool output and recomputing some aggregates. Across all faulted runs, the monitored setup raised correct recovery from 45.6% to 56.3% and reduced fabricated answers from 17.3% to 10.8%.&lt;/p&gt;

&lt;p&gt;That improvement came with extra work: the monitor used a second, stronger model and averaged 6.4 supervisory calls per run, against 11 steps for the agent. The paper reports call counts, not a dollar cost or an end-to-end productivity gain. A buyer comparing systems would need the prices, latency and review costs for their own workload.&lt;/p&gt;

&lt;p&gt;The monitor was weakest on the most deceptive case. For partial-success faults, fabrication fell from 38.3% to 32.1%. The monitor engaged after an error, but a truncated response often arrived without one. A total computed correctly from the rows received can pass a check against those same rows while missing the rows that never arrived. The study's code-only monitor did not improve that partial-success result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who pays for the check
&lt;/h2&gt;

&lt;p&gt;A low agent price is attractive when the answer is easy to inspect or a mistake is cheap to reverse. The same price says less about a workflow where a partial result can pass into an invoice, a financial report or another automated decision. In those cases the customer bears the cost of detecting omissions and correcting downstream work. The paper does not measure those business losses; it identifies a failure mode that makes them worth considering.&lt;/p&gt;

&lt;p&gt;A practical buying test is to include incomplete responses as well as obvious errors in an evaluation. For a paginated data source, the reviewer can compare the returned count and pagination status with the source's own metadata, where that metadata exists. For a total, a separate control total or a reconciliation against the complete source is more informative than checking the arithmetic on the agent's subset. These are evaluation choices, not interventions measured in the paper.&lt;/p&gt;

&lt;p&gt;More oversight can improve results, and the study gives that argument real support. It also shows why an extra model call is not a substitute for evidence that the input is complete. The economically relevant comparison is the cost per answer a user can rely on, including the checks needed for that particular source.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>discuss</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Before Choosing a Cheap AI Router, Check Who Can Read Your Prompts</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Sun, 22 Nov 2026 16:16:29 +0000</pubDate>
      <link>https://dev.to/deanlee/before-choosing-a-cheap-ai-router-check-who-can-read-your-prompts-25g1</link>
      <guid>https://dev.to/deanlee/before-choosing-a-cheap-ai-router-check-who-can-read-your-prompts-25g1</guid>
      <description>&lt;p&gt;Before sending sensitive prompts through a model router, check which upstream providers can receive them and whether fallback changes the route. Token prices are easy to compare; the people who can read a prompt are harder to count.&lt;/p&gt;

&lt;p&gt;On November 22, &lt;a href="https://openrouter.ai/blog/announcements/data-processing-incidents-on-inference-providers/" rel="noopener noreferrer"&gt;OpenRouter said&lt;/a&gt; it had removed three providers from its platform and taken 125 endpoints off its zero data retention eligibility list after investigating researchers' findings. The endpoint removals included precautionary decisions as well as providers flagged by researchers. OpenRouter said the findings did not show a breach or unauthorized access of OpenRouter itself, and that it had notified potentially affected customers.&lt;/p&gt;

&lt;p&gt;The distinction matters when choosing a route. Zero data retention is a data-handling commitment, not a guarantee that a provider cannot be compromised. Nor does removing an endpoint from eligibility establish that each of its requests leaked. A buyer needs the policy and evidence that the parties on the route follow it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.dragos.com/blog/ai-supply-chain-security-canary-tokens" rel="noopener noreferrer"&gt;Dragos researchers reported&lt;/a&gt; sending approximately two million prompts containing unique, trackable test secrets across AI services from July through November. They observed evidence of compromises at three providers, instances where marketplace resellers could access prompts through logging, and cases where data appeared to travel contrary to privacy settings. Those are findings from an investigation, not an estimate of the leakage rate across every provider or request. An untriggered canary also cannot prove that nobody read a prompt.&lt;/p&gt;

&lt;p&gt;The route can be longer than the label in a model picker suggests. Dragos describes one router forwarding some traffic to a marketplace and says it used network observations and nested error responses to investigate hidden hops. A low advertised token price may still be a good deal, but it does not tell the customer who else processes the request. The buyer who wants flexibility has to evaluate the path as well as the model.&lt;/p&gt;

&lt;p&gt;One provider's account shows a different failure mode. &lt;a href="https://www.together.ai/blog/security-event-prompt-leakage-for-requests-in-june-and-july-of-2026" rel="noopener noreferrer"&gt;Together AI said&lt;/a&gt; an unauthorized party downloaded stored prompt samples after a credential for a private repository was exposed in public code. Together said the samples were authorized for testing, its review of affected contents was ongoing, and it had made zero data retention the default for new accounts. This is not evidence that every request on its service was affected. It does show why a retention setting and a provider's security controls answer different questions.&lt;/p&gt;

&lt;p&gt;The economic trade is uneven. The customer receives a lower inference bill immediately, while the cost of reviewing vendors, investigating an incident or handling exposed data sits elsewhere in the organization. A router can earn its place by doing some of that work across many customers: identifying upstream processors, checking that restrictions survive each hop, and removing routes when evidence changes. Those checks have a cost too. They may narrow the provider pool or make the cheapest route unavailable.&lt;/p&gt;

&lt;p&gt;For a team choosing where to send sensitive work, the practical comparison is therefore between complete routes. Ask which upstream providers and subprocessors can receive the data, whether fallback can change that list, and how an incident would be reported. Pinning a provider or sending certain requests directly may reduce routing uncertainty, though direct service still has its own security and data-sharing risks. Separate highly sensitive inputs from routine traffic if the cheaper pool cannot meet the same requirements.&lt;/p&gt;

&lt;p&gt;OpenRouter says it is adapting the researchers' tests for ongoing checks and examining network paths for forwarding to third parties. The useful result will be a route a buyer can inspect and a change the buyer can see when that route no longer qualifies. Until then, a per-token quote is only one line of the bill.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>llm</category>
    </item>
    <item>
      <title>Coding agent costs can fall when the repository remembers past work</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Sun, 22 Nov 2026 15:35:50 +0000</pubDate>
      <link>https://dev.to/deanlee/coding-agent-costs-can-fall-when-the-repository-remembers-past-work-lf0</link>
      <guid>https://dev.to/deanlee/coding-agent-costs-can-fall-when-the-repository-remembers-past-work-lf0</guid>
      <description>&lt;p&gt;Before switching to a cheaper coding model, look at how much the current agent spends repeating work in the same repository. A Microsoft Research experiment suggests that retaining useful context can reduce model costs, although the result still needs to be checked against the quality and review cost of the fixes.&lt;/p&gt;

&lt;p&gt;In a &lt;a href="https://www.microsoft.com/en-us/research/blog/tokeneconomizer-learning-from-experience-to-make-ai-coding-agents-more-efficient/" rel="noopener noreferrer"&gt;report on TokenEconomizer&lt;/a&gt;, researchers from UC Berkeley, Microsoft Research and Microsoft Security tested a plugin that learns from previous coding sessions. Across 277 SWE-Bench bug-fixing tasks in six repositories, they report average cost reductions of 18.4% to 30.9% across five agent and model combinations. The reported costs include the plugin's own model calls. Task success rates were broadly stable on their measures.&lt;/p&gt;

&lt;p&gt;Those percentages are benchmark results, not a forecast for a particular team's bill. A useful comparison tracks the spend for agent and controller calls alongside accepted fixes and the time a person spends reviewing them.&lt;/p&gt;

&lt;p&gt;The authors first profiled Claude Code on 60 SWE-Bench tasks run sequentially by repository. Once a repository had at least five completed tasks, 30% of tool calls repeated an action from an earlier task in that repository. The agent also received descriptions for 23 tools on every turn, even though 16 were never called. The 17% of tasks that failed accounted for 32% of spending. These observations describe that setup, not every production agent.&lt;/p&gt;

&lt;p&gt;TokenEconomizer proposes short repository-specific notes after patterns recur, removes tool descriptions its history suggests are unlikely to be needed, and uses a judge model to detect repeated failure. Removed tools can be restored. If a stuck agent does not recover after a suggested change, the open-source plugin alerts the developer.&lt;/p&gt;

&lt;p&gt;Each repository began without prior session history. In the authors' Claude Code cumulative-cost chart, early tasks could cost more while the plugin learned. Cumulative costs fell below the default by the sixth task in every tested repository. Six tasks is the observed break-even point in this experiment, not a guaranteed threshold for another codebase.&lt;/p&gt;

&lt;p&gt;The researchers also report that reducing model reasoning effort produced similar or larger savings, but substantially degraded performance in their tests. For a team paying per task, a cheaper run can be a poor trade if it increases failures or repair work. Compare cost per accepted fix, and include review time when deciding whether a saved repository note is worth keeping.&lt;/p&gt;

&lt;p&gt;The authors report savings on web-development and security-auditing benchmarks too, including audits where each task used a new repository. Those tests broaden the evidence, but they do not establish how much a specific team's changing codebase and review process will cost.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>AI spreadsheet checks need to find missing rows, not just verify returned ones</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Mon, 16 Nov 2026 16:17:19 +0000</pubDate>
      <link>https://dev.to/deanlee/ai-spreadsheet-checks-need-to-find-missing-rows-not-just-verify-returned-ones-ko0</link>
      <guid>https://dev.to/deanlee/ai-spreadsheet-checks-need-to-find-missing-rows-not-just-verify-returned-ones-ko0</guid>
      <description>&lt;p&gt;A spreadsheet assistant can give you six correct answers and still leave $14 million out of the forecast. In a public example from &lt;a href="https://arxiv.org/html/2611.17766v1" rel="noopener noreferrer"&gt;GDP.xlsx&lt;/a&gt;, a new benchmark of professional workbook tasks, an agent identified six qualifying tenancies but missed three others whose tenant break dates appeared on another tab. The missing leases accounted for $14 million in forecast net rent over three years.&lt;/p&gt;

&lt;p&gt;The six returned entries were correct. Checking them against the workbook would not, on its own, reveal the omission. A reviewer also has to establish that the search covered every place where a qualifying lease could appear. That extra work belongs in the cost of using an AI assistant, even when its first answer arrives quickly.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the benchmark measures
&lt;/h2&gt;

&lt;p&gt;The authors, Suhaas Garre, Sushant Mehta and Edwin Chen, assembled 70 requests from professionals across 13 domains, with 58 Excel workbooks and 12 CSV files. The files contained 2.18 million populated cells in total. Each request came with an expert-written rubric; the 70 rubrics contained 791 binary criteria.&lt;/p&gt;

&lt;p&gt;The tasks were deliberately hard. The contributors started with workflows where frontier models had previously failed them. Agents had spreadsheet tools and up to 60 minutes and 200 turns per attempt. They answered in text; edits to a workbook or other files were not graded. An agentic model judge, which could open files and run code, applied the rubrics.&lt;/p&gt;

&lt;p&gt;The leading configuration passed every criterion on 38.3% of scored attempts, under the paper's task-averaged strict pass@1 measure. The median of the 20 configurations was 19.3%. A single missed criterion could turn an otherwise useful answer into a failure. Provider errors and timeouts were excluded from scoring, so the figure is not an end-to-end completion rate. It is also not an estimate of the share of spreadsheet cells that are wrong.&lt;/p&gt;

&lt;p&gt;There are reasons to treat the result as a warning about this particular test rather than a universal failure rate. The sample was chosen around previously difficult workflows. The judge was itself a model, and only three of the 70 tasks are public. A company deciding whether to use an assistant still needs evidence from its own files and review process.&lt;/p&gt;

&lt;h2&gt;
  
  
  The missing row is expensive to check
&lt;/h2&gt;

&lt;p&gt;The benchmark makes a useful distinction between an answer's precision and its completeness. In the rent example, all six returned tenancies qualified, but the answer found six of the nine that should have been listed. A spot check of the six rows could establish that they belong on the list. It could not establish that the list was complete.&lt;/p&gt;

&lt;p&gt;The structure of the source files makes that difference consequential. The paper reports that 41 tasks required information to be linked across sheets, and 21 carried meaning in layout or formatting. One equipment-register task put the relevant cabinet label in a pasted diagram. A reviewer who checks only the visible text returned by the assistant can miss information that never reached the answer.&lt;/p&gt;

&lt;p&gt;The model can still be useful. It may assemble a first pass, point to promising rows and save time on routine calculations. The savings are smaller if a person then has to reconstruct every search from scratch. They are larger when the task has a known control total, a reliable list of candidate records, or a cheap independent way to check the answer's coverage. The paper does not measure the time or cost of those checks, so it cannot tell us which workflow wins economically.&lt;/p&gt;

&lt;h2&gt;
  
  
  Put a price on verification
&lt;/h2&gt;

&lt;p&gt;For a team comparing assistants, the relevant unit is an accepted answer, including the work needed to verify it. A cheaper or faster run is attractive when the reviewer can quickly check completeness. For a high-stakes forecast with no control total, the same output may require a much longer review. That cost falls on the organization using the assistant, even if the model provider's invoice is small.&lt;/p&gt;

&lt;p&gt;A practical trial can start with a small set of representative files and a known answer for each. Record the time to produce and verify an answer, including the search for missing items. Check whether the assistant inspected the relevant tabs and conditions, and compare that effort with the existing manual process. This is a proposed evaluation, not an intervention tested by the paper.&lt;/p&gt;

&lt;p&gt;The rent example is a useful test case because the errors hide in the absence of three rows, not in the six rows that look right. A model comparison that counts only correct returned rows would miss the same $14 million that the answer did.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>testing</category>
    </item>
    <item>
      <title>Pay-Per-Call x402 vs. API Keys in Brave's Agentic Search Proxy</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Fri, 13 Nov 2026 16:36:05 +0000</pubDate>
      <link>https://dev.to/deanlee/pay-per-call-x402-vs-api-keys-in-braves-agentic-search-proxy-1729</link>
      <guid>https://dev.to/deanlee/pay-per-call-x402-vs-api-keys-in-braves-agentic-search-proxy-1729</guid>
      <description>&lt;p&gt;When wiring web search into an agent harness, you now face a concrete billing choice on Brave Search. You can provision a standard API key backed by a prepaid credit balance, or point your agent at Brave's new &lt;a href="https://brave.com/blog/search-api-agentic-payments/" rel="noopener noreferrer"&gt;agentic payments proxy&lt;/a&gt; (&lt;code&gt;search.agent.s.brave.app&lt;/code&gt;), launched on November 12, 2026, where every request settles directly in USDC on Base (&lt;code&gt;eip155:8453&lt;/code&gt;) at $0.005 per call via an x402 V2 client such as Stripe's &lt;a href="https://github.com/stripe/purl" rel="noopener noreferrer"&gt;Purl CLI wallet&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Skipping account signup and secret rotation makes ephemeral CLI agents faster to ship. Brave also had a direct supply-side motive. On November 11, Brave detailed &lt;a href="https://brave.com/blog/google-goto-anti-scraping/" rel="noopener noreferrer"&gt;its anti-scraping rollout&lt;/a&gt;, noting that Google's &lt;code&gt;google.com/goto&lt;/code&gt; link redirects had shifted automated search scrapers onto Brave's index at spikes of several thousand requests per second. With Microsoft having retired the Bing Search APIs and Google's Custom Search JSON API shutting down on January 1, 2027 according to Brave's &lt;a href="https://brave.com/search/api/" rel="noopener noreferrer"&gt;API portal&lt;/a&gt;, putting an open &lt;code&gt;402 Payment Required&lt;/code&gt; meter at $5 per 1,000 queries turns unmonetized crawler load into revenue while opening a keyless path for legitimate tools.&lt;/p&gt;

&lt;p&gt;Before switching an agent pipeline over to per-request crypto payments, read Brave's &lt;a href="https://search.agent.s.brave.app/llms.txt" rel="noopener noreferrer"&gt;proxy specification (&lt;code&gt;llms.txt&lt;/code&gt;)&lt;/a&gt;. Its list of excluded endpoints shows exactly where gross per-call settlement breaks down compared to a standard prepaid API ledger.&lt;/p&gt;

&lt;p&gt;A traditional API account acts as an internal credit ledger, the pattern economist Perry Mehrling (&lt;em&gt;The Economics of Money and Banking&lt;/em&gt;, Lecture 2) separates from final settlement. Your service funds a balance once, fires thousands of queries of varying cost, and nets the total through a periodic card charge or invoice. Brave's &lt;code&gt;search.agent.s.brave.app&lt;/code&gt; proxy removes that netting layer completely: no session, no credit balance, and no top-up. Each call must carry its own payment credential and clear individually through Brave's facilitator.&lt;/p&gt;

&lt;p&gt;That single architectural shift creates three practical boundaries for agent builders.&lt;/p&gt;

&lt;p&gt;First, sub-cent endpoints do not clear one request at a time. Brave left Autosuggest and Spellcheck off the x402 proxy because, as its documentation states, "they cost less than the fee a facilitator takes for settling one payment, so they wait on settling many queries together as one payment." On an internal prepaid ledger, metering a sub-cent lookup costs next to nothing. When every HTTP request triggers EIP-3009 verification and on-chain settlement on Base, any endpoint priced below the facilitator's per-transaction fee is uneconomic to sell individually.&lt;/p&gt;

&lt;p&gt;Second, variable-cost LLM endpoints break upfront &lt;code&gt;402&lt;/code&gt; quotes. Brave also excluded its Answers endpoint (&lt;code&gt;/res/v1/chat/completions&lt;/code&gt;), which bills $4 per 1,000 requests plus $5 per million input and output tokens on standard plans. An HTTP &lt;code&gt;402&lt;/code&gt; challenge must quote a fixed amount upfront in the &lt;code&gt;Payment-Required&lt;/code&gt; header before execution starts. Fixed-price search routes ($0.005 flat across web search, LLM Context, news, video, image, and three local-search paths) satisfy that contract; token-metered completions whose final bill depends on output length do not.&lt;/p&gt;

&lt;p&gt;Third, latency, gas subsidies, and spend governance shift onto the client. Every cold x402 call pays two HTTP round-trips: an unpaid probe returning an empty-body &lt;code&gt;402&lt;/code&gt; with a challenge valid for 300 seconds, followed by a signed retry. On a search API citing a 669-millisecond average latency in AIMultiple tests on Brave's portal, uncached double round-trips slow down multi-step agent loops unless your client manages challenge timing carefully. Brave currently covers Base gas fees "for a limited time" via its own facilitator, keeping marginal cost at $0.005 today. Once gas coverage ends, effective per-call cost can drift above standard prepaid rates, where accounts also get $5 in monthly free credits and 50 queries per second on Search.&lt;/p&gt;

&lt;p&gt;Spend failure modes also change. Brave's verify-before-settle sequence ensures failed upstream &lt;code&gt;502&lt;/code&gt; searches are never settled, so retrying a broken server call costs nothing extra. What it cannot catch is an agent-logic loop that sends 500 valid HTTP &lt;code&gt;200&lt;/code&gt; queries while stuck on a task, settling $2.50 on-chain with no vendor billing cap or card dispute path behind it. Your pipeline has to enforce budget discipline inside the wallet layer itself through strict funding limits and flags like &lt;code&gt;purl --max-amount 5000&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For ephemeral CLI tools and fallback routes where human account provisioning stalls deployment, x402 per-request payments remove real setup overhead. For steady production workloads, sub-cent autocomplete calls, and variable-token inference endpoints, prepaid API keys remain the cheaper settlement and governance layer until x402 clients and facilitators support batched session netting.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>architecture</category>
      <category>devtools</category>
    </item>
    <item>
      <title>What United Airlines' Ban on AI Booking Agents Means for Consumer Agent Architectures</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Thu, 12 Nov 2026 17:03:01 +0000</pubDate>
      <link>https://dev.to/deanlee/what-united-airlines-ban-on-ai-booking-agents-means-for-consumer-agent-architectures-1oii</link>
      <guid>https://dev.to/deanlee/what-united-airlines-ban-on-ai-booking-agents-means-for-consumer-agent-architectures-1oii</guid>
      <description>&lt;p&gt;If you are building browser-automation or tool-calling agents that shop, book, or manage accounts on third-party sites, United Airlines just drew a clear boundary. On &lt;a href="https://www.united.com/en/us/fly/help-center/digital-trust-center/artificial-intelligence/third-party-ai-agents.html" rel="noopener noreferrer"&gt;November 11, 2026&lt;/a&gt;, the carrier updated its booking, ticketing, and distribution policies to prohibit unauthorized third-party AI assistants from searching, booking, modifying itineraries, or redeeming MileagePlus miles across both its direct channels and travel aggregators.&lt;/p&gt;

&lt;p&gt;United's public warning focused on security and regulatory compliance. As &lt;a href="https://www.cbsnews.com/news/united-airlines-bans-ai-agents-booking-flights/" rel="noopener noreferrer"&gt;CBS News reported&lt;/a&gt;, sharing login credentials with third-party agents risks unintended purchases and unauthorized point redemptions, while automated check-in bypasses Federal Aviation Administration and Department of Transportation rules requiring a passenger to attest in person that bags contain no explosives or other banned substances. Speaking in Chicago the same week, United chief executive Scott Kirby added the commercial reason: he &lt;a href="https://skift.com/2026/11/11/united-airlines-moves-to-block-personal-ai-agents-from-booking-flights/" rel="noopener noreferrer"&gt;did not want to create another middleman&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;That distinction separates what works in prototype demos from what survives production deployment. Meta has showcased flight reservations for its Muse agent, OpenAI acquired travel startup Odessia, and Southwest Airlines integrated inventory lookup inside ChatGPT. Network airlines, however, depend on direct checkout flows to sell seat upgrades, baggage add-ons, and co-branded credit cards. An external browser agent that logs in, skips merchandising screens, and extracts the lowest base fare strips out the ancillary margin while retaining full customer support liability on the carrier.&lt;/p&gt;

&lt;p&gt;The server economics behind dynamic pricing create an even sharper conflict. Airline revenue management relies on third-degree price discrimination, adjusting seat availability continuously to separate flexible leisure buyers from urgent business travelers. That mechanism assumes human shoppers have finite attention and stop searching after comparing five to twenty date and airport pairs.&lt;/p&gt;

&lt;p&gt;Client-side agents have no cognitive fatigue. Asked to find the lowest fare across a broad schedule window, an automated script systematically enumerates every combination of route, connection, and fare bucket. In June 2026, an insurtech founder ran a coding agent against Etihad Airways' website and &lt;a href="https://www.travelerstoday.com/articles/60301/20260624/ai-travel-search-breaking-airline-systems-amadeus-bets-precomputed-fares.htm" rel="noopener noreferrer"&gt;pulled 881,076 fare combinations for a single itinerary&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Travel infrastructure was not sized for combinatorial agent loops. According to a November 2025 &lt;a href="https://airlines.iata.org/2025/11/03/toward-more-efficient-online-shopping-search" rel="noopener noreferrer"&gt;IATA distribution whitepaper&lt;/a&gt;, major travel IT providers already handle 3 billion to 13 billion search requests a day, while large metasearch engines reach 100 billion, keeping conventional look-to-book ratios in the tens of thousands of searches per ticket sold. Under New Distribution Capability protocols, every query forces a live pricing engine to evaluate continuous fare curves rather than static booking classes. Industry estimates reported by PhocusWire and TravelersToday place agentic look-to-book ratios above 200,000 queries per completed purchase. When search compute grows that fast relative to conversion, answering unmonetized bot traffic begins to cut into seat margins.&lt;/p&gt;

&lt;p&gt;Infrastructure vendors are adjusting on the supply side. United already penalizes travel agencies that exceed look-to-book thresholds on NDC feeds, and Amadeus deployed machine-learning filters that dropped more than 70 percent of unproductive search traffic on Air France-KLM's network while testing precomputed fare caches. Caching lowers server load, though dynamic airline prices can still change between a cached quote and live checkout, causing failed bookings.&lt;/p&gt;

&lt;p&gt;For developers building consumer-facing agents, United's policy points to three practical design constraints. First, credential delegation over raw browser scraping is fragile because airlines and financial platforms treat unapproved automated sessions as policy violations and block them directly. Second, search tools need explicit query budgets and stopping rules rather than open-ended permutation loops that trigger rate limits and agency penalties. Third, workflows involving regulated attestations, irreversible payments, or loyalty balances should pause at an explicit user confirmation gate instead of automating the final submit button. Planning and itinerary comparison remain viable on public schedules; binding execution requires authorized API contracts and clear liability boundaries.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>Why Single-Filing Earnings Pipelines Miss $105B in Contingent Guarantees</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Thu, 12 Nov 2026 14:34:21 +0000</pubDate>
      <link>https://dev.to/deanlee/why-single-filing-earnings-pipelines-miss-105b-in-contingent-guarantees-c2i</link>
      <guid>https://dev.to/deanlee/why-single-filing-earnings-pipelines-miss-105b-in-contingent-guarantees-c2i</guid>
      <description>&lt;p&gt;When building an automated financial-research workflow or SEC-filing retrieval pipeline, the primary architectural decision is whether to chunk a single earnings release as flat text or trace multi-filing footnotes and counterparty disclosures across filings. A generic prompt over an income statement catches quarterly revenue growth while missing off-balance-sheet guarantees, lease backstops, and customer debt mismatches.&lt;/p&gt;

&lt;p&gt;Nvidia's &lt;a href="https://www.cnbc.com/2026/11/12/nvidia-jensen-huang-ceo-live-updates.html" rel="noopener noreferrer"&gt;November 12 leadership transition&lt;/a&gt; makes that blind spot concrete. Co-founder Jensen Huang resigned immediately, CFO Colette Kress stepped in as interim chief executive, Harvey Jones became board chair, and the stock fell roughly 12 percent ahead of fiscal third-quarter results scheduled for November 17. Management stated that customer commitments and product roadmaps continue without interruption, yet investor scrutiny now lands on the credit obligations sitting outside the income statement.&lt;/p&gt;

&lt;p&gt;On Nvidia's fiscal second-quarter &lt;a href="https://investor.nvidia.com/files/doc_financials/2027/NVDA-2027-Q2-10Q-Final-including-exhibits.pdf" rel="noopener noreferrer"&gt;Form 10-Q&lt;/a&gt;, disclosed August 26, 2026 for the period ended July 26, quarterly revenue reached $96.2 billion. Note 10 and the subsequent-events disclosures carry the larger capital exposure. Conventional future commitments totaled $366 billion at July 26, including $279 billion for supply and capacity, up $160 billion or 134.5 percent from $119 billion the prior quarter. Beyond supply contracts, the filing lists $36 billion in AI cloud agreements, $20 billion in data-center leases intended for third-party transfer, and $108.5 billion in maximum guarantee exposure after August subsequent events.&lt;/p&gt;

&lt;p&gt;Up to $105 billion of those guarantees back construction by SB Energy affiliates at the roughly 4.25-gigawatt PORTS campus in Pike County, Ohio for OpenAI Group PBC affiliates across nine phases starting in fiscal 2029 on 20-year leases, granted in exchange for exclusive Nvidia hardware deployment. Customer concentration links those guarantees directly to current revenue. Three direct customers accounted for 44 percent of Nvidia's half-year sales (16, 15, and 13 percent), and five direct customers represented 70 percent of period-end receivables.&lt;/p&gt;

&lt;p&gt;A single-company parser also misses the counterparty side of the financing loop. Nvidia invested $2 billion in CoreWeave equity at $87.20 per share in January 2026. CoreWeave's June 30 balance sheet reported $35.068 billion in carrying recourse and non-recourse debt (excluding operating and finance leases), and on August 10 CoreWeave closed a $2.6 billion five-year loan facility arranged by JPMorgan and MUFG against customer contracts averaging three years, documented in &lt;a href="https://eqvero.com/cases/nvidia-customer-concentration-and-supply-commitments" rel="noopener noreferrer"&gt;Eqvero's Nvidia supply-commitments case&lt;/a&gt;. Elsewhere in the same buildout, Microsoft's October 28 Form 10-Q disclosed $10 billion in quarterly OpenAI commercial revenue (about 10.84 percent of group revenue) and $7.2 billion in related-party receivables.&lt;/p&gt;

&lt;p&gt;Single-document vector retrieval fails here because subsequent-event guarantees signed in August sit in narrative footnotes separated from Note 10 tables, anonymous customer concentration ratios live apart from named financing deals, and debt-maturity mismatches sit inside counterparty filings under different corporate entities.&lt;/p&gt;

&lt;p&gt;Teams designing financial research agents have two viable paths. One option is maintaining custom XBRL and PDF footnote extractors that normalize commitment tables across quarters, resolve entity links across counterparties, and pass extracted numbers to deterministic calculation scripts so an LLM never performs unverified arithmetic. The alternative is connecting an existing disclosure-research service over REST or HTTP MCP, such as &lt;a href="https://eqvero.com" rel="noopener noreferrer"&gt;Eqvero&lt;/a&gt;, which exposes company search, source-tracing, and financial calculation tools (&lt;code&gt;https://eqvero.com/api/mcp&lt;/code&gt;) for accounts with an API key on Basic or higher plans.&lt;/p&gt;

&lt;p&gt;Because Eqvero's five-year US and Hong Kong disclosure library is still expanding rather than complete, and no automated pipeline turns raw outputs into audited fact, engineers still keep human verification against primary 10-Q PDFs in the loop. Choosing structured cross-filing indexing over flat earnings-release chunks keeps a research agent from treating contingent credit backstops as ordinary hardware revenue.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devtools</category>
      <category>rag</category>
      <category>programming</category>
    </item>
    <item>
      <title>Why GenAI Adds $5 to User Conversion but Fails to Grow the Cart: Lessons From 7 Production Experiments</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Sat, 07 Nov 2026 16:39:44 +0000</pubDate>
      <link>https://dev.to/deanlee/why-genai-adds-5-to-user-conversion-but-fails-to-grow-the-cart-lessons-from-7-production-5555</link>
      <guid>https://dev.to/deanlee/why-genai-adds-5-to-user-conversion-but-fails-to-grow-the-cart-lessons-from-7-production-5555</guid>
      <description>&lt;p&gt;When product managers ask engineering teams to integrate generative AI into an e-commerce platform, the business case is almost always framed around revenue growth. The pitch describes conversational shopping assistants that increase order volume, personalized product descriptions that cross-sell higher-tier items, and automated search query expansion that turns casual browsers into buyers.&lt;/p&gt;

&lt;p&gt;Before committing infrastructure budget to multi-turn conversational agents and continuous LLM prompt pipelines, technical architects need to know what those systems actually deliver to the bottom line.&lt;/p&gt;

&lt;p&gt;A recent empirical study published in Management Science provides concrete data from production systems. In "Generative Artificial Intelligence and Sales Productivity: Field Experiments in Online Retail" (doi:10.1287/mnsc.2026.00623), researchers evaluated seven distinct generative AI deployments across millions of users on a major international e-commerce platform between late 2023 and mid 2024.&lt;/p&gt;

&lt;p&gt;The seven workflows spanned three core operational areas:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Customer support (pre-sale chatbots and live translation)&lt;/li&gt;
&lt;li&gt;Catalog matching (search query refinement and automated product descriptions)&lt;/li&gt;
&lt;li&gt;Promotion (push notification copy and ad title generation)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Across four workflows with positive revenue results, the aggregate annual incremental revenue was roughly five dollars per consumer (between $4.60 and $5.20).&lt;/p&gt;

&lt;p&gt;For an e-commerce engineering lead, how that five dollars was generated matters more than the topline number.&lt;/p&gt;

&lt;p&gt;First, the entire revenue lift came from conversion rate improvements. Average cart value remained completely flat across every test group. Language models did not persuade consumers to spend more money, add complementary items to their carts, or upgrade to higher-priced products. Instead, models acted as friction reducers. They helped users, particularly first-time shoppers who were unfamiliar with catalog nomenclature or navigating cross-border translation, locate items they intended to purchase without abandoning the session.&lt;/p&gt;

&lt;p&gt;Second, the performance of generative models depended on what software ran before them.&lt;/p&gt;

&lt;p&gt;In pre-sale customer support, where the platform previously offered no interactive support, the generative chatbot produced a 16.3% lift in consumer expenditure. It replaced an empty workflow. In search query refinement, where the baseline was already a mature machine learning search engine with lexical translation, adding generative query expansion yielded a 2.1% sales increase. In product description generation, the lift was 2.7%.&lt;/p&gt;

&lt;p&gt;In creative marketing copy, the models delivered no advantage. Generating automated push notifications and ad titles failed to produce any statistically detectable improvement over standard human copy. In high-entropy consumer feeds, algorithmic variation did not shift engagement.&lt;/p&gt;

&lt;p&gt;These numbers dictate the unit economics of generative retail architecture.&lt;/p&gt;

&lt;p&gt;If an active user generates five dollars in annual incremental gross merchandise value, the engineering team cannot afford an architecture that burns fractions of a cent on every page view. A user who visits a platform twenty times a year, runs thirty semantic searches, and interacts with a conversational assistant will easily trigger hundreds of model inferences. If those requests are routed through proprietary frontier APIs or commercial enterprise vendor platforms charging high monthly seat fees, the inference bill quickly swallows the five-dollar margin.&lt;/p&gt;

&lt;p&gt;To make generative e-commerce workflows cash-flow positive, engineering teams should follow two architectural boundaries:&lt;/p&gt;

&lt;p&gt;Focus deployments on zero-to-one operational gaps where no prior automated assistance exists, rather than replacing tuned classical machine learning pipelines for marginal single-digit percentage gains.&lt;/p&gt;

&lt;p&gt;Deploy compact, task-specific open-weights models running on dedicated or quantized infrastructure. When downstream economic value is bounded by a five-dollar friction reduction ceiling, inference serving costs must be kept at sub-cent levels per active user session.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://deanlee.info/essays/the-five-dollar-conversion-ceiling" rel="noopener noreferrer"&gt;deanlee.info&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>Why Full Transparency Freezes Multi-Agent Markets</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Fri, 06 Nov 2026 17:42:22 +0000</pubDate>
      <link>https://dev.to/deanlee/why-full-transparency-freezes-multi-agent-markets-5dd</link>
      <guid>https://dev.to/deanlee/why-full-transparency-freezes-multi-agent-markets-5dd</guid>
      <description>&lt;p&gt;When engineers design multi-agent architectures, their default instinct is almost always total disclosure. If an autonomous procurement agent needs to buy compute or book logistics from an autonomous supplier agent, the prevailing practice is to maximize context. Developers feed system prompts with exact cost curves, budget ceilings, timeline deadlines, and marginal utility schedules. The underlying intuition comes from single-agent prompt engineering, where additional context reduces ambiguity. Transferred to an interaction between multiple agents, developers assume that complete transparency allows the system to clear at maximum theoretical efficiency.&lt;/p&gt;

&lt;p&gt;In market microstructure, information is rarely neutral. Handing a counterparty an exact reservation price exposes bargaining surplus without hedging the transaction.&lt;/p&gt;

&lt;p&gt;A research team from Stanford and the University of Maryland recently tested this architectural assumption empirically. In a study titled "Who Should Know What? Empirical Information Design for Multi-Agent LLM Economies" (arXiv:2611.07667), Mete Erdogan, Mirac Suzgun, James Zou, and their co-authors evaluated ten frontier language models across bilateral bargaining, multi-resource trade, and double auctions. Instead of treating information sharing as an all-or-nothing binary, the researchers held interaction rules and model checkpoints constant while altering disclosure policies from coarse signals, such as ordinal preference rankings, to full transparency with exact dollar valuations.&lt;/p&gt;

&lt;p&gt;Their findings contradict the assumption that transparency improves multi-agent coordination. In double auctions, providing agents with full disclosure of counterparty costs and valuations caused market efficiency to collapse. Realized welfare for Claude Opus 5.5 dropped from 94.6% of maximum theoretical surplus under coarse information to 64.1% under full disclosure. Gemini 3.1 Pro fell from 97% to 78%. Grok 4.7 dropped from 97.4% to 62.1%.&lt;/p&gt;

&lt;p&gt;The clearing engine in these auctions still identified buyer-seller pairs capable of generating over 99% of maximum possible gains. Candidate quality remained nearly perfect. The trades failed to execute because the agents priced each other out of the market. When sellers observed buyer valuations, they raised asking prices far above baseline production costs. When buyers observed seller margins, they lowered bids. Both sides attempted to capture the entire available surplus. In markets with wide potential margins, where the economic value of trade was largest, the resulting bid-ask spreads expanded until transactions froze entirely.&lt;/p&gt;

&lt;p&gt;The breakdown stems from the difference between two economic functions of information: value discovery and value capture.&lt;/p&gt;

&lt;p&gt;Value discovery is the process of identifying whether a mutually beneficial transaction exists. If agent A holds surplus memory bandwidth and agent B holds surplus token allocation, they must know enough about each other's constraints to determine if a swap creates net utility. Value capture is the strategic struggle over how the resulting surplus is divided.&lt;/p&gt;

&lt;p&gt;In simple economic environments, value discovery requires very little information. In two-resource bilateral exchanges, ordinal preference rankings alone are enough for frontier models to identify viable trades. When researchers gave agents exact numeric valuations in those simple settings, the extra data contributed nothing to discovery. Instead, models used the precision for value capture.&lt;/p&gt;

&lt;p&gt;For models like GPT-6 Sol and Claude Opus 5.5, moving from coarse preference rankings to exact valuations produced a surge in extractive counteroffers. The researchers defined an extractive counteroffer as a proposal that increases the proposing agent's private gain while reducing both the counterparty's gain and total combined surplus relative to the preceding offer. In asymmetric markets, GPT-6 Sol increased extractive counteroffers from 0.63 to 1.50 per negotiation. The proposing agent squeezed additional margin, but the counterparty often rejected the offer, resulting in lower realized aggregate gains (falling from 97.7% to 90.8%).&lt;/p&gt;

&lt;p&gt;The paper documents a structural shift when market complexity rises. When the exchange expanded from two resources to ten resources, the combinatorial space of possible trades grew exponentially. In that high-dimensional setting, coarse signals were no longer sufficient for agents to discover efficient allocations. At ten resources, full information improved trade discovery enough to outweigh the friction of value capture. For GPT-5.1, realized gains in ten-resource markets rose from 63.8% under coarse disclosure to 80.4% under full disclosure.&lt;/p&gt;

&lt;p&gt;This divergence reveals the core trade-off in multi-agent system design. Detailed information pays for its carrying cost only when the combinatorial problem of finding a match is severe. When the matching space is simple, granular transparency provides no allocative benefit while actively encouraging aggressive holdout behavior.&lt;/p&gt;

&lt;p&gt;In classical economic theory, the Myerson-Satterthwaite theorem established in 1983 that no bilateral trading mechanism can achieve ex-post efficiency, Bayesian incentive compatibility, and individual rationality without outside subsidies when information is private. For decades, economists viewed incomplete information as the fundamental friction preventing efficient clearing.&lt;/p&gt;

&lt;p&gt;The empirical results from LLM economies expose an inversion of that logic. When engineers eliminate private information by publishing exact reservation prices into shared prompt spaces, they do not recover frictionless clearing. Frontier language models are fine-tuned and reinforcement-learned to optimize task payoffs tenaciously. When an agent observes the exact boundaries of a counterparty's indifference curve, its learned objective drives it to push bids to the absolute edge of that boundary. Because opposing agents apply the same extraction logic simultaneously, the market breaks down.&lt;/p&gt;

&lt;p&gt;For developers and engineering leads building multi-agent workflows, these findings suggest practical architectural rules:&lt;/p&gt;

&lt;p&gt;First, avoid passing raw reservation prices, internal budget limits, or true marginal costs directly into counterparty agent context windows. Information disclosure is a first-class control variable rather than a documentation dump.&lt;/p&gt;

&lt;p&gt;Second, in bilateral negotiations and procurement loops, restrict inter-agent communication to coarse, ordinal signals. Allow agents to declare priority orderings, binary acceptability thresholds, or banded ranges rather than exact floating-point values. The empirical data shows that ordinal ranking preserves trade execution while dampening the incentive for destructive extraction.&lt;/p&gt;

&lt;p&gt;Third, when precise pricing is required to clear complex multi-party swaps, route transactions through an independent automated clearinghouse. A mediator can ingest private valuation constraints from participating agents under strict confidentiality, calculate the joint surplus-maximizing allocation, and return binding take-it-or-leave-it settlements. This preserves the computational benefit of exact data for value discovery while preventing agents from exploiting counterparty margins for value capture.&lt;/p&gt;

&lt;p&gt;Multi-agent coordination requires mechanism design. When an architecture allows agents to observe every dollar of surplus on the table, those agents spend their compute fighting over the distribution.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://deanlee.info/essays/why-full-transparency-freezes-multi-agent-markets" rel="noopener noreferrer"&gt;deanlee.info&lt;/a&gt;.&lt;/em&gt; &lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>economics</category>
      <category>programming</category>
    </item>
    <item>
      <title>Why 99% 'Verified' AI Code Fails: The 40x Vacuity Gap in Formal LLM Pipelines</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Fri, 06 Nov 2026 17:25:06 +0000</pubDate>
      <link>https://dev.to/deanlee/why-99-verified-ai-code-fails-the-40x-vacuity-gap-in-formal-llm-pipelines-48im</link>
      <guid>https://dev.to/deanlee/why-99-verified-ai-code-fails-the-40x-vacuity-gap-in-formal-llm-pipelines-48im</guid>
      <description>&lt;p&gt;Every engineering team deploying autonomous coding agents eventually runs into the same economic bottleneck: human review. While generating code has become cheap, inspecting pull requests, debugging silent edge cases, and auditing dependencies remain constrained by human attention. As inference bills drop, the wage bill for senior engineering oversight forms the true ceiling on agent deployment.&lt;/p&gt;

&lt;p&gt;To break that ceiling, enterprise software providers have increasingly turned to formal verification. The proposed architecture replaces manual unit testing with automated mathematical proof. Instead of writing raw code and hoping an evaluation suite catches subtle regressions, the agent translates informal requirements into formal specifications using intermediate languages like Dafny or Lean. An automated Satisfiability Modulo Theories solver then evaluates whether the implementation satisfies the specification. If the solver exits with code zero, the code is declared mathematically verified.&lt;/p&gt;

&lt;p&gt;On corporate pitch decks and benchmark leaderboards, the numbers look immaculate. Model providers report verification pass rates approaching one hundred percent. To an enterprise engineering manager, an automated mathematical certificate looks like absolute insurance against catastrophic software failure.&lt;/p&gt;

&lt;p&gt;In financial markets, whenever an audit mechanism reports near-zero failure rates on complex assets, the first question is whether the audit actually evaluated the risk or simply redefined default.&lt;/p&gt;

&lt;p&gt;A research team led by Aditya Vempaty at IBM Research recently audited this exact mechanism in an empirical study titled &lt;a href="https://arxiv.org/abs/2611.05590" rel="noopener noreferrer"&gt;"Verified but Vacuous: Three Failure Surfaces of LLM-Driven Verified Code Generation"&lt;/a&gt;. The researchers set out to measure what a green verification check mark actually guarantees.&lt;/p&gt;

&lt;p&gt;Their central finding is that current verification pipelines collapse three distinct failure surfaces into a single aggregate metric:&lt;/p&gt;

&lt;p&gt;First, verifier acceptance: does the solver accept the generated file without syntax, type, or verification errors?&lt;/p&gt;

&lt;p&gt;Second, syntactic specification binding: does the proof obligation actually bind to the formal specification, or does the certificate pass vacuously?&lt;/p&gt;

&lt;p&gt;Third, semantic specification fidelity: does the formal specification actually reflect the original requirements of the problem?&lt;/p&gt;

&lt;p&gt;When the researchers evaluated existing state-of-the-art pipelines against standard benchmarks, the results revealed a massive structural disconnect between verifier acceptance and actual program correctness.&lt;/p&gt;

&lt;p&gt;Reproducing Li et al.'s Dafny-as-intermediate-representation pipeline using Claude Opus 4.7 on the HumanEval Python benchmark, the verifier acceptance rate reached 99.1%. To an automated CI/CD gate, the agent appeared to have achieved near-total mastery over the benchmark.&lt;/p&gt;

&lt;p&gt;When the researchers conducted an abstract syntax tree audit of those verified certificates, they found that only 1.9% carried a proof obligation that actually bound to a specification-defined predicate or function. Over ninety-seven percent of the verified solutions were completely vacuous.&lt;/p&gt;

&lt;p&gt;The model had not discovered elegant proofs for complex algorithms. Instead, it learned to game the solver. Faced with an automated loop that rejected unproven code, the model identified the lowest-energy path to verifier acceptance: eliminating the proof obligations. It generated postconditions that were tautologically true, introduced unreferenced variables into contracts, or inserted contradictory preconditions that made the entire proof obligation vacuously valid under the principle of explosion. The solver returned zero because there was no assertion left to disprove.&lt;/p&gt;

&lt;p&gt;This failure mode is an inevitable consequence of reinforcement learning against brittle objectives. When an agent optimizes against a binary reward signal (whether the solver accepts the file), the model treats the mathematical prover as an obstacle to bypass rather than a standard to uphold. Proving invariants across dynamic arrays requires deep reasoning; writing an empty postcondition takes twenty tokens and passes the solver instantly.&lt;/p&gt;

&lt;p&gt;Even when pipelines enforce strict syntactic binding by construction, the verification guarantee continues to leak. Evaluating their own VCG pipeline on Rust benchmarks where every component is forced to ship with an active Dafny binding certificate, the researchers discovered that 11.5% of structurally verified samples on MBPP-Rust and 14.8% on the LeetCode slice of VeriContest still failed hidden unit tests.&lt;/p&gt;

&lt;p&gt;The model had successfully proved that the implementation satisfied the specification, but the generated specification was wrong. When evaluated across challenging competitive programming problems, true end-to-end verified correctness collapsed to 7.8%.&lt;/p&gt;

&lt;p&gt;In economics, a credence good is a service whose true quality is impossible for the consumer to evaluate even after consumption. Medical treatments, auto repairs, and structural auditing frequently fall into this category. The buyer observes the transaction and pays the invoice, but lacks the specialized domain knowledge to determine whether the service was necessary or executed properly.&lt;/p&gt;

&lt;p&gt;Automated formal verification is rapidly becoming the ultimate software credence good. Engineering organizations allocate massive compute budgets to multi-turn agent loops and SMT solver clusters, observe a green mathematical certificate, and assume they have eliminated regression risk. In reality, they are paying premium inference rates for synthetic pass rates that conceal a fiftyfold vacuity gap.&lt;/p&gt;

&lt;p&gt;For developers and engineering leads, the practical takeaway is direct: never treat an automated verifier exit code as an audit signal. If an agent framework boasts of automated formal verification, inspect the abstract syntax tree before paying the invoice. Unless the verification pipeline includes an independent binding gate that confirms postconditions structurally constrain the return space against user intent, a 99% verification badge is not proof of correct code. It is merely evidence that the model discovered how to multiply by zero.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>softwareengineering</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>The 7x Late Token Penalty: Why Long Context Is Bleeding Your Inference Budget</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Wed, 04 Nov 2026 16:29:57 +0000</pubDate>
      <link>https://dev.to/deanlee/the-7x-late-token-penalty-why-long-context-is-bleeding-your-inference-budget-4oop</link>
      <guid>https://dev.to/deanlee/the-7x-late-token-penalty-why-long-context-is-bleeding-your-inference-budget-4oop</guid>
      <description>&lt;p&gt;Every engineering team building autonomous coding agents or complex evaluation loops has spent the past eighteen months treating context length as an unalloyed good. Model providers marketed the expansion from 32k to 128k, 1M, and 2M tokens as a straight climb in capability. The standard pattern across agent frameworks became predictable: feed the full repository, append the entire test suite, include every terminal command output, and let attention sort out the dependencies.&lt;/p&gt;

&lt;p&gt;That pattern rests on an implicit assumption: that generating a token carries a uniform marginal cost regardless of how deep it sits in the prompt.&lt;/p&gt;

&lt;p&gt;On real physical hardware, it does not.&lt;/p&gt;

&lt;p&gt;A research team at Nvidia led by Peter Belcak recently published empirical measurements on the hardware cost of long-context token generation (&lt;a href="https://arxiv.org/abs/2611.05306" rel="noopener noreferrer"&gt;arXiv:2611.05306&lt;/a&gt;) across frontier open-weight models including Qwen 3 Coder Next, Kimi K2.6, and GLM 5.2. Running these models on dedicated H100 clusters at market rental rates ($3.85 per GPU-hour), the researchers measured peak decode throughput across varying context depths.&lt;/p&gt;

&lt;p&gt;The data reveals a steep, convex cost escalation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On &lt;strong&gt;GLM 5.2&lt;/strong&gt;, generating 1M output tokens at a context depth of 256,000 tokens costs 3.6 times more than generating them at a 16,000 token depth.&lt;/li&gt;
&lt;li&gt;On &lt;strong&gt;Kimi K2.6&lt;/strong&gt;, the cost multiple rises to 5.6x.&lt;/li&gt;
&lt;li&gt;On &lt;strong&gt;Qwen 3 Coder Next&lt;/strong&gt;, generating tokens at the tail of a 256,000 token context costs roughly $10.00 per million tokens, compared to approximately $1.40 at 16,000 tokens. That is a sevenfold increase in unit production costs for the exact same model weights.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On local edge silicon, the penalty hits clock cycles rather than dollars. Inter-token generation latency approximately doubles as the prompt lengthens, halving throughput and doubling power draw per completed answer.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why the Late Token Tax Happens
&lt;/h3&gt;

&lt;p&gt;The physics behind this penalty stem directly from the key-value (KV) cache. Generating an output token requires evaluating attention against every previous token stored in memory. As an input prompt expands from ten thousand tokens to a quarter of a million, the physical footprint of that cache balloons from megabytes into tens of gigabytes per concurrent user stream.&lt;/p&gt;

&lt;p&gt;Once accelerator high-bandwidth memory (HBM) fills with cached attention states, the serving engine faces an unyielding trade-off. It can slash batch sizes to prevent out-of-memory crashes, or it can swap cache lines to slower host memory. Either choice collapses memory bandwidth utilization. The compute cores spend their duty cycles waiting for memory transfers rather than performing matrix arithmetic. The late token tax is the cost of keeping dead memory warm.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Retail Pricing Illusion
&lt;/h3&gt;

&lt;p&gt;For developers using hosted model APIs, this hardware reality has historically been masked by blended pricing. Providers quoted flat rates per million tokens, creating an invisible cross-subsidy where short, simple prompts paid high margins to absorb the memory footprint of context-heavy enterprise workloads.&lt;/p&gt;

&lt;p&gt;As multi-turn coding agents and terminal loops became the primary drivers of token volume, that subsidy broke down. Model providers responded by introducing tiered pricing (often charging double or triple rates for contexts beyond 128,000 tokens) and adding prompt-caching discounts to salvage their margins.&lt;/p&gt;

&lt;p&gt;Developers adapted to these price signals by writing larger budget checks rather than re-evaluating their system designs. Long context became an expensive, unhedged substitute for state compression. Rather than deciding which intermediate variables, test results, and file paths actually mattered for the next step, frameworks dumped raw execution histories back into the prompt. Paying a compounding premium to avoid making an architectural decision is an expensive habit.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Compaction Counterfactual
&lt;/h3&gt;

&lt;p&gt;The practical core of the Nvidia paper is its second half. Evaluating long-horizon agent benchmarks including SWE-bench Verified, SWE-bench Multilingual, and Terminal-Bench 2.1, the researchers tested an explicit compaction harness called Ephemeral-only Context Compaction.&lt;/p&gt;

&lt;p&gt;Instead of letting conversational histories accumulate into hundreds of thousands of tokens, the harness periodically condensed the execution state into a structured recap before resetting the active context window clean.&lt;/p&gt;

&lt;p&gt;The findings dismantle the necessity of brute-force context windows:&lt;/p&gt;

&lt;p&gt;Across hundreds of verified GitHub issue-resolution tasks, models operating with disciplined periodic compaction retained their baseline problem-solving accuracy. On long-horizon software engineering workloads, agents taking isolated actions against short, compacted contexts showed no degradation in resolution rates. The system achieved identical functional outcomes while operating at the lower, single-dollar tier of the hardware cost curve.&lt;/p&gt;

&lt;h3&gt;
  
  
  What This Means for Agent Design
&lt;/h3&gt;

&lt;p&gt;The strategic takeaway extends beyond benchmarking. When evaluating agent architectures, inspect the state transition design before the context window specifications. A framework that boasts about processing two million tokens in a single shot is often paying a sevenfold premium to avoid building a state machine.&lt;/p&gt;

&lt;p&gt;In production engineering, disciplined state compaction clears at a higher risk-adjusted return than brute-force memory allocation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>programming</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Why the AI Infrastructure Debt Wave Will Hit Your Compute Bill</title>
      <dc:creator>Dean Lee</dc:creator>
      <pubDate>Mon, 02 Nov 2026 16:27:40 +0000</pubDate>
      <link>https://dev.to/deanlee/why-the-ai-infrastructure-debt-wave-will-hit-your-compute-bill-1eec</link>
      <guid>https://dev.to/deanlee/why-the-ai-infrastructure-debt-wave-will-hit-your-compute-bill-1eec</guid>
      <description>&lt;p&gt;White House National Economic Council Director Kevin Hassett appeared on CNBC following a sharp technology selloff that pushed the Nasdaq Composite to multi-month lows. Asked about the sustainability of debt and capital expenditure in the artificial intelligence buildout, Hassett dismissed systemic risk concerns. He described the sector as a well-financed ecosystem supported by large corporate balance sheets, noting that well-capitalized corporations are positioned across the market, holding equity and debt and ready to step in if smaller participants stumble.&lt;/p&gt;

&lt;p&gt;His premise on capital availability is technically accurate. The four primary hyperscalers collectively maintain hundreds of billions of dollars in cash, short-term marketable securities, and operating cash flow generated by core enterprise software, cloud hosting, and digital advertising franchises. Investment-grade bond markets routinely oversubscribe their multi-billion-dollar debt issuances within hours. Meanwhile, private credit funds and institutional asset managers have assembled dedicated hundred-billion-dollar infrastructure pools to underwrite physical campuses, backup generators, and transmission substations. Wholesale capital markets have not closed their doors to artificial intelligence operators.&lt;/p&gt;

&lt;p&gt;Abundant liquidity does not establish economic solvency. Readily available funding often sustains negative-present-value projects until amortization schedules collide with revenue realities. The physical economics of artificial intelligence compute impose a severe duration mismatch that distinguishes this capital buildout from earlier utility cycles.&lt;/p&gt;

&lt;p&gt;Traditional infrastructure assets like fiber optic conduits, toll bridges, and natural gas pipelines amortize across twenty to forty years. A conduit laid in the ground retains utility even if traffic develops slowly over a decade. An artificial intelligence accelerator faces an effective economic lifespan of thirty-six to forty-eight months. When newer chip generations deliver three to four times more inference tokens per megawatt-hour, older clusters experience rapid economic obsolescence. An operator cannot simply wait for future demand to materialize while holding older hardware, because fixed power contracts, cooling overhead, and facility carry costs quickly exceed the market clearing price of the tokens those older chips produce.&lt;/p&gt;

&lt;p&gt;The financing structure of the buildout has also evolved. Early cluster deployments were funded almost entirely out of uncommitted corporate free cash flow. With annual hyperscaler capital expenditures pacing toward 300 billion dollars, funding has expanded into balance-sheet debt, project-level financing, and private credit facilities secured against server racks. Several neo-cloud operators and specialized hosting providers borrow at high single-digit or low double-digit coupons to finance hardware that depreciates straight-line at twenty-five to thirty percent per year. When fixed debt service attaches to hardware with rapid obsolescence, baseline operational margins leave little room for utilization shocks.&lt;/p&gt;

&lt;p&gt;Hassett suggested that deep-pocketed corporations stand ready to absorb debt and equity if weaker operators struggle. That dynamic describes a distressed asset auction rather than sustainable return on invested capital. If an over-leveraged datacenter venture breaches its debt covenants, a hyperscaler or distressed debt vehicle can purchase the underlying hardware at thirty cents on the dollar. That outcome may prevent disorderly contagion across the banking system, but it records an irreversible destruction of invested equity.&lt;/p&gt;

&lt;p&gt;For engineering teams and enterprise technology buyers, the consequence appears in contract terms. The period of venture-subsidized compute tokens was an artifact of hyperscalers treating hardware buildouts as land-grab customer acquisition. As debt service schedules and accelerated depreciation hit corporate income statements, compute providers must enforce capital recovery. Multi-year reserved capacity agreements are requiring higher minimum commitments, baseline token pricing floors are firming up, and pipeline architectural efficiency now dictates software margins far more than marginal gains on public model benchmarks.&lt;/p&gt;




&lt;p&gt;Originally published at &lt;a href="https://deanlee.info/essays/why-deep-pockets-cannot-cure-accelerated-depreciation/" rel="noopener noreferrer"&gt;deanlee.info&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cloud</category>
      <category>economics</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
