Before you start#
The in-chat browser requires Pro, a device running API 23 or higher, and a chat model that supports tool calling. In a regular chat, check Web actions under Tools, then describe your task directly—for example:
Open Baidu, search for DeepSeek, go to the official website, find the API documentation, check the latest changelog entry, and save the page logo to the current chat's workspace.
The browser can be opened automatically by the AI as needed, or opened manually via Tools → Web actions → Open browser in the current chat. You can enter a URL and sign in to frequently used websites first before letting the AI take over; manual browsing itself does not trigger model calls. The AI actually visits pages, types, clicks, and paginates—this is a different tool from web search (which returns summaries) and webpage fetching (which extracts page text). Browsing tasks use your current model's call quota and do not include unlimited model usage.
The AI waits until target elements are visible, stable, and interactive before clicking or typing; key presses and scrolling use real input events, supporting rich-text editors and embedded frames. When a task requires heavy repetitive clicking or pagination, the AI can write a script in Code Workbench to drive the current webpage continuously; the run card displays progress, and taking over the webpage interrupts the script. The AI can also take full-page scrolling screenshots or capture a single element on the page.
Code Workbench also provides a Playwright script entry: import cube_browser.playwright in a Python cell and pass an async JavaScript function body using Page / Locator. It supports locating by role or label, auto-waiting, iframes, and batch operations; use the app-provided browser helper methods to create, switch, and close tabs and handle dialogs. Takeover, cancellation, or timeout terminates the script, while the legacy cube_browser Python API remains compatible. Ask the AI to read the Code Workbench guide for concrete examples.
Where to watch progress#
After a webpage is opened manually or by the AI, a Browser entry appears in the current chat toolbar; while the AI browses, messages also show the current page and progress. Tap to expand the live webpage, and collapse it to keep watching progress in chat. The tab the AI is actively controlling displays your accent color, the Cube working animation, and an "AI working" label.
To share the current webpage, tap Copy link on the right side of the address bar. This copies the address of the tab you are currently viewing; you can copy it even while the AI is operating, and the browsing task will continue uninterrupted.
Viewing does not pause the task. Expanding or collapsing the browser lets the AI keep running, and switching to inspect another tab does not change which tab the AI is operating. New tabs opened by a webpage are captured by the current chat's browser so the AI can continue working on them. You can open new tabs as needed with no fixed limit; use the four-dot menu to close the current tab or other tabs. Closing the tab the AI is actively operating interrupts the current task. These are browser tabs inside the chat rather than separate standalone app windows.
To conserve memory, across all chats at most 3 idle tabs that are neither visible on screen nor used by an active task are kept alive, and older idle tabs hibernate automatically; when device memory runs low, all idle tabs are released. Hibernated tabs remain in the tab list and reload their original URL when you view them again or when the AI needs to interact with them, though unsaved form input and scroll position are not preserved. Tabs actively used by an ongoing AI task (including while you have taken over or while waiting for your reply) will not hibernate.
Page compatibility and reading long pages#
When a webpage responds slowly, a single-step timeout does not automatically pause the entire turn. The AI can wait, inspect tabs and page state, and proceed; when the result of a click or submission is uncertain, it verifies first to avoid duplicate submissions. Taking over or stopping generation cancels pending waits—even if the element becomes clickable later, a canceled click will not be replayed.
Page version in the browser's four-dot menu switches between Auto, Mobile, and Desktop for the current tab, reloads it, and stores the selection as the default for new tabs; it cannot be switched while the AI is actively operating. You can also ask the AI to switch the current tab's desktop/mobile User-Agent (UA), go back or forward, refresh, stop loading, wait for page content to appear, or read long body text in segments. UA is a website compatibility setting rather than complete phone or desktop emulation. Switching UA reloads the page, so handle any unsaved form drafts first. Reading page text does not bypass website logins or access restrictions. While the AI is browsing, page navigations remain inside the in-app browser and will not launch installed external apps on your phone; when you browse manually, system default behavior applies.
Taking over manually#
At the top of the browser, the left button is Back to chat, and the right button lets you take over the webpage, continue the task, or answer the current question; the input area expands only when needed so it does not occupy webpage space during normal viewing.
Only one side controls the page at a time: tap AI in control at the top to switch to manual control, wait for the handoff to finish, and then interact with the real webpage directly; when done, tap Keep running to hand control back to the AI. To add more instructions, choose Additional instructions from the four-dot menu. When you open the browser manually with no active task yet, tap Let AI operate at the top to enter your first task—the message is added to the current chat. You can collapse the input area at any time and unsent drafts are kept. When waiting on a login, CAPTCHA, or other question, tap Answer & continue to answer the original question directly inside the webpage without returning to chat; skipping the question will not resume the task. The Take over entry on the chat preview card remains available as well. Once a task finishes, you can browse the webpage freely, and new browser tasks start automatically—you do not need to release control first, nor confirm routine navigation, searches, or resource downloads one by one.
Handling logins, QR codes, and CAPTCHAs#
Complete these steps directly on the real webpage—you never need to paste account names or passwords into chat. When Ask User is enabled for the assistant, you can still open the current chat's Browser from the chat toolbar while the model waits for your reply. After completing the step on the webpage, tap Answer & continue, or go back to chat and reply "Done" on the original question card. The AI re-examines the page and resumes the original task. Both places answer the same question. Skipping or canceling the question does not automatically continue the task. If Ask User is not enabled, tap Keep running at the top or send instructions from Additional instructions in the four-dot menu.
Saving images and files#
Simply say "Save this image to the current chat's workspace," and the AI will try to save the original accessible resource from the webpage. On success, a file card appears in chat so you can view and export it from this conversation's workspace. What gets saved is the underlying web resource, not a webpage screenshot; if a site only provides a thumbnail, the saved file may still be a thumbnail. For small raster images, open the native image preview and tap Enhance (super resolution)—see "How do I enhance an image in preview?" for details. Account permissions, hotlink protection, or site restrictions may still cause downloads to fail.
Switching chats, background execution, and site data#
When you switch to another chat or send the app to the background, running tasks keep trying to execute and you can return to the chat to check progress; however, system battery saving, process reclamation, or network interruptions can still affect tasks, and indefinite background execution is not guaranteed. After exiting or restarting the app, current tabs are not restored automatically.
Cookies, login status, and site storage stay on your device according to each website's rules—closing a tab or deleting a chat does not sign you out of websites. There is currently no per-chat account isolation, multi-account profile switcher, or per-site clearing entry; sign out directly inside the website when needed. This browser is not enabled in Incognito Chat.
Opening local HTML files#
With Web actions enabled, you can ask the AI to open HTML files from the current session's workspace or sent attachments—for example, /workspace/outputs/site/index.html. Linked CSS, JavaScript, images, and JSON files must retain their relative directory structure; for multi-file pages, import them into the workspace first. The AI can continue to read, click, type, and refresh; refreshing after editing files loads the updated content.
This capability is intended for static files in the current session—it does not provide a backend server and does not permit access to arbitrary device paths outside the workspace. It is separate from the inline HTML code preview inside messages and follows the same Pro and API 23 requirements as Web actions.