# Writ Desktop

> Install the free desktop app, run everything on your own computer, and connect your AI tools to it.

Source: https://usewrit.app/docs/desktop/

Writ Desktop is the whole of Writ in an app on your computer. Browsers run on your machine, over your
own internet connection, with the sign-ins you already have. Everything it does on your computer is
free, with or without an account.

## Install and first run

-

1. **Download it**

Get Writ Desktop from [usewrit.app/desktop](https://usewrit.app/desktop). It updates itself after that.

| System | Versions | Files |
| --- | --- | --- |
| macOS | 11 or later, Apple silicon and Intel | .dmg |
| Windows | x64 and ARM64 | .exe, .msi |
| Linux | x64 and arm64 | .AppImage, .deb |

-

2. **Choose how to start**

The first screen offers **Create a free account or sign in** and **Continue in local-only mode**. Local-only mode needs no account: you record, run and schedule with your
own AI key, without sync or the marketplace. You can sign in later from **Account**.

-

3. **Follow the setup**

A short setup asks for your language, what brings you to Writ, and where your runs should happen.
It installs the browser Writ uses (**Install Chromium**), offers **Start Writ when I log in**, and lets you **Connect an AI assistant** and **Import your logins**. You can skip any step and change it later in **Settings**.

## What is free and what needs an account

Everything that runs on your computer is free on every plan and never metered: builds, recordings,
runs, Harvest, monitors, automations and schedules. With your own AI key, Scribe and builds by Writ’s
AI are unlimited too.

| Free on your computer, no account | Needs a free Writ account (linked) |
| --- | --- |
| Build APIs with Scribe, record workflows | The marketplace (browse and Rebuild locally) |
| Run, schedule and call your APIs locally | Runs on Writ Cloud, sync and backup to your account |
| Harvest on your computer | Harvest on Writ’s servers |
| Monitors, automations, Slack, Discord and Telegram alerts | Email and SMS alerts |
| Your own AI key, without limits | Writ’s AI through Use the cloud AI gateway (billed in credits) |
| The local REST API and MCP server | Callable from the cloud, so Cloud, your code and your assistant can reach your computer |

Linking Desktop to Writ Cloud is optional. See [Link Desktop to Writ Cloud](https://usewrit.app/docs/uplink).

### Add your own AI key

-

4. **Open AI Provider**

Go to **Settings → AI Provider**.

-

5. **Pick a provider**

Choose one in **Provider**: OpenAI, OpenAI (Responses API), Anthropic (Claude),
Google Gemini, OpenRouter, Ollama (local), or Custom / local (OpenAI-compatible). Set the **Model**, and the **Base URL** for a custom or local server.

-

6. **Paste the key and test it**

Enter the **API key** (Ollama needs none), then click **Test connection** and **Save**.

The key is encrypted on your computer. Requests go straight from your computer to your AI provider,
which bills you directly; Writ charges nothing for them.

## What you can do on your computer

The app has the same doors as Writ Cloud: **Create**, **APIs**, **Monitors**, **Harvest** and **Automations**, with Scribe on **⌘J**. Build an API with Scribe, record a workflow, collect a site, watch a page,
and run any of them on a schedule. Monitors and schedules run while Writ Desktop is running.

### Connect your AI tools

Writ Desktop has its own MCP server, named `writ`. In **MCP & APIs**,
click **Add to {client}** for Claude Code, Claude Desktop, Codex, Cursor,
Windsurf or VS Code. Setup for every client is on [Connect an AI assistant](https://usewrit.app/docs/mcp). Your code can call the same APIs over the [Desktop local API](https://usewrit.app/docs/local-api).

### Import your logins

In **Settings → Import logins**, click **Import from browser**. Writ reads
the sites you are already signed in to in Chrome, Edge or Firefox, up to 50 at a time, and saves them as
personas on this computer. It never reads your saved passwords. From Firefox it brings cookies only,
so some sites may ask you to sign in once.

### When a run needs you

A run that meets a sign-in, a verification code or a CAPTCHA pauses and asks for you: an alert from
your system, and the **Needs you** page in the app. You finish the step in the live
browser and the run goes on. A pause waits 15 minutes by default.

> **limit:** Writ Desktop never solves CAPTCHAs by itself: you solve them. Automatic solving is a Writ Cloud feature, on Pro and up, at 10 credits per CAPTCHA.

### When a site blocks Writ’s servers

Some sites refuse connections from servers. Writ Desktop is the free answer: it reaches the site from
your computer, over your own connection. When Writ Cloud meets such a site, it offers **Do it from your computer with Writ Desktop**, next to upgrading your plan and buying credits.

### Browser extension

The Writ extension for Chrome and Edge lets websites you approve run some of your functions on this
computer. Install it from **Settings → Engine & Data → Browser extension** (**Chrome Web Store**). You choose each site and each function, and you can disconnect a
site in **MCP & APIs → Connected apps**.

## Reach it from other devices

Everything you do on this computer stays free on every plan. Three ways let other machines call the
APIs on it:

| Way in | What it does | Plan |
| --- | --- | --- |
| Your Writ account | A schedule, a published endpoint or an assistant reaches your computer through Writ Cloud, over a connection the app opens outward. No port to open, no public address. See Link Desktop to Writ Cloud. | Every plan |
| LAN mode | The engine listens on your network, so a phone, a server or another computer can call it directly. | Starter and up |
| Public URL | Gives this computer a public https address through Cloudflare Tunnel. | Starter and up |

### Turn on LAN mode

-

7. **Open Network access**

Go to **Settings → Engine & Data → Network access** and turn on **Expose on local network**.

-

8. **Choose how long**

Pick a duration in **Keep it open for**, from 15 minutes to **No time limit**, then click **Expose and restart engine**.

-

9. **Call it with a key**

Other machines use `http://:8131` (`/v1` for REST, `/mcp` for MCP). Every call still needs a local key from **MCP & APIs → API Keys**.

```bash
curl http://192.168.1.20:8131/v1/workflows \
  -H "Authorization: Bearer $WRIT_LOCAL_KEY"
```

```python
import os, requests

res = requests.get(
    "http://192.168.1.20:8131/v1/workflows",
    headers={"Authorization": f"Bearer {os.environ['WRIT_LOCAL_KEY']}"},
)
print(res.json()["data"])
```

```typescript
const res = await fetch("http://192.168.1.20:8131/v1/workflows", {
  headers: { Authorization: `Bearer ${process.env.WRIT_LOCAL_KEY}` },
});
console.log((await res.json()).data);
```

### Start a public URL

In the same section, under **Public URL (Cloudflare Tunnel)**, click **Start public URL**. You get an address like `https://.trycloudflare.com` with `/mcp`, `/v1` and `/v1/hooks/…`. Every call needs a scoped key or
OAuth. The address changes each time you start it, and it closes when Writ quits. It is refused while **Keep everything on this computer** is on.

> **limit:** LAN mode and the public URL need this computer linked to a Writ account on a paid plan (Starter and up). Without it, the app refuses to turn them on and the local API answers 402. If the plan lapses, the engine goes back to your computer only and stops the tunnel; your saved setting comes back with the plan. A Free install that already used LAN mode or the tunnel keeps them for 30 days after the update that introduced this rule.

```json
{
  "error": "Reaching this machine from other devices is on paid plans. On this machine, everything stays free.",
  "code": "plan_required",
  "feature": "remote_access",
  "upgrade_hint": "starter"
}
```

### HTTPS on your computer

Some clients only accept `https`. In **MCP & APIs → Endpoints**, open **Secure connection (HTTPS)** and click **Trust certificate**. The same API
then answers on `https://127.0.0.1:8132`. This stays on your computer and is free.

## Updates, data and privacy

### Updates

Writ Desktop updates itself. In **Settings → Engine & Data → Updates**, click **Check for updates**, or pick the **Update channel**: **Stable**, or **Beta** for new features earlier, with less testing. When an update is ready, click **Restart to update**.

### Keep everything on this computer

In **Settings → General → This machine**, turn on **Keep everything on this computer**. Writ Cloud is then contacted only to sign you in, check your plan and usage,
and download your own cloud items when you ask. The cloud agent, Writ’s AI, usage counts, crawls on
Writ’s servers, the marketplace, cloud alerts, sync and the public URL are off. AI runs on your own key.
The first time you link an account, Writ asks the same question under **Where your data stays**.

### Back up and restore

-

10. **Make a backup**

In **Settings → Engine & Data → Privacy & Data**, under **Back up your data**, type a **Backup passphrase** and click **Export backup**. The file is encrypted with that passphrase.

-

11. **Restore it**

Under **Restore from a backup**, choose the file, enter the same passphrase and click **Restore**.

The same section sets how long run history is kept (**Keep history for (days)**) and
clears it now with **Purge now**.

### Delete all data

Under **Delete all data**, click **Delete all…**, type `DELETE` to
confirm, then click **Delete everything**.

> **careful:** Deleting cannot be undone. Make a backup first if you might need this data. If you also tick Also reset the encryption key, your existing backups become unreadable.

## Next

-
- [Link Desktop to Writ Cloud](https://usewrit.app/docs/uplink): Call the APIs on your computer from Cloud, your code or your assistant.
-
- [Connect an AI assistant](https://usewrit.app/docs/mcp): Add Writ Desktop’s server to Claude, Cursor or VS Code.
-
- [Desktop local API](https://usewrit.app/docs/local-api): The REST endpoints Writ Desktop serves on your machine.
-
- [Cloud or Desktop](https://usewrit.app/docs/where-it-runs): What changes between the two places Writ runs.
