页面简介
Let local models see your screen and use the mouse and keyboard in any app with Unsloth
正文摘录
Computer use lets a model see this computer's screen and control its mouse and keyboard in any app, the same way Browser Use drives the browser panel. It works in Unsloth Desktop on macOS, Windows and Linux, with local vision models (GGUF, safetensors, MLX) and with connected API providers.In the example to the right, a local Qwen3.8-27B reads six receipt photos, builds a spreadsheet with a total, turns a company template into a three-slide summary, and flags a receipt photographed twice and one with no date.Unsloth asks before a chat's first action, before each new app, and before anything risky. You can stop the model at any time by pressing Stop or moving the pointer into a corner of the screen.Quickstart1Download UnslothInstall the Unsloth Desktop app for macOS, Windows or Linux.Download UnslothOr install Unsloth natively:Native installDockerHomebrewWinGetMacOS, Linux, WSL:AskCopycurl -fsSL https://unsloth.ai/install.sh | shWindows:AskCopyirm https://unsloth.ai/install.ps1 | iexThe Unsloth Docker image unsloth/unsloth is available on Docker. Read guide.Install Unsloth Desktop:AskCopybrew install --cask unslothUpdate Unsloth Desktop:AskCopybrew upgrade --cask unslothInstall Unsloth Desktop:AskCopywinget install --id UnslothAI.Unsloth -eUpdate Unsloth Desktop:AskCopywinget upgrade --id UnslothAI.Unsloth -eInstall it directly on the computer you want the model to use. The Docker image and Unsloth inside WSL cannot see or control your desktop: Docker has no access to it, and WSL only sees its own Linux windows, not Windows.2Turn on computer useOpen Settings and select Computer use. Switch on Computer use and confirm. On macOS, allow Screen & System Audio Recording and Accessibility with the buttons on the same page, then restart Unsloth.Computer use is only offered when Unsloth serves the computer it runs on: a local launch, not a network bind, a Cloudflare link, Remote Access or a hosted notebook.3Choose a vision modelComputer use needs a model that can see images and call tools. These are the ones we ran on real desktop tasks:ModelNotesQwen3.8-27B-GGUF (UD-Q4_K_XL)Best in our tests: finished the receipts and GIMP tasks on its own. About 19 GB with its vision filegemma-4-26B-A4B-it-GGUFFast, and clicked the right button in every pointing test, but in both receipts runs it kept reopening the photos and never reached the spreadsheetQwen3.6-35B-A3B-GGUFFast mixture of experts; lost track of the receipts task in our testsSmall models such as gemma-4-E4B could not point at buttons at all.Unsloth knows how each model points: Qwen3-VL, Qwen3.5 and later, Gemma 4, UI-TARS and Gemini answer on a 0 to 1000 grid, others in screenshot pixels. If clicks land in the wrong place with another model, change How the model points in Settings > Computer use.4Allow long tasksA real task takes 100 to 200 actions, and a chat stops after 25 tool calls by default. In the chat settings panel, drag Max Tool Calls Per Message to Max.5Start a taskOpen the + menu beside the chat input and enable Computer use. A Computer pill appears in the composer. Then describe the task, as in the example below.Approvals and safetyControlling the desktop is outside every sandbox, so computer use asks first:The first action in each chat asks, in every permission mode except Full access. The go-ahead lapses after 30 idle minutes.Each new app asks the first time a chat clicks or types in it. Allow covers that app for the chat; Always allow <app> adds it to the list in Settings.Risky steps always ask, even in Approve for me: terminals, password managers, system tools, opening one of them, and shortcuts that close or delete.Blocked apps (Settings > Computer use > Blocked apps) are never clicked, typed into or opened, in any chat or permission mode.Never done: keys that lock the screen or end the session, input into an operating system security prompt, and input into Unsloth's own window.From the receipts run: the file manager had not been used in this chat yet, so Unsloth asked firstTo take back control, press Stop in the chat, switch computer use off, or move the pointer into any corner of the screen. A corner stop holds until you answer the chat's next question or select Allow again in Settings.Each tool card shows the steps the model asked for and the screenshot it got back, so you can see exactly what it saw.Example: an expense report from receipt photosSix receipt photos are in ~/Documents/receipts, and a company slide template is in ~/Documents. One receipt was photographed twice and one has no date. No API reads a photo of a receipt, so this is work for computer use: the model looks at each picture, then fills in LibreOffice Calc and LibreOffice Impress.Qwen3.8-27B read every receipt correctly, including the missing date, and flagged both problems on its own:The model's answer at the end of the runIt built the spreadsheet with a SUM total and a chart of the totals:The sheet and chart it made in LibreOffice Calcand turned the company template into three slides, flagging the duplicate and the missing date:The exported deckWe ran this task six times with Qwen3.8-27B on one A100, at about 130 tokens a second. Two runs got everything right, in 22 and 30 minutes; one of them even noted that the duplicate overstates the total by $585.08. Two misread one amount, one stopped before making the deck, and one charted the Date column. That last one used an earlier prompt: in the three runs with the prompt above, which names the columns, the chart was always right.Check the result yourself, as you would a colleague's: a misread amount or text clipped at the edge of a slide is easy to miss.Example: a captioned image in GIMPA shorter task in an app with its own menus, dialogs and tools. With GIMP already open, the model scales a photo, adds a caption and exports it:Qwen3.8-27B (UD-Q4_K_XL) in GIMP: open, scale, set the text color, type the caption and export, 7 minutes shown 8x fasterThe finished image in GIMP, scaled to 1024 by 576 with the caption on its own text layerQwen3.8-27B did this right in both of our runs, in 7 and 11 minutes on one RTX PRO 6000: each exported a 1024 by 576 PNG with the white caption at the bottom left.Tips for good resultsName the apps: "open them in Image Viewer" is much more reliable than letting the model find an app.Name exact columns, files and places: "select the Merchant and Total columns", "save it as ~/Desktop/expenses.ods".Say what done looks like: the files to save, and what to tell you at the end.Ask it to check: "check each slide for text that overflows" or "take a screenshot at the end".Give it room: set Max Tool Calls Per Message to Max. A task like this takes 10 to 25 minutes on one GPU.Prepare the screen: open the files or folder yourself and close what the task does not need. Use a modest resolution on very large displays.Watch the first minutes: if the model heads for a terminal or the browser's developer tools to script its way around the screen, stop it and say "use only the app's own menus and buttons".TroubleshootingComputer use is unavailableCheck Settings > Computer use for the reason. It needs a vision model that can call tools, the regular chat view, and Unsloth serving the machine it runs on. Only the installation owner can use it, and not through an API key. On Linux it needs an X11 session; Wayland sessions are not supported yet.Clicks land in the wrong placeChange How the model points in Settings > Computer use between Screenshot pixels and 0 to 1000 grid. With several displays, the model works on the main one unless it asks for a screenshot of another display by number.The model stops after 25 stepsThat is the default tool call limit for one reply. Drag Max Tool Calls Per Message to Max in the chat settings panel, then say "continue".The model cannot open an appAsk for the app by the name the launcher shows, such as "Image Viewer" or "LibreOffice Calc". On Linux, program names such as eog work too.macOS says Unsloth cannot see the screen or use the keyboardOpen System Settings > Privacy & Security and allow Unsloth under Screen & System Audio Recording and Accessibility, then restart Unsloth. The buttons in Settings > Computer use open the right pages.The model stopped and will not continueIf you moved the pointer into a corner, computer use stays stopped for that chat. Answer the chat's next approval, or select Allow again in Settings > Computer use.PreviousBrowser UseNextInference & DeploymentLast updated 16 days agoWas this helpful?