AI 资讯
How to Stop LangChain Agents from Bankrupting Your API Budget
In November 2025, an engineering team deployed a market research pipeline using four LangChain agents. Due to a logic failure, the "Analyzer" and "Verifier" agents got stuck in a recursive ping-pong loop. Because every individual API call was perfectly valid, the system appeared healthy on their dashboards. 11 days later, they discovered a $47,000 API bill . This is the hidden cost of building autonomous AI: infinite hallucination loops . When an agent encounters an error or fails to reach a termination condition, it will ruthlessly retry, burning through tokens in milliseconds. Why Built-in Controls Fail If you build with LangChain or LangGraph, you are likely relying on two things for cost control: max_iterations : An application-layer limit. LangSmith : An observability dashboard. The problem with max_iterations is that it requires every developer to perfectly hardcode it into every agent. Furthermore, iterations do not equal cost, a single iteration with massive context bloat can still cost a fortune. The problem with LangSmith (and all observability tools) is that they act as a witness, not a circuit breaker. By the time your dashboard alerts you that a spike occurred, the money is already gone. To safely deploy agents to production, you need Agent Runtime Governance , a network-layer firewall that physically drops the HTTP request the exact millisecond a budget hits zero. Enter Loopers . What is Loopers? Loopers is an open-source, baremetal reverse proxy for AI agents. It sits on your critical path between LangChain and your LLM provider (OpenAI, Anthropic, etc.). It uses atomic Redis Lua scripts to reserve budget before the request is sent to the provider. If the agent exceeds its budget, Loopers fails closed and instantly severs the connection, guaranteeing zero budget leakage. Here is how to implement Loopers into your LangChain workflow in less than 5 minutes. Step 1: Spin up the Loopers Firewall Loopers is incredibly lightweight (~40MB RAM) and runs via D
产品设计
Waymo and Uber quietly part ways in Phoenix
The companies confirmed to TechCrunch that their unusual partnership in Phoenix recently ended after nearly three years..
AI 资讯
Enhance your CSS Reset with your Design System
If you're starting a web project, you're probably starting with a CSS reset, and for most of us, that means reaching for a trusted community solution - dropping it in and moving on. If you're building a design system, though, that habit may be working against you. The existing solutions The community reset ecosystem is genuinely good. Each tool approaches the browser compatibility problem from a slightly different angle. Some examples include: Eric Meyer's Reset is a classic: it zeros out margins, padding, and font sizes across every element, giving you a completely blank slate. It's minimal and predictable, which made it influential. Normalize.css smooths over inconsistencies while preserving the ones that are actually useful. sanitize.css and modern-normalize continue that evolution - incorporating contemporary best practices like box-sizing: border-box , improved form element handling, and accessibility-aware defaults. The problem isn't that any of these are bad. The problem is that they're all deliberately, necessarily generic. They can't know anything about your typeface, your color palette, your spacing scale, or how your interactive elements should behave. That's by design - they're tools for everyone, which means they're perfectly tailored for no one. The problem If you're building a design system, generic is exactly what you don't want your reset to be. The moment you drop in one of these resets and start building, you find yourself doing a second round of work. You apply your typeface to body . You reset margins on headings. You make form elements inherit fonts. You define focus styles. You're re-resetting - applying your design language on top of a layer that just cleared out the browser's defaults and replaced them with... more defaults you'll override. Worse, that duplication doesn't stay in one place. Every component you build either re-declares these foundational styles or silently assumes they're already set upstream. You end up with either redundanc
AI 资讯
Prioritizing Abstractions Over Complexity: Addressing Illusions in Distributed Systems Platform Design
Introduction In the world of distributed systems, complexity is the beast we’re all trying to tame. Teams building platforms often fall into the trap of believing that hiding this complexity is the ultimate goal. The logic seems sound: if users don’t see the mess, they won’t be burdened by it. But this approach, while well-intentioned, often leads to the creation of illusions —systems that appear simple on the surface but are brittle and unpredictable beneath. These illusions don’t just fail to solve the problem; they exacerbate it, leading to increased cognitive load, unexpected failures, and long-term maintenance nightmares. Consider a platform designed to abstract away the intricacies of distributed transactions. If the abstraction merely masks the complexity without addressing its root causes—such as inconsistent network latencies or partial failures—users will eventually encounter edge cases where the system behaves unpredictably. For example, a transaction might appear to succeed but fail silently due to a race condition in the underlying distributed lock mechanism. The illusion of simplicity breaks down when the system’s internal state deforms under pressure, leading to data inconsistencies or service outages. The core issue lies in the misunderstanding of abstractions . A meaningful abstraction doesn’t just hide complexity; it transforms it into a more manageable form. It exposes the essential properties of the system while encapsulating the non-essential details. In contrast, an illusion merely obscures the complexity, leaving it to fester beneath the surface. For instance, an abstraction might provide a consistent API for distributed state management, while internally handling retries, idempotency, and conflict resolution. An illusion, on the other hand, might simply wrap a flaky distributed database in a prettier interface, without addressing the underlying issues of consistency or availability. The pressure to deliver platforms quickly often exacerbates
科技前沿
Here's why you shouldn't plug a power strip into a smart plug
It may be tempting to control an entire power strip with a smart plug, but there are some things you should know about this setup.
AI 资讯
2026: HR is Dead — Build Your Own AI to Process 310 Resumes in Half an Hour
Last week, our company needed to hire an on-site operations engineer. I used AI to screen 310 resumes...
AI 资讯
Anthropic and Gov. Newsom forge deal allowing California government to use Claude at half price
As Anthropic forges a closer relationship with the state of California, the federal government has made an enemy out of the OpenAI rival.
AI 资讯
South Korean tech giants commit over $550B to ease ‘ RAMageddon’
The world's two largest memory chip companies vow to build more memory lab fabs as South Korea positions itself as an AI tech powerhouse country.
AI 资讯
AI agents are not your “coworkers”
This story originally appeared in The Algorithm, our weekly newsletter on AI. To get stories like this in your inbox first, sign up here. Imagine coming in to work to learn that a new underling will report to you. The worker is not a person but an AI tool—one that your company nonetheless calls Alex, an…
产品设计
Quantum computing startup says it will leapfrog everybody
But the system would require a massive leap from any of its existing hardware.
开发者
You Don’t Know Jack About Formal Verification
submitted by /u/mttd [link] [留言]
科技前沿
Kalshi sues Illinois over new tax on prediction market sports bets
Illinois now a key battleground in fight over prediction market sports bets.
AI 资讯
Arena, the AI leaderboard everyone uses, is now a $100M business
The startup, which runs a popular free AI leaderboard, launched its commercial service just last September.
产品设计
Video about splice: The Linux Syscall That Moves Data It Never Reads
A visual walkthrough of how Linux splice() works: file descriptors, pipes, pipe buffers, page cache interaction, avoiding the userspace read/write bounce, and the tradeoffs that come with using such a strange linux kernel interface. submitted by /u/Ok_Marionberry8922 [link] [留言]
AI 资讯
Tidal isn't banning AI music, but it won't pay people who upload it
Tidal's new policy says that 100-percent AI-generated music will be demonetized.
科技前沿
Dbrand's Companion Cube case for the Steam Machine was a lie
Dbrand did not do its homework when it made the Companion Cube case for the Steam Machine.
科技前沿
Trump administration threatens 92 GW of new electricity supply with red tape
The Trump administration's moves threaten $121 billion in new solar and wind power, two energy sources that are the biggest contributors to new capacity in the U.S.
AI 资讯
TIDAL cracks down on AI music by cutting off monetization
In addition, TIDAL will use automated tools to remove AI-generated music that attempts to impersonate an artist or a group, the company said.
开发者
F1 in Austria: Starts off exciting, then goes the opposite way
A heatwave, engine upgrades, plus power levels for the next two seasons.
AI 资讯
Half of social media child safety features don't work, report claims
A new report found half of social media safety features intended to keep children safe online do not work as claimed.