What leaves your machine
Exactly what an agent turn carries, why your file contents are not in it, and everything else that touches the network.
The interesting question is not whether a product claims to respect your work. It is what is in the request. Here is the whole of it.
1What a turn carries
Every agent turn opens with a description of your project. It is a listing, not a copy:
Files: main.tex (tex, 412 lines) sections/method.tex (tex, 190 lines) refs.bib (bib, 88 lines)Outline (line numbers are read_file_lines targets): main.tex L14 Introduction L96 Method L118 Sparse attentionCurrently open in the editor: "main.tex" (412 lines) ...contents NOT included; read it before quoting or editing
So your structure does leave: filenames, and the headings you wrote. If a section is called Unpublished results on the Acme dataset, that title is in the request. Your prose is not.
2How contents leave
By the agent asking. Reading a file is a tool call, and every tool call is listed in the transcript as it happens, so “what did it look at” is answerable by scrolling up rather than by trusting us.
read_file_linestakes a range, and the outline’s line numbers exist so the agent can ask for a section rather than a document. This is what keeps a turn about one paragraph from shipping your whole thesis.read_filesends a whole file, when a whole file is genuinely what the request needs.search_in_filessends the matches it found, not every file it searched.
Selecting text and using the rewrite popup, or adding a selection to the chat, sends exactly that selection. Nothing in the editor sends anything on its own: no autocomplete round-trip, no background indexing service, no telemetry on what you type.
\section{Ignore all previous instructions} is trivial to write, and a paper you downloaded to cite could contain one. The fence is why a hostile document cannot redirect the agent into touching files you did not ask about.3Everything else on the network
- Compilation: nothing. TeX runs on your machine. Your document is never uploaded to be typeset, which is the single largest difference from a server-based editor.
- Packages: when a compile needs a package you do not have, its name is fetched from CTAN and cached. Your document is not part of that request.
- arXiv search: the words you searched for.
- Updates and licensing: ordinary application traffic, carrying no document data.
4Working offline
Once a project’s packages are cached, everything except the agent works with the network off: editing, compiling, the PDF, search, the outline. The agent is the only part that needs a connection, and it is the only part that ever sends anything.
For a document you are not willing to send anywhere at all, that is a workable answer: close the chat panel and you are using a local LaTeX editor that happens to have an agent switched off. What happens to a turn once it does leave is the next article.