> ## Documentation Index
> Fetch the complete documentation index at: https://help.milton.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Write together in real time

In a shared project, everyone works on the same files at the same time, like in an online document.

## Who can edit

The owner and editors can create, rename, move and delete files and folders, and type in them. Viewers see every change live but can't edit. See [Roles and permissions](https://help.milton.so/collaboration/roles-and-permissions.md).

## What you see

* **Typing**: other people's changes usually appear in well under a second.
* **Cursors**: each co-author's cursor appears in their colour, with their name while they're typing. Their selections are lightly highlighted.
* **Who's here**: the header of the open file shows the pictures (or initials) of everyone who has it open. In the file tree, a coloured dot marks the files others have open.

Viewers count as present, but their cursor isn't shown. None of this presence information is stored.

## When edits collide

* **Two people typing at once**: both keep their text.
* **A file is deleted while you're typing in it**: the file stays deleted, and Milton keeps your unsent text on your device. Click **Restore** to get it back as a separate file (for example `intro (restored).tex`).
* **A file you have open is deleted**: Milton shows "*name* deleted this file." with **Restore**. Viewers get **Copy text** instead.
* **Two files get the same name**: the second becomes, for example, `intro 2.tex`.
* **A co-author's text never fully arrives** (for example, their app quit before saving it): after about a minute, your editor goes back to the last confirmed version. Milton keeps what you typed, with **Restore**.

## Working offline

You can keep writing offline. Your edits are sent when you're back online. A device that stays away for more than 30 days starts again from the owner's copy.

## The shared PDF

When the owner or an editor compiles the project, the PDF goes to the other members, at most once a minute. Sharing the PDF needs a subscription; a PDF compiled on the free plan stays on that device.

Your own PDF is never replaced: you see a co-author's PDF only until you compile the project yourself. Compiling always happens on your device and works offline.

## The agent in a shared project

When you use the writing agent in a shared project:

* Its suggestions stay on your device until you keep them.
* Once kept, they reach your co-authors within a few seconds, and their editors mark those lines as written by an agent.
* A suggestion on a passage that has changed since is marked out of date and isn't applied.

See [Write with the agent](https://help.milton.so/ai/write-with-the-agent.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.