Skip to main content
We make three promises about your code:
  • 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.
The copy is a git worktree, so its branch appears in your repository’s list of branches. When you remove the project from Onlook, that branch stays in your repository.

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.
To stop sharing usage data, session recordings and diagnostic logs, turn off Share analytics in Settings. A build you make from source sends only usage events, and only if you agree. Onlook is open source, so you can check this list in its code. 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
This holds in every permission mode. Each request appears in the chat as a card with Approve and Deny. In the default Auto mode, the agent reads and edits files in the copy without asking, because nothing leaves the copy until you push. To approve every edit too, choose Ask. With ChatGPT, the agent runs with Full access and does these without asking first. Everything it does still happens in the copy, and each step shows in the chat.