---
agent:
  instructions: "Use this search API to find the latest version, release notes and update steps of any Mac app, and pages on this site, with an app name, bundle ID or natural-language question, instead of crawling pages. Results are returned in Markdown."
  endpoint: "https://tryfresh.app/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# UI-TARS Desktop

The latest version of UI-TARS Desktop is 0.2.4, released August 21, 2025. 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 (notes: [github.com](https://github.com/bytedance/UI-TARS-desktop/releases/tag/v0.2.4)), read 2026-11-25.

## 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's coming soon: https://tryfresh.app/#waitlist

## UI-TARS Desktop version history

### 0.3.1 (Oct 8, 2026)

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 (notes: [github.com](https://github.com/bytedance/UI-TARS-desktop/releases/tag/v0.3.1)), read 2026-11-25.

### 0.2.4 (Aug 21, 2025)

See What's new above.

### 0.0.5 (Dec 9, 2025)

Release 0.0.5

Source: GitHub (notes: [github.com](https://github.com/bytedance/UI-TARS-desktop/releases/tag/pdk%400.0.5)), read 2026-11-25.

## Details

- Latest version: 0.2.4
- Released: Aug 21, 2025
- Last checked: Nov 26, 2026, 21:18 UTC
- Website: https://github.com/bytedance/UI-TARS-desktop
- Homebrew cask: ui-tars
