> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/knowledge-base/021-can-multiple-authors-edit-the-same-file-at-the-same-time.md).

# Can multiple authors edit the same file at the same time?

Yes! Just like Google Docs, Overleaf supports simultaneous collaborative editing.

Overleaf also borrows some ideas from [version control systems](https://en.wikipedia.org/wiki/Version_control), such as [git](https://git-scm.com/): You can save "labelled versions", which are like commits, to make sure that even if others edit your document, you can always get back to and [compare with](https://www.overleaf.com/blog/154-a-first-look-at-the-new-version-comparison-feature) important versions, like a 'first draft' or a version that was submitted for grading or publication. You can also [access your projects via git](https://www.overleaf.com/blog/195), to make it easier to work offline.

The technology that powers our collaborative editing is called [Operational Transformation](https://en.wikipedia.org/wiki/Operational_transformation), or OT for short. Your edits on Overleaf are sent back to the server every few seconds and saved. If two or more people edit the file at at the same time, the server is able to "rebase" each change on top of the other change, so that all of the clients end up at the same version. To notify clients of changes made by other clients, we use [web sockets](https://en.wikipedia.org/wiki/WebSocket), a technology that allows servers to push updates to connected clients.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/knowledge-base/021-can-multiple-authors-edit-the-same-file-at-the-same-time.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
