Gentle Shell Browser: Stay in Control of AI Browser Actions

Gentle Shell Browser is an open source Chrome extension I built by directing AI coding agents. It lets a coding agent in Gentle Shell use the Chrome you already have open, inside its own tab group, while you watch and approve each step. I defined its safety rules and reviewed every change.

The problem

I needed a tool that let my coding agent use my own browser in real time through Gentle Shell, with all its controls and my own settings, so I could see everything it did there. So I built it: the agent works in my everyday Chrome, in plain sight, and I can stop it at any moment.

What this demonstrates

Gentle Shell Browser is my personal open source project. I defined the safety rules, directed AI coding agents step by step with tests first, and reviewed every change.

  • Safety rules you can see: each session can only read and act on the tabs in its own group, and payments, deletions and password changes are their own kind of step.
  • Permission design: three modes (always ask, remember your decisions per site, or never ask) that the agent cannot change for you.
  • Interface work inside any page: a visible cursor, a label for each step and a STOP button that ends the agent run from the page or the popup.
  • Local by design: everything runs on your own computer, with no telemetry; only the AI model you use sees the pages the agent reads.

The agent never decides what is safe. The rules live in the extension, where the agent cannot change them.

Stack the AI agents used: TypeScript, Chrome Extensions, WebSocket, Node.js

How it works

It has two parts: a package that adds browser tools to Gentle Shell, and a Chrome extension that carries out each step. A request travels through four stages:

  1. Coding agent asks for a browser step through the tools Gentle Shell adds
  2. Local bridge each session serves its own authenticated connection on your computer
  3. Chrome extension checks the tab group and the permission mode before every step
  4. Your tab a visible cursor glides to the target, then the page receives real input

Safety by design

Letting an agent use your real browser means it can reach your accounts. These limits hold in every mode:

  • Its own tab group. Each session can only read and act on the tabs in its own group. Drag a tab out and access ends at once.
  • Three permission modes. Always ask, remember your decisions per site and kind of step, or never ask.
  • Risky steps detected. Payments, deletions and password changes are their own kind of step, so allowing clicks on a site never allows a payment there.
  • A visible cursor and a STOP button. A frame, a cursor and a label show each step, and STOP ends the agent run from the page or the popup.
  • Your mouse stays yours. The agent works in background tabs, so you keep browsing in yours.
  • Allow-listed WhatsApp replies. The watch starts off in every session and wakes the agent only for chats on your allow list; other chats are never touched.
  • Credential files refused. SSH keys, .env files and saved browser logins are always refused, and every upload asks for your approval unless it goes to an allow-listed chat.

Privacy

Everything runs on your own computer. Gentle Shell and Chrome talk over a local connection that only they can use, and the project has no telemetry and sends nothing to any server. The one thing to know: the AI model you use in Gentle Shell sees the text of the pages the agent reads, as with any AI agent.

Every published file is checked automatically for personal data, and dependency alerts are on.

What I built

  • Browser tools for the agent

    Read a tab, take a screenshot, click, type, press keys, scroll, upload files, navigate, go back, forward or reload, and open pages in its own tab group

  • Authenticated local connection

    Both sides prove who they are before any step

  • Several sessions at once

    Each one connects on its own, with its own group

  • Automated testing

    500+ automated tests, plus automatic updates of the extension

Known limitations

Limits to know before you try it:

  • Iframes are not inspected.
  • Some sites detect the debugger.
  • Chrome shows its "started debugging this browser" bar while the agent acts.

Gentle Shell Browser Results and Source Code

Gentle Shell Browser works end to end: an agent opens a page, reads it and acts on it in your own Chrome while you watch and approve each step. It is free and open source under the MIT license.

Gentle Shell Browser runs on Linux, macOS or Windows (including WSL2) with Google Chrome 120 or newer and Gentle Shell (opens in a new tab), a separate terminal workspace for AI coding agents. Linux was tested end to end; macOS and Windows have automated tests only so far. The README has the exact install steps (opens in a new tab).

Updated

  1. Choose your permission mode

    Always ask, remember your decisions, or never ask.

  2. Save decisions by site

    Review the saved allow and deny decisions for each kind of step.

  3. Watch the agent work

    The frame, cursor and action label show what is happening in your tab.

  4. Review an approval request

    In Always ask mode, the agent waits for your decision before acting.

Hiring for a software role? Tell me about it.

Contact me

More projects: Reficera · Web Optima Studio

Let’s Connect

If my projects and skills fit your team, tell me about the role, the team and the skills you need. One short message through this form is enough to start, or you can connect with me on LinkedIn.

Verification starts when you use the form.

Connect on LinkedIn (opens in a new tab)