Browser-Use 1.0: Python REPL, Harness Daemon & Domain Guard

browser-use/browser-use @ 30dffbb · fixed-commit static source & CDP guard boundaries

Browser-Use 1.0: Python REPL, Harness Daemon & Domain Guard browser-use/browser-use @ 30dffbb · fixed-commit static source & CDP guard boundaries Pydantic AI Agent Loop · Tool(python, sequential=True) + finish / finish_from_repl · Host Python process · Agent + REPL parent + Domain Guard Pydantic AI Agent Loop Tool(python, sequential=True) + finish / finish_from_repl Repl Parent Controller · Spawns python -P worker; kills process tree on timeout · Host Python process · Agent + REPL parent + Domain Guard Repl Parent Controller Spawns python -P worker; kills process tree on timeout REPL Worker Subprocess · check_url() pre-check · ax.AxHelpers (bu) · Python runtime · Worker subprocess (unrestricted Python networking) · not sandboxed REPL Worker Subprocess check_url() pre-check · ax.AxHelpers (bu) · Python runtime not sandboxed browser-harness Daemon · IPC relay · shared 500-event buffer per BU_NAME · Browser control plane · survives worker restarts · shared buffer browser-harness Daemon IPC relay · shared 500-event buffer per BU_NAME shared buffer domains.Guard + sweep() · Own CDP Fetch.enable (Document only) + post-cell sweep · Host Python process · Agent + REPL parent + Domain Guard · main-frame only domains.Guard + sweep() Own CDP Fetch.enable (Document only) + post-cell sweep main-frame only Chrome Browser (CDP) · Survives worker timeout · iframes & subresources pass · Browser control plane · survives worker restarts Chrome Browser (CDP) Survives worker timeout · iframes & subresources pass repl.call('exec', code) local socket IPC cdp() + drain_events() CDP commands & events own CDP Fetch.enable + sweep() Host Python process · Agent + REPL parent + Domain Guard Worker subprocess (unrestricted Python networking) Browser control plane · survives worker restarts Legend Frontend Backend Security Message bus

Architecture Diagnosis

Built into Archify, runs locally

Ask your AI assistant:

Use Archify to create an architecture diagram for this project and start Architecture Diagnosis.