hebel. today · 18 November 202634 / 80

Agentic Engineering · Agent Evals & Reliability

Deterministic guardrails replace model-based limits for production agents

Nubank reduced agent release cycles from 21.2 days to 4.4 days by replacing GPT-5.2 with an open-weight Qwen model after screening 29 configurations against 16,000 simulated conversations. To prevent agents from exceeding budgets or…

Nubank reduced agent release cycles from 21.2 days to 4.4 days by replacing GPT-5.2 with an open-weight Qwen model after screening 29 configurations against 16,000 simulated conversations (Linas's Newsletter). To prevent agents from exceeding budgets or looping indefinitely, teams at Decoding AI moved guardrails into a TypeScript orchestrator that enforces hard limits on spend, iterations, and metric thresholds through deterministic code rather than relying on the model to self-regulate (Decoding AI Magazine). This approach allows engineers to set a 24-hour deadline or a $120 night budget that aborts the agent loop immediately when crossed, ensuring that safety-critical boundaries remain intact even if the model attempts to override them (Shilpa Mitra from WebAfterAI).

  • Lyft routes sensitive fraud and safety issues to human reviewers to maintain flexibility in reasoning while limiting the agent's authority to take destructive actions (Gradient Flow).
  • CodeClimb uses a metering proxy to track costs across multiple models in real-time, allowing for granular spend management per experiment (Decoding AI Magazine).
  • Promptfoo enables teams to define repeatable regression tests for agents, measuring task completion and factual accuracy against a fixed set of realistic tickets (Shilpa Mitra from WebAfterAI).
  • Trane Technologies connected an agent to live HVAC equipment data, reducing a 20-minute diagnostic workflow to 20 seconds.

Try today · 45 min

Implement a deterministic guardrail layer in your agent's orchestrator.

Identify the three most critical failure modes—such as cost, step count, or specific policy violations—and move their enforcement from the system prompt into a hard-coded conditional check.

You need

  • Current agent orchestration code
  • Defined maximums for cost, steps, or time

Steps

  1. Select one primary constraint, such as a maximum iteration count or spend limit.
  2. Write a plain if-else statement in your orchestration layer that checks this value before every model call.
  3. Configure the check to trigger an immediate abort of the loop if the threshold is reached.
  4. Verify that the agent cannot access the variables used by this check to modify its own limits.

One email instead of your newsletter pile.

Forward the newsletters you already get (a Gmail filter does it) and tell Hebel your goals. Every morning it reads them with 20,000 others and sends one short email, with one small thing to do today. Fewer emails, not more. Free during beta.

Start my paper →
LinkedIn X

Sources

  1. Linas's Newsletter on hebel. →Details how Nubank used a simulator to screen 29 model configurations, reducing release cycles by 80 percent.

  2. Decoding AI Magazine on hebel. →Explains the use of a TypeScript orchestrator and metering proxy to enforce hard guardrails on long-running code agents.

  3. Shilpa Mitra, WebAfterAI on hebel. → ✎ Written by a personOutlines the use of Promptfoo for defining repeatable regression tests and NeMo Guardrails for enforcing boundary conditions.

  4. Gradient Flow on hebel. →Describes how Trane Technologies and Lyft balance agent autonomy with human oversight and deterministic system constraints.

More in Agentic Engineering

Moving agents from local laptops to reliable cloud runtimes

Architecting AI systems with persistent context and contracts

Teams move from agent teams to single-agent loops

Five release gates to secure agent-built features

Agent Evals & Reliability yesterday

Nvidia and Google move agent security into the infrastructure

Sign in to Hebel first

Likes, your collection and done Hebel need an account. We email you a six digit code; no password.