Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

10.8 KB
Raw Blame
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 720 348" width="720" height="348" role="img" aria-labelledby="t d" fill="none"><title id="t">Files between the SDK host and a remote browser</title><desc id="d">The SDK host and a remote browser host have separate filesystems. Upload: your application copies the file's bytes to the browser host, then the driver's file_upload passes an approved document ID that resolves to the staged path. Download: the driver's download notice carries only a path on the browser host; your application retrieves the bytes to the SDK host.</desc><style>.s{font-family:Geist, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif}.m{font-family:'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace}text{font-kerning:normal}@keyframes fw{to{stroke-dashoffset:-24}}@keyframes blink{0%,49%{fill-opacity:1}50%,100%{fill-opacity:0}}@media (prefers-reduced-motion:no-preference){.fw{animation:fw 1.3s linear infinite}.blink{animation:blink 1.1s steps(1) infinite}}</style><defs><pattern id="dots" width="16" height="16" patternUnits="userSpaceOnUse"><circle cx="8" cy="8" r="0.7" fill="#DDD8CD"/></pattern><filter id="grain" x="0" y="0" width="100%" height="100%"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" seed="7" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0.05 0"/></filter><clipPath id="card"><rect x="0.5" y="0.5" width="719" height="347" rx="14"/></clipPath><marker id="ah" viewBox="0 0 10 10" refX="8.5" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M1 1.5 L9 5 L1 8.5" stroke="#5F5B53" stroke-width="1.3" fill="none" stroke-linejoin="round" stroke-linecap="round"/></marker><marker id="ao" viewBox="0 0 10 10" refX="8.5" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M1 1.5 L9 5 L1 8.5" stroke="#FE750E" stroke-width="1.3" fill="none" stroke-linejoin="round" stroke-linecap="round"/></marker><filter id="glow" filterUnits="userSpaceOnUse" x="0" y="0" width="720" height="348"><feGaussianBlur stdDeviation="4"/></filter></defs><rect x="0.5" y="0.5" width="719" height="347" rx="14" fill="#FBFAF7"/><g clip-path="url(#card)"><rect width="720" height="348" fill="url(#dots)"/><rect width="720" height="348" filter="url(#grain)"/></g><rect x="0.5" y="0.5" width="719" height="347" rx="14" fill="none" stroke="#E6E2D9"/><path d="M15 20h10M20 15v10" stroke="#C9C3B6" stroke-width="0.75"/><path d="M695 20h10M700 15v10" stroke="#C9C3B6" stroke-width="0.75"/><path d="M15 328h10M20 323v10" stroke="#C9C3B6" stroke-width="0.75"/><path d="M695 328h10M700 323v10" stroke="#C9C3B6" stroke-width="0.75"/><text x="34.0" y="24.5" font-size="10" fill="#5F5B53" letter-spacing="0.08em" class="m">FIG 6.2</text><text x="686.0" y="24.5" font-size="10" fill="#5F5B53" text-anchor="end" letter-spacing="0.08em" class="m">CLAUDE TOOLSETS / FILES</text><polyline points="90.7,81.0 173.9,129.0 229.3,97.0" stroke="#C9C3B6" stroke-width="0.8" stroke-dasharray="2 3" stroke-linejoin="round" stroke-linecap="round"/><polygon points="229.3,85.0 173.9,117.0 173.9,126.0 229.3,94.0" fill="#F4F1EA" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><polygon points="90.7,69.0 173.9,117.0 173.9,126.0 90.7,78.0" fill="#F4F1EA" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><polygon points="146.1,37.0 229.3,85.0 173.9,117.0 90.7,69.0" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><g transform="matrix(0.8660,0.5,-0.8660,0.5,146.1,37.0)"><line x1="10" y1="10.0" x2="54.7" y2="10.0" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="10" y1="19.2" x2="70.3" y2="19.2" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="16" y1="28.4" x2="67.3" y2="28.4" stroke="#FE750E" stroke-width="1.4" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="16" y1="37.6" x2="54.0" y2="37.6" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="10" y1="46.8" x2="34.6" y2="46.8" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="10" y1="56.0" x2="65.8" y2="56.0" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><rect class="blink" x="68.8" y="53.5" width="2.4" height="5" fill="#5F5B53"/><line x1="5" y1="6" x2="5" y2="58" stroke="#C9C3B6" stroke-width="0.8" vector-effect="non-scaling-stroke"/></g><polygon points="560.0,77.0 634.5,120.0 598.1,141.0 523.6,98.0" stroke="#C9C3B6" stroke-width="0.8" stroke-dasharray="2 3" stroke-linejoin="round" stroke-linecap="round"/><g transform="matrix(0.8660,0.5,0,1,558.3,86.0)"><rect x="0" y="-50" width="70" height="50" rx="4" fill="#FBFAF7" stroke="#C9C3B6" stroke-width="0.9" stroke-dasharray="2 3" vector-effect="non-scaling-stroke"/></g><g transform="matrix(0.8660,0.5,0,1,548.7,91.5)"><rect x="0" y="-50" width="70" height="50" rx="4" fill="#FBFAF7" stroke="#C9C3B6" stroke-width="0.9" vector-effect="non-scaling-stroke"/></g><g transform="matrix(0.8660,0.5,0,1,539.2,97.0)"><rect x="0" y="-50" width="70" height="50" rx="4" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" vector-effect="non-scaling-stroke"/><line x1="0" y1="-41" x2="70" y2="-41" stroke="#C9C3B6" stroke-width="0.8" vector-effect="non-scaling-stroke"/><circle cx="5.0" cy="-45.5" r="1.3" fill="#9A958A"/><circle cx="9.5" cy="-45.5" r="1.3" fill="#9A958A"/><circle cx="14.0" cy="-45.5" r="1.3" fill="#9A958A"/><rect x="19" y="-47.5" width="46" height="4" rx="2" stroke="#C9C3B6" stroke-width="0.8" vector-effect="non-scaling-stroke"/><rect x="6" y="-35" width="58" height="9" rx="2" stroke="#5F5B53" stroke-width="0.8" vector-effect="non-scaling-stroke"/><rect x="8.5" y="-32.5" width="12" height="4" rx="1" fill="#F4F1EA" stroke="#C9C3B6" stroke-width="0.7" vector-effect="non-scaling-stroke"/><line x1="24" y1="-30.5" x2="58" y2="-30.5" stroke="#C9C3B6" stroke-width="0.9" vector-effect="non-scaling-stroke"/><line x1="6" y1="-20" x2="36" y2="-20" stroke="#C9C3B6" stroke-width="0.9" vector-effect="non-scaling-stroke"/><line x1="6" y1="-15" x2="28" y2="-15" stroke="#C9C3B6" stroke-width="0.9" vector-effect="non-scaling-stroke"/></g><text x="160.0" y="162.0" font-size="14" fill="#1B1A17" font-weight="600" text-anchor="middle" class="s">SDK host</text><text x="560.0" y="162.0" font-size="14" fill="#1B1A17" font-weight="600" text-anchor="middle" class="s">Remote browser</text><line x1="160" y1="176" x2="160" y2="330" stroke="#C9C3B6" stroke-width="1"/><path d="M156 330h8" stroke="#C9C3B6" stroke-width="1"/><line x1="560" y1="176" x2="560" y2="330" stroke="#C9C3B6" stroke-width="1"/><path d="M556 330h8" stroke="#C9C3B6" stroke-width="1"/><path d="M154.0 188.5h8l4 4v11h-12z" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><path d="M162.0 188.5v4h4" stroke="#5F5B53" stroke-width="0.8" stroke-linejoin="round" stroke-linecap="round"/><path d="M157.0 196.5h6M157.0 199.5h6" stroke="#C9C3B6" stroke-width="0.9"/><path d="M554.0 188.5h8l4 4v11h-12z" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><path d="M562.0 188.5v4h4" stroke="#5F5B53" stroke-width="0.8" stroke-linejoin="round" stroke-linecap="round"/><path d="M557.0 196.5h6M557.0 199.5h6" stroke="#C9C3B6" stroke-width="0.9"/><line x1="171.0" y1="196" x2="549.0" y2="196" stroke="#5F5B53" stroke-width="1.1" marker-end="url(#ah)"/><line class="fw" x1="171.0" y1="196" x2="541.0" y2="196" stroke="#1B1A17" stroke-width="2.2" stroke-linecap="round" stroke-dasharray="0.1 23.9"/><text x="283.1" y="187.0" font-size="12" fill="#1B1A17" class="m">your app copies bytes</text><rect x="170.0" y="227" width="380.0" height="6" rx="3" fill="#FE750E" fill-opacity="0.35" filter="url(#glow)"/><line x1="166.0" y1="227.5" x2="550.0" y2="227.5" stroke="#FE750E" stroke-width="0.9" stroke-opacity=".5"/><line x1="166.0" y1="232.5" x2="550.0" y2="232.5" stroke="#FE750E" stroke-width="0.9" stroke-opacity=".5"/><path d="M548.0 225.5L554.0 230L548.0 234.5" stroke="#FE750E" stroke-width="1.4" stroke-linejoin="round" stroke-linecap="round"/><line class="fw" x1="166.0" y1="230" x2="546.0" y2="230" stroke="#FE750E" stroke-width="1.8" stroke-linecap="round" stroke-dasharray="5 19"/><circle cx="160.0" cy="230.0" r="4.2" fill="#FBFAF7" stroke="#FE750E" stroke-width="1.5"/><circle cx="160.0" cy="230.0" r="1.6" fill="#FE750E"/><circle cx="560.0" cy="230.0" r="4.2" fill="#FBFAF7" stroke="#FE750E" stroke-width="1.5"/><circle cx="560.0" cy="230.0" r="1.6" fill="#FE750E"/><text x="275.5" y="221.0" font-size="12" fill="#AC4808" class="m">file_upload</text><text x="364.0" y="221.0" font-size="12" fill="#5F5B53" class="m">document ID</text><rect x="170.0" y="273" width="380.0" height="6" rx="3" fill="#FE750E" fill-opacity="0.35" filter="url(#glow)"/><line x1="554.0" y1="273.5" x2="170.0" y2="273.5" stroke="#FE750E" stroke-width="0.9" stroke-opacity=".5"/><line x1="554.0" y1="278.5" x2="170.0" y2="278.5" stroke="#FE750E" stroke-width="0.9" stroke-opacity=".5"/><path d="M172.0 271.5L166.0 276L172.0 280.5" stroke="#FE750E" stroke-width="1.4" stroke-linejoin="round" stroke-linecap="round"/><line class="fw" x1="554.0" y1="276" x2="174.0" y2="276" stroke="#FE750E" stroke-width="1.8" stroke-linecap="round" stroke-dasharray="5 19"/><circle cx="560.0" cy="276.0" r="4.2" fill="#FBFAF7" stroke="#FE750E" stroke-width="1.5"/><circle cx="560.0" cy="276.0" r="1.6" fill="#FE750E"/><circle cx="160.0" cy="276.0" r="4.2" fill="#FBFAF7" stroke="#FE750E" stroke-width="1.5"/><circle cx="160.0" cy="276.0" r="1.6" fill="#FE750E"/><text x="268.2" y="267.0" font-size="12" fill="#AC4808" class="m">download notice</text><text x="386.0" y="267.0" font-size="12" fill="#5F5B53" class="m">path only</text><path d="M554.0 302.5h8l4 4v11h-12z" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><path d="M562.0 302.5v4h4" stroke="#5F5B53" stroke-width="0.8" stroke-linejoin="round" stroke-linecap="round"/><path d="M557.0 310.5h6M557.0 313.5h6" stroke="#C9C3B6" stroke-width="0.9"/><path d="M154.0 302.5h8l4 4v11h-12z" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><path d="M162.0 302.5v4h4" stroke="#5F5B53" stroke-width="0.8" stroke-linejoin="round" stroke-linecap="round"/><path d="M157.0 310.5h6M157.0 313.5h6" stroke="#C9C3B6" stroke-width="0.9"/><line x1="549.0" y1="310" x2="171.0" y2="310" stroke="#5F5B53" stroke-width="1.1" marker-end="url(#ah)"/><line class="fw" x1="549.0" y1="310" x2="179.0" y2="310" stroke="#1B1A17" stroke-width="2.2" stroke-linecap="round" stroke-dasharray="0.1 23.9"/><text x="272.2" y="301.0" font-size="12" fill="#1B1A17" class="m">your app retrieves bytes</text></svg>