UI-TARS Desktop
The latest version of UI-TARS Desktop is 0.2.4, released . GUI Agent for computer control using UI-TARS vision-language model.
What's new in UI-TARS Desktop 0.2.4
You can also experience the remote versions on Volcano Engine: Computer Operator and Browser Operator.
What's Changed
- feat(ui-tars): sunset UI-TARS-desktop remote operator
- chore(ui-tars): update release version
Full Changelog: https://github.com/bytedance/UI-TARS-desktop/compare/v0.2.3...v0.2.4
Source: github.com
How to update UI-TARS Desktop on your Mac
- In UI-TARS Desktop. UI-TARS Desktop updates itself while it's open.
- With Homebrew. If you installed UI-TARS Desktop with Homebrew, run:
brew upgrade --cask ui-tars - With Fresh. Fresh lives in your menu bar, spots when UI-TARS Desktop and your other apps are out of date, and updates them all in one click. It launches soon.
UI-TARS Desktop version history
0.3.1
This release closes several security issues in the Agent TARS CLI server (@agent-tars/cli, @tarko/agent-server). It changes how the server can be reached, so please read Upgrading from 0.3.0 before you update.
Upgrading from 0.3.0
If you run the CLI on your own machine and open it at http://localhost, nothing changes.
Otherwise:
- The server only listens on 127.0.0.1 by default. It used to listen on all network interfaces. To reach it from another machine or from outside a container, pass --host, e.g. --host 0.0.0.0.
- A non-loopback --host requires an access token. Set one with --auth-token or TARKOAUTHTOKEN (at least 16 characters). If you set none, a random token is generated on every start and printed with a ready-to-open ?token= link, so old links stop working after a restart. Set a fixed token if you need stable links.
- Domains, reverse proxies and port forwarding need TARKOALLOWEDHOSTS. Requests whose Host header is not a loopback name, an IP address or the configured --host are rejected with 403 Invalid Host header. Add your hostname, comma-separated: TARKOALLOWEDHOSTS=agent.example.com.
- A Web UI served from a non-localhost origin needs TARKOALLOWEDORIGINS. Otherwise creating a session fails with 403 Origin not allowed. Use the full origin: TARKOALLOWEDORIGINS=https://agent.example.com.
- agentOptions from requests and URLs only accepts agentMode. This applies to /creating?agentOptions=..., welcome cards and POST /api/v1/sessions/create. Any other key (mcpServers, model, aioSandbox, ...) is rejected with 400. Configure those on the server instead.
- Direct API calls need a CSRF token. Fetch one from GET /api/v1/csrf-token and send it as the x-csrf-token header on POST requests. When the server requires an access token, also send Authorization: Bearer ‹token>.
Example for a remote server behind a domain:
TARKOAUTHTOKEN=‹a long random string> \ TARKOALLOWEDHOSTS=agent.example.com \ TARKOALLOWEDORIGINS=https://agent.example.com \ agent-tars --host 0.0.0.0 --port 8888
See the CLI docs for details.
Security
- Block request-body injection into agent constructor options; the server now binds to 127.0.0.1 by default (#1939)
- Require an access token once the server leaves loopback (#2026)
- Validate the Host header to prevent DNS rebinding (#1975)
- Add CSRF protection, a CORS allowlist and security headers (#1853)
- Stop HTML previews from escaping their iframe sandbox (#1938)
Bug Fixes
- Answer a disallowed origin with 403 instead of 500 (#2044)
- Repair unterminated strings in truncated tool call JSON (#1836)
- Handle unknown model providers by defaulting to OpenAI-compatible (#1823)
- Support streaming usage on LLM responses (#1737)
Features
- Add embed-frame support for nav items (#1761)
- Optimize the session status action design (#1766)
- Set the remote browser viewport to the default viewport (#1748)
- Add @gui-agent/cli, a CLI for GUI Agent automation (#1741)
Documentation
- Document remote access settings for the agent server (#2043)
Full Changelog: v0.3.0...v0.3.1
Source: github.com
- 0.2.4
Details
- Latest version
- 0.2.4
- Released
- Last checked
- Website
- github.com
- Homebrew cask
- ui-tars