Embedded browser
The embedded browser pane lets you point an isolated Chromium webview at any URL inside the task detail window, then mark up the rendered page and submit it to the active agent as a multi-modal prompt. Useful for visual regression work, “make this match the design” loops, and DOM-level bug hunting where a screenshot beats a paragraph of description. Since v0.53.0 every Command Terminal has the same pane beside it. Since v0.56.0 the app’s own labels call it the Kangentic browser: its switch in Settings, its hotkeys, and the terminal’s link tip.
Opening the Browser pane
Section titled “Opening the Browser pane”- Open a task with an active agent session.
- Click the Browser pill in the task detail window’s header (mutually exclusive with Changes).
- The first time you open it for a task, an empty-state prompt asks for a URL. Pick a quick-pick (
localhost:3000,5173,4321,8080) or type one.
A link can open the pane too. Ctrl+Click / Cmd+Click on a link in the task’s terminal, on its PR pill, or on one of its artifacts loads it here and shows the pane if it is hidden, while a plain click opens your default browser. Since v0.57.0 Click opens links in (Settings > Behavior > Links) swaps the two, so a plain click opens the Kangentic browser. A PR pill or an artifact opens here only while the task’s agent is running and the Kangentic browser is on for the project. Since v0.62.0 a pane you popped out into a window of its own takes these links too, a terminal’s included, and that window comes to the front. Before, a popped-out pane took none of them. Otherwise both clicks open the default browser, as they do in a terminal with no pane beside it (Links).
The URL bar supports back, forward, reload, pin to project default, and pin to task override. Per-task URLs persist in .kangentic/browser-urls.json. The project default lives in AppConfig.browser.defaultUrl. Resolution rule: task override > project default > empty state.
Every successful navigation quietly updates that task’s own URL, so reopening a task lands you where you left it. The project default is never set automatically. It changes only when you ask for it, through Save as project default in the pane or Settings > Browser > Default URL. Tasks lease their own dev-server ports, so inheriting a sibling task’s URL would be a collision rather than a convenience.
Since v0.30.0 the Browser pane is also a detachable surface: a pop-out button moves it into its own OS-level window (one per task), which remembers its size, position, and monitor between openings. The same engine detaches the Changes panel, a single file’s diff, the Usage Stats, and the Agent Monitor. An agent can pop the pane out and dock it again too, to check a layout at real screen pixels; see The viewport an agent renders at. A size an agent applies is never saved as your window size, since those bounds are shared by every task’s pop-out.
Hiding is not closing
Section titled “Hiding is not closing”The pane has two verbs, and the difference is what happens to the page.
The Browser pill only hides. The page stays loaded, so you get it back exactly as you left it - scroll position, form state, and whatever the app kept in memory - and an agent driving the pane is never interrupted by you reclaiming the space. Opening the Changes panel over it, and closing the task’s window while its agent is still running, both keep it the same way.
Close browser is the discard. It ends the page and frees its renderer process, which is real memory: every loaded page is a full Chromium renderer, and a heavy app holds more. Reach it in two places:
- the red-tinted Close browser button at the far left of the pane’s navigation bar, ahead of Back
- the Close browser item in the task menu, which is how you close a pane you cannot see because it is hidden
Either way, the task’s URL is remembered, so Show reopens the same address on a fresh page. What does not survive is per-page state: anything the site kept in sessionStorage or in memory is gone, the way it would be if you had closed a browser tab. Cookies and localStorage persist in the task’s cookie jar.
Two indicators say a page is loaded and costing memory, in any state - showing, hidden, or with its window closed:
- a pulsing green play badge on the Browser pill in the task detail header, a green dot before v0.63.0
- a green globe at the right end of the task card’s title row on the board
Neither says whether an agent is driving the page right now; that is the pane’s own accent border and “Agent typing here” marker. Both turn red while the page has stopped.
A page that stops
Section titled “A page that stops”A page stops when its renderer process runs out of memory or crashes. The pane then covers it with This page stopped, the reason (It ran out of memory. or It crashed.), and a Reload button. Select element and Draw go under the cover with the page, since they have nothing to act on, while the toolbar and its own reload stay live. Before v0.65.0 the pane kept the page’s last look and stopped answering, and an agent’s next call waited out its timeout.
Nobody sees the cover while the pane is hidden or its window is closed, which is where an agent’s own-work page usually runs, so the marks that say a page is loaded say this too. The Browser pill’s badge becomes a red cross that does not pulse, and the pill’s tooltip adds Page crashed or Page ran out of memory. The card’s globe turns red, and its tooltip names the reason and says to open the task to reload it. The Agent Monitor card’s globe does the same. A page that loads again clears every mark, whoever reloaded it.
An agent that drives a stopped page is refused at once with page-crashed, which names the reason. A navigate starts the page again first and then loads its URL, so the agent finds its own way back (Tool reference). The surface keeps its handle and its cookie jar through the restart.
Annotations
Section titled “Annotations”To point the agent at several things at once, annotate the page. A small bar floats over it with Select element, Draw, and Undo, a numbered badge marks each element you select and each drawing you make, and under the page a row for each annotation holds its note, above Send.
Drag the bar by its grip to any corner, and Kangentic keeps that corner for the project. A mode stays on until you press Escape or click its button again, and only one mode is on at a time.
An annotation is one note and everything it points at: any number of selected elements and drawings. In Select element mode a highlight tracks the element under the pointer, and a click adds that element to the active annotation. In Draw mode each stroke joins it. A numbered badge marks every item, and the badges are drawn into the page, so they scroll with it. Selecting an element the annotation already holds takes it out again. Strokes that touch, such as an arrow’s shaft and head, make one drawing with one badge.
The first mark turns the note field into a list of annotations, and anything you had typed becomes the first one’s note. Write or dictate the note for each annotation, then press Enter or click New annotation to start the next. Click a row, or a badge on the page, to go back to its annotation. A row’s summary opens what it holds, so one element or drawing can go while the rest stay. One send carries up to 20 annotations.
| Action | Key |
|---|---|
| Select element | Ctrl+Shift+C / Cmd+Shift+C, also while a note or the page has focus |
| Draw on the page | Ctrl+Shift+D / Cmd+Shift+D, also while a note or the page has focus |
| End Select element or Draw | Escape |
| Undo the last mark | Ctrl+Z / Cmd+Z in an empty note, or with focus outside the notes |
| Start the next annotation | Enter in a note |
| Send every annotation | Ctrl+Enter / Cmd+Enter in any note |
Before v0.56.0 the pane had two separate modes, Inspect on Ctrl+I / Cmd+I, which picked one element, and Draw on Ctrl+D / Cmd+D. Select element took Chrome DevTools’ key for its element picker.
Since v0.62.0 both keys work while the page itself has focus too, such as right after a click in it. Before, they did nothing there. The pane takes the two keys before the page sees them, so a page loses its own use of them while it has focus: a web terminal that copies on Ctrl+Shift+C / Cmd+Shift+C does not get it. Undo and Send stay with the page, whose text fields use them.
Since the same release neither tool sends the page anything, so a menu or popover the page has open stays open while you select it or its items. Before, turning Select element off sent the page an Escape, which closed the menu. Draw moves focus to the note, so a menu that closes when its window loses focus still closes.
While Draw is on, keyboard focus stays in the note you are writing, so what you type or dictate goes with the marks. Clicking into the terminal still moves focus there.
Annotations are saved per task as you work, so a failed send, a page load, or a restart loses nothing. After a page load each mark is redrawn where its element can still be found, and a row whose element is gone reads Not on page. While an agent drives the pane, the badges hide.
The browser pane has Chrome-style zoom controls. Three ways to use them:
- Toolbar pill - the URL bar has a
-/%/+group next to the Pin button. Click-or+to step zoom; the middle pill shows the current percentage. - Keyboard - Ctrl+= / Cmd+= to zoom in (the plus key works too), Ctrl+- / Cmd+- to zoom out, Ctrl+0 / Cmd+0 to reset to 100%. Shortcuts are gated on the browser pane being hovered or focused, so they don’t fight other dialogs.
- Ctrl+Wheel - scroll the wheel with Ctrl held inside the webview (Ctrl on every platform). The percentage pill follows.
Zoom snaps to a fixed ladder from 25% to 500%, matching Chrome’s rungs.
Each pane keeps its own zoom (since v0.44.0). Chromium’s default stores zoom per site, so zooming one task’s pane used to change every pane, pop-out, and agent surface on the same dev server, and a navigation to another site dropped the zoom while the pill still showed it. Now a zoom stays with the pane that set it, across navigations.
While an agent holds a viewport override on the pane, the zoom pill is replaced by the viewport chip, because the fit that puts the whole layout on screen is set from the requested size and a zoom step would move the viewport out from under the number the chip reports. Reset the override and the pill comes back with your own zoom.
Sending to the agent
Section titled “Sending to the agent”Click Send, press Ctrl+Enter / Cmd+Enter in any note, or press Enter in the note field while nothing is annotated. Kangentic:
- Captures the page, badges included, into a single PNG written to
<projectRoot>/.kangentic/sessions/<sessionId>/captures/capture-<timestamp>.png. - Builds an XML-tagged prompt. With nothing annotated, that is your note, a top-level
Screenshot: @<path>for bare-token @-parsers (Claude Code, Gemini CLI), then a<browser_context>envelope with<url>and any selected text. With annotations, the screenshot comes first, then one<annotations>block numbered to match the badges. Each annotation puts its note ahead of what it points at: every element’s role, accessible name, tag, test id, and position as attributes, its selector, classes, computed styles, ancestors, andouterHTML, and every drawing’s stroke count and box. - Submits it through the paste engine to the active agent’s terminal.
An annotation that has scrolled out of the screenshot, or that you made on another page, goes with a picture taken when you made it, on its own @ line. A send past 6,000 characters moves each element’s styles, ancestors, and HTML into a file beside the screenshot, so the notes, identities, and selectors always stay in the prompt. A send that lands clears the annotations, and a failed one keeps them.
Captures live under the session directory, so they’re cleaned up automatically when the task moves back to To Do or to the backlog, or is deleted. A move to Done suspends the session and keeps them.
Agent-driven automation
Section titled “Agent-driven automation”The pane works in the other direction too: agents can drive it themselves. Every spawned session gets the kangentic_browser_* MCP tools, which control the pane over the Chrome DevTools Protocol: open, close, and list surfaces; navigate and step through history; screenshot, query the DOM, read the console, list network requests, and wait; click, hover, type, press keys, scroll, drag, choose a <select> option, drop files, and answer a JavaScript dialog; set the viewport, pop the pane out, and dock it again; and evaluate JavaScript when that is switched on. An agent can open its own task’s pane rather than asking you to click the Browser pill, and put it away again when it is done. Since v0.56.0 that open never shows, raises, or focuses a window, so an agent cannot put a task over the one you are working in. With the task’s window closed, the pane runs out of sight, still driveable and screenshots included, and opening the task shows the same page. That closes the loop on frontend work without leaving the task: the agent edits code, points the pane at your dev server, and looks at the rendered result - or clicks through the flow it just built to verify it.
An agent targets a surface by handle (sessionId) or by taskId, or omits both, in which case it gets only its own task’s surface. Since v0.38.0 that implicit resolution never falls through to a sibling task’s pane, however many are open in the project: the fall-through was observed navigating another task’s signed-in app to an identity-provider URL, and an agent reaching a page it was never pointed at is a worse outcome than a refusal it can read. A Command Terminal’s agent gets the same rule for its own terminal’s pane since v0.53.0. It used to take whatever single pane was open in the project. Only a client Kangentic did not start, such as one you configured by hand, uses the project-wide rule. Panes are scoped to the agent’s own project: the family takes no project selector at all, so there is no path to another project’s pane.
The whole family is gated by the Browser automation settings tab (named Agent Browser before v0.56.0), a per-machine security policy: a master switch, also named Browser automation (off unregisters the tools entirely), plus sub-gates for interaction (everything that acts on the page, from a click to a viewport change - off means observe-only), navigation (anything that loads or reloads a page, including opening a pane and popping it out), arbitrary JavaScript eval (off by default), and restricting navigation to localhost.
An agent can also see, but not change, whether you can watch it work: every surface reports a visibility of showing, hidden, parked (its task window is closed), or offscreen. All four are driveable - the field says whether the page is on your screen, not whether the agent may act on it.
See the Tool reference for every tool, Settings for the toggles, and the Configuration reference for the browserAutomation.* keys.
The only browser agents drive
Section titled “The only browser agents drive”While Browser automation is on, the pane is the only browser an agent should drive, for any page and any purpose: checking your app, capturing a page for its own work, comparing production with a local build. Before v0.53.0 an agent in a project that shipped a Playwright MCP server drove that server’s Chrome for a whole task, with these tools sitting in its tool list. That browser was not the one on your screen.
Every agent is told so in the MCP server’s instructions. Claude Code and, since v0.54.0, Factory Droid get more, because their hooks can enforce it:
- The same rule goes into the system prompt, and Claude Code starts with
--no-chrome. - A hook denies a call to another browser server, with a reason that points the agent at
kangentic_browser_open_pane. Playwright, Puppeteer, Chrome DevTools, Browser MCP, and Claude in Chrome are all covered. A server is recognized by the package it runs, whatever you named it. Droid’s half reads the servers in~/.factory/mcp.jsonand the project’s.factory/mcp.json, and is built from Factory’s docs rather than a run against its CLI.
The hook reads the switch on every call, so turning Browser automation off lets a running session use the other browser on its next call, with no restart. There is no allow list. Running a project’s own test suite, such as npx playwright test, is not driving a browser and is never blocked.
Large output was the usual reason an agent reached for another browser. The screenshot, element screenshot, DOM query, and eval tools now take saveToFile, which writes the capture to a gitignored .kangentic/ folder in the agent’s working directory and returns the path instead of filling its context. The DOM query is the one for a page’s HTML, since it needs no eval permission. Since v0.61.0 an inline screenshot also gets a copy in that folder, on a project on this computer, so an agent publishing it copies a file inside its own folder and meets no permission prompt. See the Tool reference.
The viewport an agent renders at
Section titled “The viewport an agent renders at”A docked pane is only as wide as the task window’s split leaves it, which in practice sits below every desktop breakpoint. An agent that checks a responsive layout there measures the mobile rendering and reports it as the desktop one, so since v0.43.0 it can choose the viewport instead of inheriting one.
Two mechanisms, and the difference that matters is what each costs the page. Set viewport overrides the size the page lays out against, in place: nothing reloads, so a signed-in flow and everything the page holds in memory survive. Pop out moves the pane into its own OS window, which buys real screen pixels and a window you can drag, and reloads the page to get there. Dock puts it back the same way. An agent midway through a flow uses the first; one that wants true 1:1 pixels uses the second.
You can see and undo an override. While one is set, the pane’s toolbar replaces its zoom pill with a viewport chip naming the size the page actually measured, with a reset control beside it, so a page rendering at a width the pane cannot be is never unexplained. Resetting restores your own zoom along with the size. An override otherwise lasts until the agent clears it, its session ends, or the pane closes.
A pane asked for a size larger than it is gets zoomed out to fit, so you see the whole layout rather than its top-left corner. Since v0.61.0 an agent that asks for a width alone gets the height that fills your pane at that width. Before, the fit could leave a wide, short layout as a thin strip across a mostly blank pane. A popped-out window is instead capped by the display it is on, un-maximized first if it has to be, and kept inside that display’s work area. Either way the number the agent gets back is measured from the page rather than echoed from the request.
An agent’s screenshot of a fitted pane shows that whole layout at the pane’s own resolution, not at the size the agent asked for. The limit is Chromium’s. A screenshot of a pane holds no more pixels than the pane has, and before v0.43.1 asking for more came back as the page repeated in tiles. For detail, the agent captures one element at up to 1:1 or pops the pane out. The Tool reference has the numbers.
One surface per task
Section titled “One surface per task”A task has exactly one browser. Normally that is the pane you can see. When no pane can be mounted, the same one surface comes up offscreen instead, and both forms answer to the same tools and the same handle rules.
Offscreen is a fallback rather than a choice, and there is only one thing that causes it: the board window layer renders only the open project’s tasks, so a task in a project you are not looking at has no window to mount a pane in. An agent working there still gets a driveable browser, and its response says the surface is offscreen so it can tell you that nobody is watching. The task card’s globe and the task detail window’s Browser pill light up for it exactly as they do for a pane, and the task menu’s Close browser destroys it, so it is never a browser you cannot see or reach. Open the Browser pill and the pane mounts at that surface’s current URL and the offscreen one goes away; the page reloads in the move, so per-page state is lost while cookies and localStorage survive.
Drives are serialized per surface. Only one caller drives a given browser at a time, and the rest queue. A drive that cannot get its turn within 30 seconds refuses with an actionable error rather than hanging, and every drive records who made it, so contention is visible instead of mysterious.
Until v0.43.0 an agent could also ask for a private lane of its own, with isolated: true on kangentic_browser_open_pane, and that argument is gone. The case for it was concurrency: several agents under one task resolve to the same browser and would otherwise interleave navigations, clicks, and screenshots while each believed it had exclusive control. That concurrency was never real, because parallel callers already queue behind one guest, so four lanes bought a queue with four heads rather than four workers. The cost was real. An offscreen surface wrote nothing the card globe or the Browser pill read, so nothing on screen said it existed, you could not close it, and none of the supervision the pane carries reached it. It was reported from live use: a user closed the Browser pane, and the agent then ran a whole verification in a lane with no browser anywhere on screen.
Serialization fixes interleaving, not intent. It cannot stop one agent navigating away from the page another is midway through verifying, and there is now deliberately no separate surface to take instead. Concurrent workers on one task share the queue and should coordinate rather than assume exclusive control.
The browser survives the window closing
Section titled “The browser survives the window closing”A browser an agent is using belongs to the agent, not to a piece of UI. Closing a task’s detail window used to destroy its browser guest outright, leaving the agent with no pane and no way to reopen one.
Since v0.38.0 that close parks the window instead: when the task has a loaded page and a running agent, closing hides the window in place rather than tearing it down. Reopen the task and it un-parks - the same page, the same tab, nothing reloaded, per-page state intact. The park ends on its own once there is nothing left to keep: the agent’s session stops, or the page goes away. The same holds while a project is backgrounded, so an agent can keep driving its pane without its project being the one on screen.
When a page genuinely does go away - a hard reload, a window that could not be kept, the task leaving the board - and the task still has a live agent session, Kangentic moves it offscreen at the same URL under the same task. The agent that made no assumption about which surface it was on keeps working; one holding the old surface’s handle is told plainly that its tab is gone and which surface replaced it, rather than being silently pointed at a different page. Reopen that task’s Browser pane and the offscreen surface stands down, because the visible pane is the better answer whenever it exists.
Close browser stands nothing back up. You closed the page to get its memory back, so nothing re-spends it behind you; the agent’s next call is told the user closed the browser, and it may open a new one.
A page that closes itself is a closed tab. Since v0.66.0 a page that calls window.close(), as a mail compose window does after Send, closes its pane wherever it shows: the task window, a Command Terminal, or a Browser pop-out. Nothing moves offscreen, and the task forgets the page’s address, because loading it again could rebuild a form the page already sent. The agent’s next call on the old surface is told the page closed itself, and kangentic_browser_open_pane opens a fresh pane. Before, the pane froze on a page that no longer existed, and agents could no longer reach the task’s browser.
The task’s work ending takes the browser with it. Since v0.50.0, moving a task to Done, back to To Do, or to the backlog, or deleting it, closes its popped-out Browser window and destroys any offscreen surface it holds, once the task’s agent has stopped. Pausing the task, or moving it to a column that does not start an agent, keeps both, as it keeps the agent’s dev server.
While an agent drives the pane you are watching
Section titled “While an agent drives the pane you are watching”An agent clicking in the pane makes the browser take focus, which would otherwise blur whatever you were typing into mid-sentence. Since v0.36.0 the pane knows exactly when a drive is happening and gives your focus back when it ends.
The pane says so while it happens: a veil over the page, a breathing accent ring on its row, a label, and the pointer taken so a click of yours cannot race the agent’s next one. Since v0.43.0 all four run on the whole piece of work rather than on each call. Measured against a real 27-call verification, a single call holds the browser for about a quarter of a second and the agent then thinks for one to four seconds before the next, so marking each call flashed the cue 27 times across one job, and the pointer was live through every gap a click could still land in. The cue now opens on the first call and stays up until the agent stops, goes idle, or you press Ctrl+C, with one fade in and one fade out.
Only a tool that the Allow interaction, Allow navigation, or Allow eval switch gates takes the pane, the three under Browser automation in Settings. Since v0.68.0 a tool that only reads leaves the pane to you, so a screenshot, a DOM read, the console, the network list, or a wait puts up no veil, and you keep clicking and typing in the page while it runs. When an agent asks you to sign in walks the flow this allows, and the Tool reference lists which tool is which.
Since v0.61.0 the label says why. An agent gives a reason each time it opens the pane, and while it drives, the label reads “Agent is” and that reason, such as “Agent is measuring canvas board heights”, centred on the page’s bottom edge and clear of the annotation bar. It also says whether the page is for you. A page for you opens beside the terminal. A page for its own work, such as measuring, capturing, or checking its own output, opens behind the terminal, where the Browser pill’s dot lights and you can open it to watch, and a pane you are already looking at stays as it is. Before v0.61.0 every page an agent opened came up beside the terminal.
If you type into the pane while an agent is driving it, your keystrokes are intercepted before the page sees them and routed to the terminal you were typing in, so your sentence continues where you meant it rather than landing in a web form.
The agent’s keystrokes never land in your terminal either. Chromium sends a key to whatever holds keyboard focus, and between an agent’s calls that is usually your terminal, so before v0.43.2 an agent’s Escape meant for a page dialog could interrupt the agent that sent it. Now every key an agent sends is checked first, and one the pane would not receive is refused with an error that tells the agent to pass a selector, which clicks the target and sends the key in the same call.
Mouse back and forward also work over a loaded page. A page consumes the mouse outright, so those presses were once invisible to Kangentic. When push-to-talk dictation is on and bound to that button, a tap navigates and a hold dictates. Every other press navigates. Since v0.62.0 that holds in a popped-out pane and with dictation off too. Before, the buttons navigated only in the main window, and only while dictation was on.
A selector that matches twice is refused
Section titled “A selector that matches twice is refused”Since v0.59.0 an agent’s click, type, hover, drag, or other action on one element refuses a selector that matches more than one visible element, instead of acting on the first. The common case is a dialog over a form, both with a Save button: the old first match was the form’s button, the click landed on the dialog’s backdrop, and the dialog closed. The refusal lists up to five of the matches, each with a selector unique on the page, so the agent’s next call picks the right one. Hidden duplicates do not count, and an agent can pass strict: false to act on the first match as before. The tool reference has the details.
A build error is reported, not screenshotted
Section titled “A build error is reported, not screenshotted”When a screenshot would capture a dev-server build-error overlay, Kangentic returns the error text instead of the picture. Handing an agent a JPEG of a red rectangle is technically correct and practically useless: it spends a turn working out what it is looking at, and when several agents share one dev server the one that sees the overlay is usually not the one who broke the build.
Sign-in, downloads, and data
Section titled “Sign-in, downloads, and data”What the pane does with pop-ups, signed-in sessions, and files, and where that state lives.
Sign-in pop-ups
Section titled “Sign-in pop-ups”A site whose sign-in is a pop-up needs window.open to work, so http(s) pop-ups are allowed, on terms that keep the pane’s hardening intact:
- The pop-up window is chromed, and Kangentic owns its title, forcing it to the live origin. An
httporigin is labeled Not secure, except a loopback one, which Chrome also trusts. Since v0.56.0 a pop-up fromlocalhost,*.localhost, a127.x.x.xaddress, or[::1]drops that label and names the page’s last path segment after the origin, as in127.0.0.1:8765 - poster.png. Every otherhttphost, private network ranges included, keeps the label and shows the origin alone, because a path there could read as a second host. The OS title bar is the only origin indicator such a window has, and a page free to name itself is exactly the phishing affordance to avoid. - It zooms and reloads with the pane’s keys since v0.56.0: Ctrl+Wheel, Ctrl+= / Cmd+=, Ctrl+- / Cmd+-, Ctrl+0 / Cmd+0, and F5. A zoom stays with that pop-up and does not carry into the next one on the same site.
- Its security preferences restate the guest’s hardening in full: no Node integration, context isolation on, sandboxed, web security on.
- It shares the guest’s session, so an OAuth cookie lands in the same per-task jar, and
window.openerandpostMessagekeep working, which nearly every OAuth flow depends on. - The page’s requested size is honored within limits; its requested position is ignored and the window is centered on its parent.
- A pop-up may open one more pop-up under the identical policy, so a chained identity-provider hop stays in one cookie jar. A pane is capped at four live pop-ups, and they close with the pane that opened them.
Some identity providers refuse OAuth from an embedded browser on principle. The refusal is specific to the pop-up path: a third-party site’s “Sign in with Google” button opens an OAuth window that Google has answered with disallowed_useragent. Signing in first-party, by pointing the pane at accounts.google.com itself, completes and leaves you with a real authenticated session - which is what the shared login below carries between tasks. When Kangentic recognizes the OAuth bounce it offers to open that sign-in in your own browser instead. Since v0.43.1 the pane no longer sends the Electron/ token in its user agent, for an unrelated reason covered under Security. Nobody has re-tested Google’s pop-up without that token, so the offer stays in place for whatever Google still refuses.
Signing in once per project
Section titled “Signing in once per project”Per-task cookie jars solve one problem and used to create another. Isolating localhost also isolated everything else, so you re-entered your Google, GitHub, or SSO login once per task, for an account the browser next door was already signed into. Since v0.37.0 the split runs by cookie domain instead of by task.
Identity-provider logins are shared across a project. Non-localhost cookies live in a per-project identity jar. A task’s pane syncs from that jar when it opens, and a sign-in in one task mirrors back out to it, so the next task starts signed in. The sharing survives restarts and reaches tasks you create later.
Dev-server logins stay isolated. Loopback cookies, from localhost, *.localhost, any 127.x.x.x address, and [::1], are never copied in either direction, so two tasks signed into different accounts on their own dev servers behave exactly as before.
A project’s Command Terminals share one jar. They all run at the project root on the same checkout, so they serve one dev server, and signing in to it from one terminal’s pane signs you in from the others. That jar syncs identity-provider logins with the project’s identity jar the same way a task’s does. Tasks keep their own.
Three limits are worth knowing before you lean on it:
- Sharing is add-only. Signing out in one task does not sign you out anywhere else. Clear browser data is the wipe-everywhere path, and it includes the identity jar.
- Two different accounts at the same provider, across tasks, at the same time is unsupported - not “last one wins”. A jar can end up holding a mixed set of both accounts’ cookies, which the provider may answer with a “verify it’s you” challenge. Clear browser data is the way out.
- A fresh task’s pane starts signed in. That is the feature, and it is also the cost: an agent driving a brand-new pane can act with your identity-provider session, the same trade an offscreen surface already makes within a task. For a project where that is not a trade you want, turn the pane off with Kangentic browser in Settings > Browser.
Propagation happens when a pane opens rather than live, so two panes already open side by side will not see each other’s sign-in until one of them is reopened.
When an agent asks you to sign in
Section titled “When an agent asks you to sign in”Some sign-ins an agent cannot finish itself: a password it does not have, a code sent to your phone, a passkey. It can hand that page to you in the pane and wait. Since v0.68.0 the pane stays yours while it waits, so you sign in as you would in any browser.
- The agent opens the page and asks. It opens the pane beside the terminal and asks you, in its terminal, to sign in. Opening loads the page, so the pane stays locked for about 5 seconds after, while you read the request.
- It waits while you sign in. It calls
kangentic_browser_waitfor something only the signed-in page shows, and calls it again after each 45-second limit. A wait puts up no veil, so your clicks and keys reach the page. Once the lock from opening lifts, your first click or key in the page hands passkeys back to the operating system, and a wait does not take them back. - It carries on. When the signed-in page loads, the wait finds what it was looking for and the agent continues. Its next click, navigation, or eval locks the pane again.
Until you say you are done, the agent should make only calls that leave the pane to you. The MCP server’s instructions tell every agent so, and the Tool reference says which calls those are. Before v0.68.0 a wait locked the pane too, so an agent polling for your sign-in held you out of the page for the whole wait.
Passkeys
Section titled “Passkeys”Many sign-in pages ask for a passkey as they load, so a saved one can show in the email field. Electron has no such autofill, and handed that request to the operating system, which opened Windows’ Choose a passkey dialog on every sign-in page you visited. Since v0.69.0 Kangentic holds that request on every Browser surface, yours or an agent’s: the pane, a pop-out, an offscreen surface, a sign-in popup, and the frames inside each. The page is told passkey autofill is not available, and no dialog opens by itself. A passkey you ask for, such as with a page’s “Sign in with a passkey” button, still reaches Windows Hello or your phone.
A request like that over a pane an agent is driving would have nobody there to answer it. Since v0.63.0, while an agent controls a surface, its passkey requests go to an empty virtual authenticator instead. Since v0.68.0 only a tool that acts on the page gives the agent that control, so a screenshot or a wait while you sign in leaves your passkey requests with the operating system. No OS dialog opens, and a passkey sign-in fails at once for the agent, which the browser tools tell it, so it can sign in another way or ask you to.
Only a tool that locks the pane gives the agent that control: the interaction tools (click, hover, type, keypress, scroll, drag, select option, drop files, handle dialog, and set viewport), the navigation tools (open pane, navigate, history, pop out, and dock), and eval. They are the tools the Allow interaction, Allow navigation, and Allow eval switches gate. Since v0.68.0 a screenshot, a DOM read, or a wait does not, so while you sign in, your passkey requests stay with the operating system.
The agent keeps control until you press a mouse button or a key on the page, not until a timer runs out, so a page that sends the agent to a sign-in between two of its calls is covered too. From that press your own passkey requests reach the operating system again, Windows Hello or your phone, and the agent’s next call that locks the pane takes the surface back. A task’s mark follows it from an offscreen surface to the pane and to a pop-out, and ends when the task’s work does.
A pane only you have used never sends its passkey requests to the virtual authenticator. Sign-in pop-ups the pane opens are not covered.
Downloads
Section titled “Downloads”A download started in the pane, by you or by an agent, saves to your OS Downloads folder, dedupes its filename rather than overwriting, shows progress on the host window’s taskbar (an indeterminate bar when the server sends no size, since v0.44.0), and raises a toast when it finishes. Nothing opens a modal save dialog, which would block a pane an agent is mid-way through driving.
Downloads are allowed rather than denied on purpose: the agent driving the pane already has full filesystem write through its own tools, so refusing would only break your use of the pane. The toast is what stops an agent-triggered download from being invisible.
Settings and security
Section titled “Settings and security”The two settings the pane has, the sandbox it runs in, and the platform differences.
Settings
Section titled “Settings”Open Settings > Browser:
| Setting | Default | Description |
|---|---|---|
| Kangentic browser | On | Named Browser pane before v0.56.0. When off, the Browser pill is hidden in the task detail window header, an agent trying to open a pane over MCP is refused rather than opening one you have no pill to close, and a link clicked in a terminal opens in your default browser |
| Default URL | empty | Project-overridable fallback URL when a task has no per-task override |
| Clear browser data | (action) | Destructive button. Clears cookies, localStorage, IndexedDB, cache, and service workers from every browser partition for the project: each task’s own cookie jar, the jar the project’s Command Terminals share, the project’s identity jar, and the legacy shared jar. Per-task and project URL overrides are intentionally left alone - those are workflow state, not browsing identity |
Security
Section titled “Security”The webview runs in its own renderer process with nodeIntegration: false, contextIsolation: true, sandbox: true, and webSecurity: true. Non-http(s): URLs are rewritten to about:blank. http(s) pop-ups are allowed under the hardened policy described in Sign-in pop-ups above; anything else is denied. The host renderer can only reach the webview through the inspector’s executeJavaScript and the navigation/capture APIs.
The pane’s user agent is Chromium’s own string with Kangentic/<version> kept and the Electron/<version> token removed. Some web application firewalls reject that token as a bot and answer a stylesheet or script request with a block page, so before v0.43.1 a site loading its assets from such a host rendered unstyled in the pane while Chrome showed it correctly. The pane, the pop-ups it opens, and its offscreen form all send the shorter string. Nothing is added to pass as Chrome, and Kangentic’s own window keeps the full string.
The offscreen form gets the pane’s permission and download policy too, since v0.44.0. Before that, an offscreen surface opened before any pane had used its task’s cookie jar ran with Chromium’s default, which grants every permission request a page makes. It also renders at the display’s own pixel ratio now, so a page’s devicePixelRatio no longer changes when its surface moves between the pane and its offscreen form.
A page in the pane that crashes is reported as a bare warning, without its address or content: see Privacy and analytics.
Cross-platform notes
Section titled “Cross-platform notes”| Platform | Behavior |
|---|---|
| Windows | WSL-localhost is not reachable from the Windows host. The empty state surfaces a hint with the wsl hostname -I workaround |
| macOS | NativeImage capture includes the alpha channel; composited correctly into the PNG |
| All | Self-signed HTTPS dev servers show the standard Chromium interstitial - accept it once or use plain HTTP |
See also
Section titled “See also”- Task detail window - the window that hosts the pane
- Command Terminal - the same pane beside each terminal
- Tool reference - the
kangentic_browser_*tools agents use to drive the pane - Configuration reference - the
browser.*keys
Kangentic is free and open source. A star helps other people find it.
Star on GitHub