- Onlook works on its own copy of your code, on your Mac and on its own branch. Your original files stay as you left them.
- Nothing reaches your team’s repository until you send it.
- Your project files never touch Onlook’s servers. Claude or ChatGPT sees only the context it needs, through your own subscription.
Where Onlook works on your code
When you add a codebase, Onlook makes a separate copy of it in its own folder on your Mac, by default under~/Library/Application Support/Onlook Studio/workspaces. It also makes a new branch for that copy, based on your main branch. If your folder isn’t a git repository yet, Onlook sets up git in its copy only.
- Onlook never edits, moves or commits the files in the folder you chose.
- The agent works only in the copy. Onlook refuses to run it anywhere else.
- If Onlook can’t make a copy, it stops. It never falls back to working in your folder.
What leaves your Mac
Everything that leaves your Mac is on this list:- The parts of your code the agent needs to make a change go to Claude or ChatGPT, under your own subscription. That’s the same as using them directly.
- Your pushes and pull requests go to GitHub. With Claude, each one waits for your approval.
- Usage events, such as which features you use, go to Onlook. After you sign in, they’re linked to your email address. They never include your code, file paths, chat messages, or repository or branch names.
- Onlook sends diagnostic logs and error reports, so we can fix what breaks. They never include code, chat messages or file paths either.
- Onlook sends session recordings of its own window, so we can see where the app gets in your way. Every piece of text and everything you type is masked, and images are left out.
- When you send a report with Report an issue or Request a feature, it includes your message, any image you add, your Onlook version, an anonymous ID, and your email address if you’re signed in.
- Your email address, which Onlook receives when you sign in.
events.ts lists every usage event and its properties.
Your environment files
Most apps need a.env file to run, so Onlook copies the .env files your repository already ignores into its copy. Git keeps ignoring them there, so they stay out of commits.
If your folder wasn’t a git repository, Onlook also tells git in its copy to ignore .env files, keys and build output.
What needs your approval
With Claude, the agent always asks before it:- pushes to GitHub
- creates or merges a pull request
- force-pushes, deletes a branch or throws away work with a hard reset