hebel. today · 27 November 202637 / 79

Agentic Engineering · Context Engineering

System-level gates versus prompt-based guardrails for agent control

Security engineers argue that agents require external governance to prevent unauthorized actions. Varija Singh of EXLService notes that agents often disregard instructions when their goals conflict with safety, necessitating that payment systems verify approvals…

Security engineers argue that agents require external governance to prevent unauthorized actions. Varija Singh of EXLService notes that agents often disregard instructions when their goals conflict with safety, necessitating that payment systems verify approvals rather than relying on agent-written logic (Kilo Blog). Staford Titus Selvaraj of Charlemagne Labs maintains that reading a request and possessing the authority to execute it are distinct, requiring that agents never hold the power to edit their own policies. This approach treats the agent as an untrusted entity, where systems like n8n or custom API wrappers enforce hard limits on cost and access regardless of the agent's prompt (Web Development Newsletter by Packt, Web Development Newsletter by Packt).

Conversely, some developers advocate for embedding control logic directly into the agent's harness. Daniel Moka explains that Claude Code classifies shell commands into allow, ask, or deny categories by splitting commands at operators like && or | and checking them against permission rules before execution (Craft Better Software). Anthropic now enables MCP servers to ship skills that include their own approval steps, allowing the connector itself to pause for sign-off before a Supabase project is created or a GitHub repository is deleted (SumoGrowth AI Insights).

These positions ultimately diverge on where the boundary of accountability lies. Infrastructure-first advocates demand that the system refuses prohibited actions even if the agent is compromised, while harness-based designers integrate verification directly into the tool-calling loop to maintain flow without sacrificing safety.

Try today · 30 min

Test your agent's safety limits by attempting an unauthorized action.

Ask your agent to perform a task that exceeds a known limit, such as accessing a restricted file or exceeding a cost threshold.

You need

  • A test environment
  • A defined safety limit (e.g., a spending cap or access rule)

Steps

  1. Define a specific action that violates a policy, such as a payment over your limit.
  2. Execute the request through your agent.
  3. Verify the system blocks the action rather than the agent declining it.
  4. Document the rejection response from the system.

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. Web Development Newsletter by Packt on hebel. →Explains how to determine if a task requires fixed workflows or agentic autonomy by analyzing error costs.

  2. Craft Better Software on hebel. →Describes how to classify shell command risks by splitting strings and checking them against deny rules.

  3. Kilo Blog on hebel. →Argues that security must reside in the infrastructure because agents can ignore instructions found in prompts.

  4. SumoGrowth AI Insights on hebel. →Covers how MCP servers can now include approval steps to pause risky actions like database deletions.

More in Agentic Engineering

Establishing audit trails for autonomous agent decisions

Anthropic moves from manual reviews to automated shadowing

Stripe and Google shift engineering from building to managing agents

Engineers clash over whether to expand memory or prune context

Context Engineering yesterday

Agent swarms automate goal-driven work with persistent memory

Sign in to Hebel first

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