browser_tabs
Browser tabs
List, focus, or close this session's tabs. List gives fresh handles from the live browser; with no tab yet it needs none and names those connected.
tabactiontimeout_ms
org.sylinPublished by sylin.orgv2.0.2Updated Oct 30, 2026
Visible local browser automation in signed-in Chromium, with optional policy and audit.
Ghostlight lets an AI assistant drive a visible tab group in your own signed-in Chromium browser: navigate, read pages, click, fill forms, upload files and…
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Follow the launch instructions in the repository.
[Ghostlight mascot: a small sky-blue pixel-art ghost holding a glowing lantern]
Give your agent a visible place in the browser you already use.
[CI] [npm] [release] [MCP registry]
A launch brief moves from empty form to ready for review, in full view.
Install Ghostlight | See where it fits | Installation guide | Trust Center
Your agent needs a page you are signed in to. The usual answer is a second, empty browser that knows none of your sessions, driven by a model that has to learn Chrome internals to get anything done.
Ghostlight gives it a tab group inside the Chromium you already have open. The work happens in front of you: watch it, pause it, take the wheel, or end the session. The model says what it wants, and Ghostlight does the browser part.
Ask an agent to read a page, complete a form, handle a file, follow a popup, or investigate a failed web workflow. Ghostlight carries the task across tabs and browser changes while keeping the browser work and its controls on your machine.
A light left burning, so the halls stay safe.
The published release is 2.0.2. It is available as the GitHub release
v2.0.2, the npm package
[email protected] and the MCP Registry record org.sylin/ghostlight 2.0.2, with the Chrome Web
Store adapter v2.0.1, all observed on 2026-10-29 and recorded in
docs/public-status.json and the
release custody record.
You need Chrome, Edge, Brave, or Chromium 125+ and an MCP client. The npx installer needs
Node.js; the one-line installers do not. The service you run afterward is native Rust. Agent setup
supports Windows and Linux; macOS is not supported yet.
Install Ghostlight. It registers the MCP clients it finds and opens the Ghostlight window on its setup steps:
Without Node.js, use the one-liner for your system. On Windows, in PowerShell:
On Linux:
Add Ghostlight in Browser from the step the window shows. It lists the browsers on your computer. Add opens the Chrome Web Store listing in that browser, which is also where Edge gets the extension. If the browser already holds the extension, the row reads Open instead.
Ask your agent:
Open sylin.org/ghostlight/demo/desk and ring the bell.
If the install named an agent to restart, restart it first; the install says so. There is no other restart step.
A sky-blue Ghostlight group appears in your browser, the agent rings the bell on a demo page that submits and stores nothing, and the window shows Ready. That one prompt proves the whole connection. For a read-only first task instead, ask:
Open https://example.com/ in a new Ghostlight tab, summarize the page, and tell me which tab you used. Do not click, type, submit, or change the page.
When a session ends, the tabs Ghostlight keeps open leave its group and stay where they are, so no idle group is saved to your bookmarks bar. Next time, the same agent gets its group back and reuses a tab Ghostlight opened for it on that site and left open, so repeated work stops littering your tab strip. It never takes over a tab you opened, or a tab another agent left open. After a browser restart, an agent's remembered tab is used only when the browser still shows that tab at the page Ghostlight last saw there; otherwise the agent opens a fresh tab. The one case it cannot tell apart is a tab of yours that the restarted browser gave the same id and that shows the same address, such as a restored copy of the agent's page.
If a step needs attention, run:
If you installed with npm and ghostlight is not on your PATH, npx -y ghostlight doctor runs the
same check.
doctor checks the client entry, local service, browser connection, and extension, then names the
next action. The installation guide covers targeted clients, source
builds, updates, uninstall, and symptom-led recovery.
Ghostlight is at its best when browser work has a thread to follow:
Use the same browser capability from any agent Ghostlight sets up (the installation guide lists every one), or from another compatible stdio MCP client. Agents receive structured page reads, exact element references, bounded action receipts, and specific recovery guidance. They can ask the policy tool to explain the authority in force at any moment.
Ghostlight works in a dedicated sky-blue tab group inside the browser window you chose. Page scans, clicks, typing, drags, and longer phases share one visual language, so the movement on screen has an explanation.
Pause the workspace, take over for a delicate step, or stop it. Move its tabs where you want them; Ghostlight follows the workspace instead of snapping it back. Ordinary tabs remain outside the agent's owned set: a tab you opened is never reused, regrouped, or navigated, even on the same site, and loading a page yourself in a tab Ghostlight left open takes that tab back.
Closing a tab needs two independent yes votes: the orchestrator's authority, which needs Action on that tab's site, and the browser's own preserve-tabs setting, which ships on. That keeps the evidence of what happened in front of you. Closing a tab yourself always works.
Personal use is complete without a policy manifest. Start with the full browser engine and get
useful work done. When a workflow needs stronger boundaries, grant read, action, write, and
execute by domain. Add sacred domains and structured audit, and preview a policy against your
own history before you apply it, with Check in the window or ghostlight policy simulate, while
the browser experience stays the same. The
governance guide shows the operating model, and the
Trust Center carries the security, privacy, continuity, deployment, and
procurement evidence.
With no policy configured, HTTP(S) browsing is allowed, including localhost, loopback, and link-local destinations. Host restrictions belong to policy. Non-HTTP schemes and stale handles remain restricted. Optional local and managed policy layers can only take capability away.
Credential input requires your explicit instruction. Fill and typing accept a per-request acknowledgement from the agent; without it, the call returns guidance without pausing the session. That acknowledgement cannot override policy or your Pause and End session controls. Repeated policy refusals also leave later permitted work available; a tab that policy refused a landing on stays held until the agent moves it to an allowed page or closes it. Browser messages and animations remain passive, with no buttons or interference with your input; interactive runtime control belongs in the workbench.
The audit record holds identifiers, decisions, and content-minimized measurements: which tool ran,
whether authority allowed it, how long it took, and what it did -- 3 fields, 1,240 words, 1280x720.
The site an action landed on is named, because that answers where your agent went and is already in
your own tab strip. Paths, queries, fragments, page text, field values, screenshots, selectors, and
dialog text never enter it. docs/guides/siem-integration.md is
the exact record shape.
The full catalog is in docs/1.0/LANGUAGE.md, and the exact policy schema
is in docs/guides/governance-configuration.md.
Open the tray icon and you land At a glance: the action running right now in full, finished actions stacking below it, newest first, each in Ghostlight's own words -- "Opened example.com.", "Read 1,240 words.", "Filled 3 fields and submitted the form." -- never the page's. Beside it sit Integrations, which connects the coding clients you already have and merges into their configuration with a backup (goose and Continue get Copy setup to paste, never an edit); Status, which answers whether the stack is healthy; Policy, which states what the current rules allow, one plain line per capability, naming the layer that decided each one; Settings, a tab with a rail for this screen, who else can watch, browser work, notifications and diagnostics, and where you can quit Ghostlight; and About, which carries the promise underneath it: it never phones home.
Pause and resume sit in the header beside the lamp on every tab, the same control the tray offers. They work
with or without a connected browser, because Ghostlight itself holds the pause. When configured
policy is not valid, Ghostlight refuses all browser work and the header never reads Ready. It reads
Policy not valid and points to Policy, unless a more urgent state such as Not connected or Paused
comes first. A broken edit to a local policy that is already in force is different: the last valid
version stays in force, Status warns about the edit, and the header does not change. Closing the
window leaves the icon in the tray and Ghostlight running, and the first time it says so in one
notification. The service serves with no display, so if the window program cannot start, or the
computer has no display, web view or tray, Ghostlight keeps working and ghostlight status says
why there is no window.
Rust 1.89 or newer, plus Chromium 125 or newer for browser validation.
Three executables land side by side:
ghostlight-service -- the orchestrator and the workbench it serves on loopback. It links no
UI toolkit and runs with no display;ghostlight -- the edge: the MCP stdio relay (ghostlight mcp), the Chromium
native-messaging relay, and the front door that hands every other command to the service;ghostlight-desktop -- the shell: the window, the tray and the notices. On Linux building it
needs the WebKitGTK 4.1, GTK 3 and AppIndicator development packages; running the service does
not.Deploy a build with pwsh scripts/dev-loop.ps1: it installs your build into ~/.ghostlight/bin
as the development channel, because a build directory never serves on its own.
docs/DEV-LOOP.md covers the loop, browser registration and the full
validation loop.
After setup there is no startup ritual: launching a connected MCP client or Chromium demand-starts Ghostlight when it is not already running.
On Windows, WinGet is another way to install: winget install Sylin.Ghostlight, then run
ghostlight install once. The self-contained Claude Desktop MCPB is a third. Every route puts the
three executables in ~/.ghostlight/bin: WinGet only delivers them, and ghostlight install
copies them there. After winget upgrade, the next ghostlight install carries the newer version
there. An older copy never replaces a newer one. WinGet serves 2.0.0 until a newer manifest is
accepted into winget-pkgs; the one-line installer serves 2.0.2.
Platform state. Windows (x64) and Linux (x86_64, with glibc or musl, such as Alpine) are the supported 2.0 platforms. 2.0.2 was tested before publication on Windows, and its release workflow installs it from the release bundle on Ubuntu and Alpine. Its public install was proven on Windows on 2026-10-29. macOS has no artifact yet.
Extension state. The Chrome Web Store listing serves adapter v2.0.1, compatible with service 2.0.x under adapter protocol 4. The service gives the extension the page code it runs, so a 2.0 service update needs no extension update or reload. A 1.x extension updates once to 2.0.
The service and Chrome adapter are delivered separately with compatible mechanisms. The compatibility map is authoritative, and the public status file owns current release, platform, and store state.
The MCP edge negotiates a compatible stdio revision per client; the compatibility map records them. See the changelog for release changes and upgrade consequences.
The orchestrator makes every product decision and owns everything the model reads. The edge carries protocol and relay lifecycle, nothing more. The extension owns Chromium, the page, and the drawing, and never policy. Adding a feature normally means changing the orchestrator alone; that is a contract the shores are held to, not a happy accident.
The desktop is a presentation adapter in a process of its own, not a second service. It has no GUI
protocol, command runner, filesystem access, or browser primitives.
ADR-0102 records why.
docs/SPEC.md gives the deeper governance model.
Ghostlight is entirely free and open source: everything in this repository, including the
governance module, is Apache-2.0 OR MIT. LICENSING.md explains what that
covers. The former open-core split and its paid tiers were withdrawn by
ADR-0140.
License state never reaches runtime -- there is no license check to reach it. An installed copy keeps working on its own terms, with no check-in and no expiry. The Continuity Promise carries the durable version of that.
GitHub Issues for reproducible defects, GitHub Discussions for questions and ideas, and [email protected] for security, licensing, or anything that should not be public.
I build Ghostlight in partnership with AI coding agents.
CONTRIBUTING.md explains the current boundaries and the gates every change
passes.
Source: README.md at commit c6b4eb9
Browser tabs
List, focus, or close this session's tabs. List gives fresh handles from the live browser; with no tab yet it needs none and names those connected.
tabactiontimeout_msNavigate
Go to an HTTP(S) URL. Reuses the obvious tab; new_tab true opens a new one.
taburlrequiredreusebrowsernew_tabtimeout_msbeforeunloadBrowser history
Go back or forward, or reload. A new document invalidates target_ and view_ handles, so collect fresh ones.
tabactionrequiredtimeout_msbypass_cacheBrowser window
Set a tab's zoom or resize its browser window. Either invalidates view_ handles, so take a fresh screenshot before coordinate work.
tabwidthactionheightpercenttimeout_msRead page
Read visible page text, including open shadow roots and frames, or one target. To act, get handles from browser_inspect or browser_find.
tabmodetargetmax_charstimeout_msvisual_settleInspect page
Inspect controls or page structure for fresh target_ handles. Scope document returns the outline as a bounded tree, without handles. Form controls also carry their value and what they accept: options, type, limits, hint and group.
tabrootscopemax_depthmax_itemstimeout_msvisual_settleFind on page
Find targets by visible or accessible text and get fresh target_ handles. Fastest when you know the label. Option text finds its dropdown.
tabtextrequiredscopetimeout_msmax_resultsvisual_settleTake screenshot
Capture the viewport, full page, one target, or a magnified region; returns a view_ handle for coordinate calls.
xytabviewwidthheighttargetfull_pagetimeout_msvisual_settleClick
Click a target_ handle, a control found by selector, or a point in a view_ screenshot. Needs action; a selector lookup or expect check also needs read. Prefer a target.
xytabviewbuttonexpecttargetselectormodifierstimeout_msclick_countvisual_settleScroll
Scroll the page (default down, medium), reveal a target_, or wheel-scroll at a point in a view_ screenshot.
xytabviewticksamounttargetdirectiontimeout_msvisual_settleHover
Hover a target_ handle or a point in a view_ screenshot.
xytabviewtargettimeout_msvisual_settleFill form
Fill 1 to 30 fields in one call; needs write even for unsent drafts. Nothing submits unless submit_target names the control. A value a control cannot take is refused before any field changes, with what it accepts. For credentials, set user_authorized_credentials only on the user's explicit instruction.
tabexpectfieldsrequiredtimeout_mssubmit_targetvisual_settleuser_authorized_credentialsType text
Type through real keyboard input. Needs action; a selector lookup or expect check also needs read. Prefer browser_fill_form for plain values. For credentials, set user_authorized_credentials only on the user's explicit instruction.
tabtextrequiredexpecttargetfocusedselectortimeout_msclear_firstvisual_settleuser_authorized_credentialsPress key
Send a named key or literal character, optionally at a target_. Needs action; an expect check also needs read. For Control+A send key a with modifiers Control; strokes sends keys in order.
keytabexpectrepeattargetstrokesmodifierstimeout_msvisual_settleDrag
Drag between two target_ handles or two points in one view_ screenshot.
tabviewend_xend_ystart_xstart_ytimeout_mssource_targetvisual_settledestination_targetWait
Wait for one observable page condition. A false condition is a failed result, not an unknown effect.
tabvaluetargetselectorconditiontimeout_msvisual_settleBrowser dialog
Read the open JavaScript dialog with status, then accept, dismiss, or answer it; it blocks its page.
tabtextactiontimeout_msUpload files
Attach local paths, inline files, or one captured image to a file input, or drop the image at a point in a view_. Needs write; a selector lookup also needs read.
xytabviewfilespathstargetselectortimeout_mssource_imagevisual_settleExecute JavaScript
Run JavaScript in the page main world. It may read, mutate, or navigate; prefer a semantic tool. A script that is one expression is awaited, so a promise it evaluates to resolves.
tabscriptrequiredtimeout_msvisual_settlemax_result_charsRun flow
Run 1 to 20 tool calls. tab defaults tab-scoped steps; a step's own tab wins. Later arguments may reference earlier results. Stops at the first failed step by default.
tabstepsrequiredon_errortimeout_msRecord browser
Record browser work as a short memory-only GIF. One recording per session; save stops an active capture.
tabactiontargetdownloadtimeout_msDiagnose page
Read opt-in console and network observations for a tab. Observation begins with the first call, so reload or reproduce to capture earlier activity. Sensitive request data is never collected.
tabafterlimitmatchdetailsourcetimeout_msExplain policy
Explain the authority in force: one line per capability with its deciding layer, the rules behind them, permanent ceilings, and each layer's document. Available under every authority; use it to learn why a call was refused or what is allowed.
timeout_ms90% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
npx -y ghostlight installirm https://sylin.org/ghostlight/get.ps1 | iexcurl -fsSL https://sylin.org/ghostlight/get.sh | shghostlight doctorcargo build --workspaceMCP Client <--stdio--> ghostlight mcp <--relay--> ghostlight-service <--relay--> ghostlight (browser) <--native messaging--> Extension <--CDP--> Browser