Let your coding agent read the tabs you choose, safely.
B-Auth shares a signed-in browser tab with your coding agent for as long as you decide. Every page is cleaned on your own device by Gemini Nano: personal data becomes placeholders and secrets never leave the browser.
v0.1.0 · 914 KB · Chrome 138 or later on desktop · Free, 5 cloud credits per account
Cleaned on-device
Shared for 1 h · a#1
Before you start
The demo runs entirely from the downloaded folder. Nothing to install on your computer besides the extension.
Google Chrome 138+Desktop: Windows, macOS, Linux or ChromeOS
Gemini NanoChrome's built-in on-device model. Set it up in five steps.
A Google accountUsed only to sign in and to give you a personal agent link
An MCP-capable agentClaude Code, OpenCode, Cursor or any client with remote MCP
2 min · see B-Auth in action before you install
Install in a few minutes
Chrome loads the demo as an unpacked extension. Keep the folder where it is afterwards; Chrome runs it from there.
Download and unzip
Download bauth-demo.zip and extract it into a folder, for example bauth-demo. The extension files, including manifest.json, sit directly inside it.
Turn on Developer mode
Open chrome://extensions in a new tab and switch on Developer mode in the top-right corner.
Load the folder
Click Load unpacked and select that folder (the one with manifest.json). B-Auth appears in your extension list.
Load the folder exactly as downloaded: Google sign-in is tied to this build's extension ID.
Open the side panel
Pin B-Auth from the puzzle-piece menu in the toolbar, then click its icon. The side panel opens on the right and stays open while you browse.
Set up Gemini Nano
B-Auth cleans every page with Chrome's on-device model. If it is not ready yet, follow Set up Gemini Nano below; the Status tab in B-Auth links here too.
Sign in with Google
Click Sign in with Google and choose your account. New accounts start with 5 cloud credits.
Connect your agent
In the Connect tab, create a token and paste the ready-made config into your agent. The demo guide walks through it.
Set up Gemini Nano
B-Auth runs Chrome's built-in model on your device. These five steps switch it on and download it; you only do this once per Chrome profile.
Turn on On-device AI
Open chrome://settings/ai (Settings › AI in Chrome) and make sure On-device AI is switched on.
Enable the Prompt API
Open chrome://flags , search for Prompt API, set it to Enabled, then click Relaunch.
Open On-Device Internals
Go to chrome://on-device-internals . The first time, Chrome asks you to enable internal debugging pages: follow its prompt and reopen the page.
Request the Prompt API model
Open the Broker State tab, scroll to Use Cases and tick prompt_api. Chrome starts downloading the model.
Watch the download
In the same Broker State tab, Assets shows the model download. It is ready when nano_v3_gpu_component reads Ready (about 4 GB).
Done. Reopen the B-Auth side panel: the Status tab shows Gemini Nano · Ready and the Share tab button becomes available. Chrome only offers the model on devices with enough free disk space and memory.
Questions
Short answers to what usually comes up during setup.
What does my agent actually receive?
Only the cleaned text of pages you visited in a shared tab, while its code is active. Names, emails and phone numbers become placeholders such as {{pii:email_1}}; passwords, keys and tokens are withheld. The Receipt tab shows exactly what was sent.
What are cloud credits used for?
When B-Auth sees a page layout for the first time, it can ask Gemini in the cloud to build a "recipe" for that layout, using the layout only, never the values. That costs 1 credit. Revisits and pages with a known layout are free, and so are agent reads. At 0 credits everything keeps working on-device.
Sign-in fails or closes immediately.
Make sure you loaded the extracted folder without changes, and that third-party sign-in is not blocked for Chrome. Then open the side panel and try again.
My agent says B-Auth is offline.
The agent reaches your browser through B-Auth, so Chrome has to be open with the extension signed in. Open the side panel once; the agent's bauth_status tool reports online=True within a few seconds.
How do I update or remove the demo?
To update, download the zip again, replace the folder and click the reload icon on B-Auth in chrome://extensions. To remove, click Remove there; signing out in the Connect tab clears everything B-Auth stored in your browser.
Installed? See what each screen does.
From signing in to your agent's first read, in seven short steps.
A tour of the B-Auth side panel. Each step shows the real screen and what happens behind it.
STEP 01
Sign in with Google
Open the side panel and choose your Google account. Signing in creates your B-Auth account and gives you a personal link for your agent. Nothing else from your Google account is used.
5 cloud credits to start, shown in the header pill.
Account-scoped data: signing out, or signing in as someone else, clears everything B-Auth stored in this browser.
STEP 02
Connect your agent
The Connect tab has your MCP URL. Click Create token: it is shown once, so copy it right away. B-Auth keeps only a fingerprint of it, and creating a new one switches the old one off.
Run in a terminal
Replace <your token> with the token from the panel; the panel's Copy config button fills it in for you.
Your agent gets three tools: bauth_read, bauth_list and bauth_status.
STEP 03
Share a tab
In the Access tab, tick a tab, turn the knob to choose how long it is shared, and press Share tab. You get a short code such as a#1.
One code per tab. Every page you open in that tab is cleaned on your device and added to the code's pathway.
You set the time. Add 15 minutes any time; Hold to stop ends it at once.
Copy /bauth a#1 puts a ready-to-send command on your clipboard.
STEP 04
Ask your agent
Send the code and your question, for example /bauth a#2 which commits went to production on Aug 17. The agent calls bauth_read, and B-Auth answers from your browser.
Blue: waiting for pages to finish cleaningGreen: your agent is reading
OpenCode reading a shared Vercel deployments page through B-Auth.
STEP 05
Check the receipt
The Receipt tab lists every page in a shared tab, with exactly what your agent receives and how many lines were shared, protected or withheld.
What the agent gets: the cleaned text, placeholders included.
What Gemini gets: the page layout only, after B-Auth's guard checked that no page values are in it.
Recipes: the first time a layout is seen, B-Auth can build a recipe for it in the cloud (1 credit). Later pages with that layout are cleaned faster, for free. Send layout builds one on demand.
STEP 06
Secrets stay in the browser
The Secrets tab is the only place the real values appear. Your agent only ever sees the placeholder, and the same person keeps the same placeholder across every page in a tab, so it can still match and count rows.
Asked for a phone number on a mail page, the agent only sees redaction markers.
STEP 07
Status and credits
The Status tab shows your account, whether Gemini Nano is ready, your agent connection, and how many cloud credits are left. Cloud activity logs every layout that was sent, with its size and the model that answered.
Credits only pay for recipes. Reading, sharing and on-device cleaning are always free.
At 0 credits B-Auth keeps working, cleaning every page with Gemini Nano only.
What leaves your device
B-Auth is built so that each party gets the least it needs.
Your browser
Full page content
Read and cleaned locally by Gemini Nano. Real names, emails and secrets are kept here and shown only in the Secrets tab.
Stays on device
Your agent
Cleaned text only
Relayed through B-Auth when the agent asks, only for active codes. The relay copy is deleted as soon as it is delivered.
On request, while shared
Gemini in the cloud
Page layout only
Tags, headings and value types, never the values. Called through Firebase AI Logic, 1 credit per new layout.
Layout, never values
Ready to try it?
Download the demo build and follow the install steps.