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…
From 4 newsletters · 1 min read · one thing to try
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
- Define a specific action that violates a policy, such as a payment over your limit.
- Execute the request through your agent.
- Verify the system blocks the action rather than the agent declining it.
- Document the rejection response from the system.