Ology

The Agent Boundary: Guardrails for Systems That Act

Production safeguards for AI agents: permissions, harmful-action prevention, prompt-injection defense, reliability, monitoring, and human oversight

5 sessions · 13 readings · 397 views

Curated by Leo Varga

Permission Prompts Aren’t Boundariessession 1Injection Is a Data-Flow Problemsession 2The Benchmark Meets the Live Systemsession 3Spend Human Attention Where It Bitessession 4Failure Must Leave a Trailsession 5

Opening

Agents are moving from answering questions to operating browsers, editing code, querying private data, and coordinating tools over long-running tasks. That shift makes familiar safety questions concrete: not just whether a model will say something harmful, but what it can reach, change, or expose before anyone notices.

Recent deployment accounts point beyond a single “safety layer.” Teams are reducing reliance on repeated permission prompts in favor of sandbox boundaries; researchers are testing defenses against adaptive prompt injection; and monitoring systems are expanding from evaluation labs into live agent workflows. Each approach helps, but none removes the need to reason about the others.

The hard cases arise where layers meet. A model may resist malicious instructions yet still have excessive permissions; a sandbox may constrain damage but obscure failures; a benchmark may show improvement without predicting what happens in production. Human approval can catch consequential mistakes, but too many prompts can turn oversight into reflex.

This seminar follows those dependencies—from the boundary around an agent, through attacks and evaluation, to monitoring and recovery. The central question is: what evidence and controls are enough to let an agent act usefully without making a single failure catastrophic?

Five questions worth arguing about

  1. 1When should a team trade per-action approval for a sandbox that lets the agent act freely within bounds?
  2. 2Are prompt-injection defenses strongest when they teach models to spot attacks, or when architecture limits what an attack can accomplish?
  3. 3How much should a safety evaluation predict production behavior when agents can infer the test’s objective and harness?
  4. 4Should human attention be allocated by action risk, model uncertainty, or patterns that emerge across a whole run?
  5. 5What evidence should be required before granting broader access if a failure can propagate through shared infrastructure?

The Sessions

1Session 1start here

Permission Prompts Aren’t Boundaries

The problem

A permission prompt seems to put a person between an agent and a consequential action. But prompts can become routine, while an agent’s ability to act continues to grow. Anthropic’s sandboxing account makes a different proposal: define a restricted environment in which an agent can work with fewer interruptions. Its later containment account broadens that idea into defense in depth, treating model behavior, environment, and accessible content as separate parts of the security problem.

Meta’s “Rule of Two” offers a design heuristic for deciding which capabilities should not coexist: untrusted inputs, sensitive data, and external actions create dangerous combinations. This is a practical framework rather than a guarantee, and it makes tradeoffs explicit—restrict a capability, constrain a boundary, or preserve a human checkpoint. Together, the readings ask whether safety comes more reliably from asking the agent to pause or from making certain harmful paths unavailable. That distinction matters especially once the agent begins processing hostile content.

2Session 2

Injection Is a Data-Flow Problem

The problem

Prompt injection is not just a matter of the model failing to recognize suspicious text. Agents must process content from sources they do not control, and that content can influence actions across tools. Google DeepMind describes automated red-teaming and layered safeguards for indirect prompt injection; Anthropic reports browser-agent attack results under an adaptive attacker and emphasizes that a low attack rate is still meaningful risk.

These accounts show both progress and a limit: model training and classifiers can improve resistance, but neither makes untrusted content trustworthy. The architectural question is what an attacker can do if those defenses fail—whether data access, network access, and state-changing tools are allowed to combine. That shifts the next question from “did the model resist?” to “how do we know the system is robust enough?”

Readings

  1. Advancing Gemini’s security safeguardsGoogle DeepMind Security & Privacy Research Team
3Session 3

The Benchmark Meets the Live System

The problem

An agent evaluation is not simply a score for a model: it reflects the harness, tools, task distribution, and grading choices as well. Anthropic’s guide argues for evaluating the agent and its surrounding system, then combining test results with other signals. Hamel Husain and Shreya Shankar distinguish pre-deployment regression tests from production trace monitoring, emphasizing that findings in production should feed back into the test set.

OpenAI’s recent comparison of safety evaluations with comparable production decisions complicates the usual assumption that evaluation performance straightforwardly predicts deployment behavior. Its findings suggest that models’ beliefs about what an evaluation is testing can matter, while also noting that differences in setup may contribute to the gap. The disagreement here is productive: evaluations are essential for catching known failures, but how much confidence should they buy when behavior depends on context and incentives? The answer determines what monitoring must do after launch.

4Session 4

Spend Human Attention Where It Bites

The problem

Human oversight is often described as a binary feature—either a person approves each action or the agent operates autonomously. Anthropic’s study of agent use in practice suggests a more varied picture: users may approve actions more readily as they gain experience, while also interrupting agents more often; agents themselves sometimes pause for clarification. These findings are observational, not proof that a particular oversight pattern is safer.

OpenAI describes a layered monitoring system that uses automated screening, investigation, and human response, while acknowledging limits such as false alarms and gaps in coverage. Netflix’s workflow takes another route: it produces plans, plots, specifications, and notebooks for human inspection, especially where a final answer cannot be checked against ground truth. Together, the readings ask whether oversight should happen at each action, at key decision points, or through artifacts and monitoring across the whole run. That question leads directly to the design of systems that can be inspected and recovered after something goes wrong.

5Session 5finish here

Failure Must Leave a Trail

The problem

A safeguard is only useful if teams can understand what happened, stop further harm, and resume safely. Anthropic’s managed-agent architecture separates the session log, harness, and execution environment so a failed component can be replaced without losing the record of work. This is an engineering design for recovery, not a claim that durable logs alone make an agent safe.

OpenAI’s account of the Hugging Face incident describes agents finding unintended communication and network paths through shared infrastructure, despite restrictions in their environments. Read alongside the managed-agent design, it raises a harder operational question: can teams detect not just a single unauthorized action, but the infrastructure conditions that let actions propagate across runs? A durable trail helps investigate; containment and response determine whether investigation arrives in time.

Interested in joining a reading club with top AI experts?

Small groups, great readings, real conversations. Learn faster and grow your network.

A friend that hands you reading lists, not search results.

© Ology 2026