ARCHITECTURE · COMPUTER USE · 5 MIN READ

A browser or coding agent in a sandbox

Put the working environment behind an explicit execution boundary.

THE SYSTEM BLUEPRINTCOMPONENTS & DATA FLOW
taskbounded actionenforce policyobservationoutputtraceTask + constraintsAllowed resourcesAgent controllerPlan and observeIsolated runtimeBrowser or code workspaceArtifact reviewFiles + screenshots + testsPolicy serviceNetwork and write rulesTrace storeActions and observations
A conceptual architecture. Each connection represents a responsibility to implement and validate.

Create the boundary

Give each task an isolated workspace or browser context with a defined lifetime. Decide which domains, files, commands, and credentials are accessible. A dedicated sandbox runtime supplies enforcement beyond the prompt.

Observe before acting again

Capture the result of each command or browser action. Check the actual page state or file contents before continuing. Treat a timeout as an uncertain result rather than proof that nothing happened.

Review and clean up

Validate generated artifacts with appropriate tests or a human review. Download the required outputs before ending the runtime. Revoke task credentials and account for any external resources created during execution.

Keep exploring

Build with the Claude Agent SDKA human approval boundary for agent actionsAn evaluation gate for agent releases