Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 320" width="360" height="320" 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="359" height="319" 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="360" height="320"><feGaussianBlur stdDeviation="4"/></filter></defs><rect x="0.5" y="0.5" width="359" height="319" rx="14" fill="#FBFAF7"/><g clip-path="url(#card)"><rect width="360" height="320" fill="url(#dots)"/><rect width="360" height="320" filter="url(#grain)"/></g><rect x="0.5" y="0.5" width="359" height="319" rx="14" fill="none" stroke="#E6E2D9"/><path d="M11 16h10M16 11v10" stroke="#C9C3B6" stroke-width="0.75"/><path d="M339 16h10M344 11v10" stroke="#C9C3B6" stroke-width="0.75"/><path d="M11 304h10M16 299v10" stroke="#C9C3B6" stroke-width="0.75"/><path d="M339 304h10M344 299v10" stroke="#C9C3B6" stroke-width="0.75"/><text x="28.0" y="24.5" font-size="10" fill="#5F5B53" letter-spacing="0.08em" class="m">FIG 6.2</text><text x="332.0" y="24.5" font-size="10" fill="#5F5B53" text-anchor="end" letter-spacing="0.08em" class="m">FILES</text><polyline points="30.0,79.0 92.4,115.0 134.0,91.0" stroke="#C9C3B6" stroke-width="0.8" stroke-dasharray="2 3" stroke-linejoin="round" stroke-linecap="round"/><polygon points="134.0,79.0 92.4,103.0 92.4,112.0 134.0,88.0" fill="#F4F1EA" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><polygon points="30.0,67.0 92.4,103.0 92.4,112.0 30.0,76.0" fill="#F4F1EA" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><polygon points="71.6,43.0 134.0,79.0 92.4,103.0 30.0,67.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,71.6,43.0)"><line x1="10" y1="10.0" x2="43.5" y2="10.0" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="10" y1="16.0" x2="55.2" y2="16.0" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="16" y1="22.0" x2="54.5" y2="22.0" stroke="#FE750E" stroke-width="1.4" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="16" y1="28.0" x2="44.5" y2="28.0" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="10" y1="34.0" x2="28.4" y2="34.0" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><line x1="10" y1="40.0" x2="51.9" y2="40.0" stroke="#C9C3B6" stroke-width="0.9" stroke-linecap="round" vector-effect="non-scaling-stroke"/><rect class="blink" x="54.9" y="37.5" width="2.4" height="5" fill="#5F5B53"/><line x1="5" y1="6" x2="5" y2="42" stroke="#C9C3B6" stroke-width="0.8" vector-effect="non-scaling-stroke"/></g><polygon points="276.9,72.0 339.2,108.0 306.3,127.0 244.0,91.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,275.1,81.0)"><rect x="0" y="-40" width="56" height="40" 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,267.3,85.5)"><rect x="0" y="-40" width="56" height="40" 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,259.5,90.0)"><rect x="0" y="-40" width="56" height="40" rx="4" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" vector-effect="non-scaling-stroke"/><line x1="0" y1="-31" x2="56" y2="-31" stroke="#C9C3B6" stroke-width="0.8" vector-effect="non-scaling-stroke"/><circle cx="5.0" cy="-35.5" r="1.3" fill="#9A958A"/><circle cx="9.5" cy="-35.5" r="1.3" fill="#9A958A"/><circle cx="14.0" cy="-35.5" r="1.3" fill="#9A958A"/><rect x="19" y="-37.5" width="32" height="4" rx="2" stroke="#C9C3B6" stroke-width="0.8" vector-effect="non-scaling-stroke"/><rect x="6" y="-25" width="44" height="9" rx="2" stroke="#5F5B53" stroke-width="0.8" vector-effect="non-scaling-stroke"/><rect x="8.5" y="-22.5" width="12" height="4" rx="1" fill="#F4F1EA" stroke="#C9C3B6" stroke-width="0.7" vector-effect="non-scaling-stroke"/><line x1="24" y1="-20.5" x2="44" y2="-20.5" stroke="#C9C3B6" stroke-width="0.9" vector-effect="non-scaling-stroke"/><line x1="6" y1="-10" x2="36" y2="-10" stroke="#C9C3B6" stroke-width="0.9" vector-effect="non-scaling-stroke"/><line x1="6" y1="-5" x2="28" y2="-5" stroke="#C9C3B6" stroke-width="0.9" vector-effect="non-scaling-stroke"/></g><text x="82.0" y="148.0" font-size="13" fill="#1B1A17" font-weight="600" text-anchor="middle" class="s">SDK host</text><text x="276.0" y="148.0" font-size="13" fill="#1B1A17" font-weight="600" text-anchor="middle" class="s">Remote browser</text><line x1="82" y1="162" x2="82" y2="304" stroke="#C9C3B6" stroke-width="1"/><path d="M78 304h8" stroke="#C9C3B6" stroke-width="1"/><line x1="276" y1="162" x2="276" y2="304" stroke="#C9C3B6" stroke-width="1"/><path d="M272 304h8" stroke="#C9C3B6" stroke-width="1"/><path d="M76.0 168.5h8l4 4v11h-12z" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><path d="M84.0 168.5v4h4" stroke="#5F5B53" stroke-width="0.8" stroke-linejoin="round" stroke-linecap="round"/><path d="M79.0 176.5h6M79.0 179.5h6" stroke="#C9C3B6" stroke-width="0.9"/><path d="M270.0 168.5h8l4 4v11h-12z" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><path d="M278.0 168.5v4h4" stroke="#5F5B53" stroke-width="0.8" stroke-linejoin="round" stroke-linecap="round"/><path d="M273.0 176.5h6M273.0 179.5h6" stroke="#C9C3B6" stroke-width="0.9"/><line x1="93.0" y1="176" x2="265.0" y2="176" stroke="#5F5B53" stroke-width="1.1" marker-end="url(#ah)"/><line class="fw" x1="93.0" y1="176" x2="257.0" y2="176" stroke="#1B1A17" stroke-width="2.2" stroke-linecap="round" stroke-dasharray="0.1 23.9"/><text x="108.5" y="167.0" font-size="11" fill="#1B1A17" class="m">your app copies bytes</text><rect x="92.0" y="205" width="174.0" height="6" rx="3" fill="#FE750E" fill-opacity="0.35" filter="url(#glow)"/><line x1="88.0" y1="205.5" x2="266.0" y2="205.5" stroke="#FE750E" stroke-width="0.9" stroke-opacity=".5"/><line x1="88.0" y1="210.5" x2="266.0" y2="210.5" stroke="#FE750E" stroke-width="0.9" stroke-opacity=".5"/><path d="M264.0 203.5L270.0 208L264.0 212.5" stroke="#FE750E" stroke-width="1.4" stroke-linejoin="round" stroke-linecap="round"/><line class="fw" x1="88.0" y1="208" x2="262.0" y2="208" stroke="#FE750E" stroke-width="1.8" stroke-linecap="round" stroke-dasharray="5 19"/><circle cx="82.0" cy="208.0" r="4.2" fill="#FBFAF7" stroke="#FE750E" stroke-width="1.5"/><circle cx="82.0" cy="208.0" r="1.6" fill="#FE750E"/><circle cx="276.0" cy="208.0" r="4.2" fill="#FBFAF7" stroke="#FE750E" stroke-width="1.5"/><circle cx="276.0" cy="208.0" r="1.6" fill="#FE750E"/><text x="101.2" y="199.0" font-size="11" fill="#AC4808" class="m">file_upload</text><text x="183.0" y="199.0" font-size="11" fill="#5F5B53" class="m">document ID</text><rect x="92.0" y="249" width="174.0" height="6" rx="3" fill="#FE750E" fill-opacity="0.35" filter="url(#glow)"/><line x1="270.0" y1="249.5" x2="92.0" y2="249.5" stroke="#FE750E" stroke-width="0.9" stroke-opacity=".5"/><line x1="270.0" y1="254.5" x2="92.0" y2="254.5" stroke="#FE750E" stroke-width="0.9" stroke-opacity=".5"/><path d="M94.0 247.5L88.0 252L94.0 256.5" stroke="#FE750E" stroke-width="1.4" stroke-linejoin="round" stroke-linecap="round"/><line class="fw" x1="270.0" y1="252" x2="96.0" y2="252" stroke="#FE750E" stroke-width="1.8" stroke-linecap="round" stroke-dasharray="5 19"/><circle cx="276.0" cy="252.0" r="4.2" fill="#FBFAF7" stroke="#FE750E" stroke-width="1.5"/><circle cx="276.0" cy="252.0" r="1.6" fill="#FE750E"/><circle cx="82.0" cy="252.0" r="4.2" fill="#FBFAF7" stroke="#FE750E" stroke-width="1.5"/><circle cx="82.0" cy="252.0" r="1.6" fill="#FE750E"/><text x="94.5" y="243.0" font-size="11" fill="#AC4808" class="m">download notice</text><text x="203.1" y="243.0" font-size="11" fill="#5F5B53" class="m">path only</text><path d="M270.0 276.5h8l4 4v11h-12z" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><path d="M278.0 276.5v4h4" stroke="#5F5B53" stroke-width="0.8" stroke-linejoin="round" stroke-linecap="round"/><path d="M273.0 284.5h6M273.0 287.5h6" stroke="#C9C3B6" stroke-width="0.9"/><path d="M76.0 276.5h8l4 4v11h-12z" fill="#FFFFFF" stroke="#5F5B53" stroke-width="0.9" stroke-linejoin="round" stroke-linecap="round"/><path d="M84.0 276.5v4h4" stroke="#5F5B53" stroke-width="0.8" stroke-linejoin="round" stroke-linecap="round"/><path d="M79.0 284.5h6M79.0 287.5h6" stroke="#C9C3B6" stroke-width="0.9"/><line x1="265.0" y1="284" x2="93.0" y2="284" stroke="#5F5B53" stroke-width="1.1" marker-end="url(#ah)"/><line class="fw" x1="265.0" y1="284" x2="101.0" y2="284" stroke="#1B1A17" stroke-width="2.2" stroke-linecap="round" stroke-dasharray="0.1 23.9"/><text x="98.5" y="275.0" font-size="11" fill="#1B1A17" class="m">your app retrieves bytes</text></svg>