hebel. today · 25 November 202654 / 79
Agentic Engineering · Agent Evals & Reliability
System-level guardrails replace agent-side instructions
Security experts now enforce agent constraints outside the model's reach to prevent unauthorized actions. Mariane Bekker at 1Password warns that agents often access sensitive files like .env or SSH keys when developers place them…
From 3 newsletters · 1 min read · one thing to try
Security experts now enforce agent constraints outside the model's reach to prevent unauthorized actions. Mariane Bekker at 1Password warns that agents often access sensitive files like .env or SSH keys when developers place them in the agent's environment (Kilo Blog). To stop this, teams implement fail-closed gates that operate independently of the agent's instructions, ensuring the system refuses actions rather than relying on the agent to decline them (Kilo Blog).
Reliable infrastructure requires immutable records for external verification. Teams reconstruct a day of agent work from records that the agent cannot edit, a practice that replaces reliance on internal logs. CodeClimb designs guardrails that the agent cannot override by checking cost and time limits before every model call, ensuring that experiments stop when they exceed $2.50 or 30 minutes (Decoding AI Magazine).
Production systems now isolate side effects to enable reproducible debugging. Developers distinguish between trace replay, counterfactual reruns, and durable recovery to isolate failures in long-running agents (Shilpa Mitra from WebAfterAI). This approach allows teams to change an earlier decision and execute a new branch under controlled conditions, making failures testable rather than merely observable (Shilpa Mitra from WebAfterAI).
Try today · 30 min
Test your agent's safety by attempting an action beyond its defined limits.
Create a test script that triggers a prohibited shell command or an unauthorized file read.
You need
- A test environment with your agent's current configuration
- One prohibited action (e.g., accessing a sensitive system file or exceeding a spend limit)
Steps
- Identify the specific limit you intend to enforce outside the agent.
- Execute the prohibited action within your test environment.
- Verify that the system blocks the request before the agent processes it.
- Confirm that the agent receives a denial signal from the system gate.
- Document the failure response for your incident runbook.