Scoopfeeds — Intelligent news, curated.
computer-science

The agent harness belongs outside the sandbox

Hacker News · May 2, 2026, 9:21 PM

Key takeaways

  • Blog The Agent Harness Belongs Outside the Sandbox Andrea Luzzardi·Apr 10, 2026·7 min read.
  • They have different security properties, different failure modes, and different implications for what the agent can do.
  • The loop lives in the same container as the code it's working on.

Blog The Agent Harness Belongs Outside the Sandbox Andrea Luzzardi·Apr 10, 2026·7 min read. An agent harness is the loop that drives an LLM. It sends a prompt, gets a response, executes the tool calls the model requested, feeds the results back, and repeats until the model says it's done. Every production agent has one. The question is where it runs.

There are two answers. They have different security properties, different failure modes, and different implications for what the agent can do. The tradeoffs also look different depending on whether you're building a single-user agent (one engineer on a laptop) or a multi-user one (dozens of engineers in the same organization sharing the same agent). We're in the multi-user camp, which surfaces problems single-user builders don't hit.

The loop lives in the same container as the code it's working on. LLM calls go out from inside the container. Tool calls (bash, read, write) execute locally. Skills, memories, and anything else the harness tracks are files on the container's filesystem.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop