Repository navigation
feat(webui): browser pane beside the chat in GAIA desktop - #5973
Conversation
The desktop app gains a browser in a side pane. Cmd/Ctrl+Shift+B or the globe button opens it beside the chat with tabs, back, forward, reload, an address bar, docked DevTools, and a menu to clear browsing data or open the page in the system browser. Pages run in their own sandboxed partition with camera, location and notifications refused, popups opened as pane tabs, file: links blocked, and GAIA's own backend unreachable. App dialogs and menus draw over a still frame of the page instead of under the live view. The agent cannot drive the pane yet. Dev QA mode (GAIA_BIN in an unpackaged build) runs the app against a chosen backend without touching the installed GAIA, and scripts/qa-pane.mjs drives the built app for visual checks.
A chat open in GAIA desktop now reads the page beside it instead of a hidden headless browser: it can open pages there, read their text and links, take screenshots and read console and network logs. Local addresses need no approval; any other site asks first, naming the site. - Electron main runs a token-locked loopback bridge; every op names the chat and is refused once the user switches to another chat. - browser_* tools route through one rule to the pane or headless Playwright, and each result says which browser answered. - New browser_screenshot and browser_logs tools, pane chats only. - The agent can read its own pane screenshot without a file prompt. Eval categories to watch on the next RC: gaia_tool_selection, gaia_web.
GAIA can now work through a page in the pane the way a person would: click links and buttons, fill forms, press keys, switch tabs and try mobile or tablet sizes, all visibly, under a "GAIA is using this tab" strip with Pause. Clicking in the page yourself pauses it, private tabs are hidden from it, password fields are refused, and buttons like "Create account" or "Delete" still ask first. - One gate in Electron main (agentAct) checks the chat, the tab's control (shared, user, private), recent user input and the approved sites before any trusted CDP input is sent. - browser_batch runs several steps and stops before any step that would ask for approval. - A Responsive menu sets device sizes and dark mode; the user's choice wins over the agent's. - A pane click plus its page read takes about 0.4 s against 4.1 s headless (util/bench_browser_pane.py). Eval categories to watch on the next RC: gaia_tool_selection, gaia_web.
…m to the chat UI developers can now point at the exact thing they mean. Press Cmd+Shift+S (or the picker button), click an element in the pane, and it lands above the composer as a chip like `button.primary "Save"`, with its selector, text, HTML, styles and, on React dev builds, the component name. GAIA gets it as labelled page data, never as instructions, and can click it by its p1 ref. - The picker runs in an isolated world; page scripts cannot see or call it, and the outline hides before the crop is taken. - The UI server validates picked elements, stores them on the message and renders one capped page-data block before any relay. - A chip's screenshot starts off: with it on, the agent studies the picture on every reply, which cost 1 to 3 minutes per turn in QA. Eval categories to watch on the next RC: gaia_tool_selection, gaia_web.
…pane Ask GAIA to start your app and it does: it reads the project's .gaia/launch.json (or writes one), asks once to approve the exact command, starts the server, and opens it in the browser pane. Asking again reuses the running server, a changed command asks again and restarts it, a crash reports its last log lines, and the agent can read the server's errors. A Dev servers menu in the pane lists each server with Open in pane and Stop. - Electron main owns the processes: no shell, an environment allowlist with no keys or tokens, one capped log per server, and a ledger that stops servers left behind by a crash on the next launch. - Approval covers command, folder, port and env; editing launch.json approves nothing, and the tool refuses a spec that changed after the prompt. - Servers get the backend's login-shell PATH, so an app opened from the Dock still finds node and npm. - Quitting GAIA stops every server; quit time is unchanged with one running (907 ms against 906 ms). Eval categories to watch on the next RC: gaia_tool_selection, gaia_web.
The pane opened only by shortcut until a chat existed, so it looked missing on the start screen. The globe now sits top right there too, where the chat header puts it.
The .gaia/ ignore rule kept it out of the repo, so test_the_fixture_app_parses and the Electron dev-server tests failed on every fresh checkout.
… no setup Asked to build a page and show it, the agent tried python -m http.server in the shell, then a serve_forever script that hung the turn for minutes and served the folder to the whole network, then told the user the pane only opens external links. dev_server needed a launch.json it never wrote. - dev_server(action="start", project=<folder>) on a folder of HTML with no launch.json runs Python's http.server bound to 127.0.0.1, through the same approval, supervisor and quit cleanup. The folder keeps its port, so Always keeps covering it, and the prompt's port is the one that runs. - run_shell_command, run_python and execute_python_file refuse a server before running it and name dev_server, or, outside GAIA desktop, ask the user. - browser_open on a file:// URL names dev_server for the file's folder.
…f macOS window buttons With the sidebar collapsed on macOS, the rail's icon was pushed into the chat header over the title, and in a narrow window the floating sidebar button and the title sat under the red, yellow and green buttons. The rail's icons now start below the buttons, and the button and top rows start right of them.
A user allowed GAIA to write a page into a new folder, then dev_server refused to serve that folder as outside the chat, and the agent told them to open the file by hand. The tool now asks for the folder the way read_file does, and serves it once allowed.
… the collapsed rail With the sidebar collapsed the chat title still started under the green window button. The QA kit's shot now draws the app itself, since a screen capture also grabbed whatever window sat on top.
…your own app A page's alert, confirm, prompt or "leave this page?" box no longer freezes the pane and times the agent out at 15 s. The step that opened it says so, every other step reports it, and the agent answers it with browser_dialog while the user answers it in a bar above the page. GAIA can now click, type and take element pictures inside frames from another site, and on a page on this PC browser_eval runs one expression for app state the page doesn't show. - Main replaces Electron's internal -run-dialog handler (a native box over the whole window, prompt() always cancelled) and holds one box per tab as tab state. A test pins the Electron version this was read in. - OK on another site's box, or one naming an irreversible action, asks like a risky click; Cancel never asks. Boxes the agent's own step left open are dismissed when its turn ends (new Agent TURN_END_HOOKS) or the window switches chats. - Input in a frame walks each frame's content-box offset up to the page, so it works across processes; acting in a frame asks for that frame's site. - browser_eval is refused off loopback, never asked about, and respects paused and private tabs. Eval categories to watch on the next RC: gaia_tool_selection, gaia_web.
…can't give Live in the pane, a page's prompt() never opened a box: Electron throws in the page before any handler sees it. browser_dialog drops its text argument and the docs say prompt() can't open, so the model is never told to answer a box that won't appear.
The Dev servers menu now says which chat started each server ("Started in
this chat", or the other chat's title), so a server running for one task
is recognisable from another.
- The bridge's ensure op already carried the chat's session id; main now
records it. A chat reusing a running server joins its list, so a later
step can tell whether another chat still needs it.
Before, the pane was one per window: a new chat showed the last chat's QA tabs, and the agent of whichever chat was on screen could read and act in tabs another chat opened. Now each tab belongs to the chat shown when it opened, and an agent only ever finds its own chat's tabs. - Switching chats swaps the tabs and brings back that chat's active tab. Pages of other chats stay alive, hidden, up to 12 across all chats; past that the least recently shown chat's pages close and load again from their saved history when it shows. - The new-chat screen has its own tabs; its first message hands them, and its open pane, to the chat it makes. - Open or closed is per chat, remembered for the last 200 chats. A new chat starts closed. - Deleting a chat closes its tabs, stops the dev servers only it used, and main refuses its id for the rest of the run. - Sign-ins stay shared: one partition for every chat.
A new tab in one chat listed pages another chat had opened. The list is now kept per chat, moves with draft tabs into the chat the first message makes, and is dropped when the chat is deleted. The 50 most recently used chats keep their lists. An older shared list file is ignored with a logged error.
Main moved stream-step and API-message helpers out of ChatView, and the branch moved the other one; both copies go. The flagship's declared tool count rises to 104 for the nine pane tools, and its drift tests pin the pane open as the bundle tests already do.
The folder test compared paths as text, so Windows backslashes failed it. The loopback server test gave the server 15 s to start, which a busy macOS runner missed; it now waits up to 60 s.
|
Verdict: Approve with suggestions. The browser pane is careful work. The bridge is token-gated and refuses web origins and rebound hosts, dev servers never go through a shell and run only after the user approves the exact command, and picked page text reaches the model fenced as untrusted data. Tests and evidence are thorough. One trust-boundary question needs a maintainer to decide before merge. 🔒 SECURITY CONCERN (@kovtcharov-amd): the pane counts every localhost page as "the user's own app." So GAIA can open, click in and run scripts on any local service without asking. Only GAIA's own backend and the bridge port are blocked, and other software on the machine (Lemonade and anything else listening locally) is still reachable. Please review privately before merge. A likely fix is to skip the prompt only on ports of dev servers GAIA started, and ask once for any other localhost port. 🟢 Dev servers aren't per-chat. Tabs are scoped to their chat, but a GAIA in one chat can list, stop, or read the logs of a server another chat started. Tabs and servers should follow the same rule. 🟢 The Python server check refuses too much. Eval categories are correctly listed for the next RC. 🔍 Technical details
|
…n dev server Review found the pane treated every localhost page as the user's app, so GAIA could read, click in and run scripts on any local service unasked. Now only this chat's running dev servers skip the prompt; any other local port asks once like any site. Dev servers are also scoped to their chat, and the Python server check reads real calls instead of raw text, so code that only writes a server into a file is no longer refused.
|
Thanks for the review. All three points are fixed in ce7d243. 🔒 SECURITY CONCERN: local-service trust boundary (@kovtcharov-amd). This now follows the suggested fix: the agent skips approval only on the dev servers GAIA started for that chat, and any other local page asks once like any other site. Happy to talk it through privately before merge.
🔍 Technical details
|
# Conflicts: # src/gaia/apps/webui/src/components/ChatView.tsx
# Conflicts: # src/gaia/apps/webui/src/components/NewChat.tsx
|
Thanks @tylerbea, this keeps getting better. I pushed one more round so the pane fits GAIA's prompt budget. The hold for the flagship evals still stands.
🔍 Technical details
|
# Conflicts: # tests/unit/test_browser_use_tools.py
Full access answered browser_eval and starting a dev server for the user, including on background runs, though the skill says both always ask. Both now ask a watching person under Full access and are refused when nobody can answer, like sending mail. - dev_server via the skill passed name= into run_pane_tool and crashed; the tool name is now positional-only. - A picked password field's value attribute is left out of the HTML sent to the model. - The run_python/execute_python_file server-refusal tests move to the gaia agent's own tests, so core unit tests no longer import gaia_agent. - The gaia guide counts 23 starter skills.
|
Thanks @tylerbea — merged main in (one additive test conflict) and closed the last review items:
|
Resolves the conflicts with main and drops the gaia:// link handling main removed.
Every hub skill needs labelled requests; the browser pane skill had none, so the suggester coverage test failed.
Main split the Agent UI guide into per-topic pages and released the flagship 0.3.6, so the pane's Browser pane section moves to the desktop app page (links updated) and its changelog entries move back under Unreleased.
The static file server now starts isolated from the folder it serves, and under Full access the browser pane keeps the same address limits as the headless browser. The tab list names only tabs on approved sites, and a page may open one pop-up tab right after a click or keypress. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Merged current main (no conflicts left) and hardened the static file server and pane navigation; each change ships with tests. Because this changes what browser tools return to the model, the next RC needs evals on 🔍 Technical details
|
…changelog The merge from main left the browser-pane entry's stale 0.26.0 requirement above main's 0.26.1 line, so test_npm_doc_min_version read 0.26.0 and failed.
Batched steps now go through the same site rules as the single-step browser tools. Also waits for the dev server's request log line in the log-slice test instead of reading it right after the response.
# Conflicts: # src/gaia/apps/webui/src/styles/index.css
…now covers Main's macTitlebarClearance test checks the folded sidebar, the chat title and the narrow-window toggle against the rules this branch now uses; the older copy here still expected the rules main replaced.
# GAIA v0.27.0 Release Notes ## Summary - Connect more than one Google or Microsoft account, and manage each one separately. - GAIA desktop has a browser beside the chat that both you and GAIA can use. - Type `/` and a skill's name to run that skill on a request. - New skills build and check Office files and triage logs. - The standalone email agent is gone; the main GAIA agent handles mail. - 8 contributors merged 87 PRs and closed 72 issues since v0.26.0. ## Breaking Changes - **The standalone email agent is removed** — `gaia email`, the `gaia-agent-email` and `@amd-gaia/agent-email` packages, the `/v1/email` routes and the `email` setup profile are gone. Ask GAIA about your mail in `gaia chat` or the Agent UI instead; it reads, drafts and sends through the Google and Microsoft connectors, as the [Email guide](/guides/email) describes. On upgrade the old install is removed, and any email it had scheduled is named once, since it won't be sent. (PR [#7108](#7108)) - **`gaia agent list` and `gaia eval benchmark` are removed** — GAIA ships one agent, and `gaia agent list` now says what replaced it. (PR [#7108](#7108)) - **`gaia.ui.email_sidecar` is renamed `gaia.ui.sidecar`** — update the import. (PR [#7108](#7108)) ## What's New - **Several accounts per mail provider** — `gaia connectors connect google --add` adds another account; Settings and the terminal UI list each one with its own Reconnect, Make default and Disconnect. (PRs [#8331](#8331), [#8332](#8332), [#8333](#8333)) - **Browser pane in GAIA desktop** — browse beside the chat while GAIA reads and drives the same tab, and pick part of a page to ask about. (PR [#5973](#5973)) - **Run a skill by name** — start a message with `/skill-name` in the Agent UI, terminal UI, `gaia -p` or the API; typing `/` lists installed skills. (PR [#8483](#8483)) - **Office documents** — the `office-docs` skill builds spreadsheets, decks with editable charts and Word files; its `verify_workbook` tool recalculates formulas to catch wrong cell references. (PR [#5417](#5417)) - **Log triage** — the `log-triage` skill's `triage_logs` tool reads every named log in one call and returns the anomalies, bursts and hosts hit. (PR [#5465](#5465)) - **Skill auto-load, opt-in** — with `GAIA_SKILL_AUTOLOAD=1` a skill that clearly matches the request loads before the turn. Off by default. (PR [#5442](#5442)) - **Document reranking, opt-in** — `RAGConfig(enable_reranking=True)` reorders retrieved passages with a downloaded Lemonade reranking model. (PR [#6136](#6136)) - **Review saved folder answers** — `gaia trust` lists, adds, declines and forgets GAIA's per-folder answers about project guidance files. (PR [#8480](#8480)) - **Sign in to Gmail over SSH** — `gaia connectors connect google --callback-port PORT` fixes the sign-in port so it can be forwarded. (PR [#8474](#8474)) - **Settings reach open chats** — a model server, connector or skill change applies on an open chat's next message, including in the terminal UI. (PR [#8400](#8400)) - **Agent UI** — Ctrl+/ lists keyboard shortcuts, formulas render instead of LaTeX source, the library shows which chats use each document, a scheduled task can be edited in place with its past runs listed, and connector setup is shown as numbered steps. (PRs [#7504](#7504), [#7499](#7499), [#7514](#7514), [#7527](#7527), [#8281](#8281), [#8279](#8279), [#8280](#8280)) - **Scripted `gaia -p` runs** — `--disallowed-tools`, `--no-web` and `--no-skills` withhold tools; the run uses the apps' model without downloading one, uses its whole `--time-limit`, and the agent knows nobody is there to answer questions. (PRs [#8326](#8326), [#7808](#7808), [#8385](#8385), [#8451](#8451)) - **Large tool results pass by handle** — a tool given an `output_…` handle gets the full result without it entering the prompt. (PR [#8121](#8121)) ## Bug Fixes - **A missing command-line program becomes a step to install it**, not a dead end. (PR [#8251](#8251)) - **A reply that stalls partway is requested again.** (PR [#8446](#8446)) - **A chat fails at once when the chosen model server is down**, instead of waiting. (PR [#8436](#8436)) - **A failed turn stays marked failed in history.** (PR [#8335](#8335)) - **A document is never reported attached when nothing was written.** (PR [#8388](#8388)) - **Attached file names keep their spaces and non-Latin scripts.** (PR [#8461](#8461)) - **The agent can read images GAIA generated.** (PR [#8478](#8478)) - **A bare JSON answer ends the turn.** (PR [#8462](#8462)) - **A reply that was all thinking is told to act**, and the next one thinks less. (PRs [#8430](#8430), [#8448](#8448)) - **A file shown whole with `cat` counts as read back.** (PR [#8458](#8458)) - **`run_python` says when long output was cut**, and a script missing a module is pointed at the system Python. (PRs [#8450](#8450), [#8426](#8426)) - **Time limits are respected** — the model is told the limit, a command's timeout never outlasts it, and no test run is requested after it. (PRs [#8429](#8429), [#8424](#8424), [#8452](#8452)) - **`gaia -p` streams its model calls**, so a long reply is not lost. (PR [#8427](#8427)) - **Model SDKs load on first use**, and context checkpoints are limited. (PR [#8459](#8459)) - **A shell result sent to the model leaves out what it already knows.** (PR [#8428](#8428)) - **Outlook availability is no longer guessed** when a meeting's time can't be read. (PR [#8267](#8267)) - **No local chat download is planned while chat runs on a cloud model.** (PR [#8086](#8086)) - **Setup shows the same model size and name as Settings.** (PR [#8431](#8431)) - **A reply cut short by a crash isn't continued.** (PR [#8391](#8391)) - **An MCP connector shows Connected only after a check has started it.** (PR [#8434](#8434)) - **The document library's install hint matches this build.** (PR [#8327](#8327)) - **A document overlap of 0 repeats nothing between chunks.** (PR [#8382](#8382)) - **Documents in Russian, Greek, Polish and other languages are split into sentences**, so their chunks overlap like English ones instead of being cut every 2,000 characters. (PR [#8499](#8499)) - **Documents added while the model server was down are indexed once it is back**, and show "Waiting", not "Failed". (PR [#8353](#8353)) - **Setup retries and resumes a dropped assistant download** instead of failing. (PR [#8490](#8490)) - **A failed model download stays reported after Settings closes**, until you dismiss it. (PR [#8468](#8468)) - **Impossible input gets a 4xx error, not a 500.** (PR [#8291](#8291)) - **Agent UI layout** — popovers stay on screen in right-to-left layouts at phone width, the Mac window buttons clear the folded sidebar, and closing the resource strip says how to bring it back. (PRs [#8455](#8455), [#8476](#8476), [#8432](#8432)) - **The "GAIA doesn't run this model server" line is translated in Arabic.** (PR [#8435](#8435)) - **A release candidate names its own pre-release as the agent's source.** (PR [#8433](#8433)) ## Known Issues - **Installed builds: `gaia -p` refuses `--time-limit`, `--disallowed-tools`, `--no-web` and `--no-skills`**, because there the agent runs through GAIA's background service — run without them, or from a developer install that includes the agent package. Tracked in [#8495](#8495). - **NPU PCs: chat on the NPU profile returns an empty reply** — use the GPU/CPU profile for now. Tracked in [#6008](#6008). - **Fedora 44: setup cannot reach any HTTPS site**, so it can neither connect a cloud model nor download one — tracked in [#7226](#7226). - **Long sessions on Windows: Lemonade's bundled llama-server leaks handles on every request** — restart the model server from time to time. Tracked in [#8312](#8312). - **Coding: editing a config, data or `SKILL.md` file does not mark an earlier "tests pass" as stale** — re-run the tests after such an edit. Tracked in [#8213](#8213). - **Your own model server, stopped: the connection banner says it is "not installed"** — start your server again. Tracked in [#8313](#8313). - **Summarizing a 1,000+ page document can time out** — ask about sections or page ranges instead. Tracked in [#8218](#8218). ## Contributors Thanks to the community members who contributed to this release: - [@tylerbea](https://github.com/tylerbea) — several accounts per connector, the browser pane, `/skill-name` in chat, and Mac window layout (PRs [#8331](#8331), [#8332](#8332), [#8333](#8333), [#5973](#5973), [#8483](#8483), [#8476](#8476)) - [@akshat-lakhera](https://github.com/akshat-lakhera) — `gaia trust` and the Gmail sign-in callback port (PRs [#8480](#8480), [#8474](#8474)) - [@rapuckett](https://github.com/rapuckett) — failed-turn history, honest document attachment, right-to-left popovers, and test and tooling fixes (PRs [#8335](#8335), [#8388](#8388), [#8455](#8455), [#8453](#8453), [#8454](#8454), [#8471](#8471)) - [@eshitakundu](https://github.com/eshitakundu) — passing tool results by handle, and measuring what MCP servers cost an agent (PRs [#8121](#8121), [#8294](#8294)) - [@bniladridas](https://github.com/bniladridas) — bare JSON answers, attachment names, failed-download reporting, and installer and test CI fixes (PRs [#8462](#8462), [#8461](#8461), [#8468](#8468), [#8482](#8482), [#8466](#8466), [#8465](#8465), [#8467](#8467), [#8464](#8464), [#8402](#8402)) - [@huong8373tt-beep](https://github.com/huong8373tt-beep) — optional Lemonade reranking for document search (PR [#6136](#6136)) - [@0z5a](https://github.com/0z5a) — sentence splitting for non-ASCII languages (PR [#8499](#8499)) ## Full Changelog **87 commits** since v0.26.0. The PR links above are the changelog. Full Changelog: [v0.26.0...v0.27.0](v0.26.0...v0.27.0)
## Summary GAIA desktop gets a browser in a side pane next to the chat. You can browse in it, GAIA can read and drive it, you can pick parts of a page to ask about, and GAIA can start a dev server and show the result there. ## Why Before this, GAIA's browsing was invisible. When it built a page you couldn't see the page, and when it read a site you couldn't watch or take over. On Gemma, "build a page and show it to me" ended with GAIA writing a server script that listened on every network interface, blocked the turn for minutes, and then told the user the browser can't open local pages. Now GAIA serves the folder on 127.0.0.1 only and opens it in the pane, and you watch every step. ## Linked issue Closes amd#5971 ## Changes This is one large PR (about 20k lines, much of it tests and fixtures). It comes from a fork, so it couldn't be split into stacked PRs. Here it is grouped in the order it was built: - **Pane shell.** An Electron view beside the chat with tabs, an address bar, DevTools, phone and tablet viewports, and a persistent sign-in session that is separate from the app. Desktop only. The web UI is unchanged. - **GAIA reads it.** The existing `browser_*` tools now drive the visible pane when GAIA runs in the desktop app. They use a token-gated loopback bridge, never a remote debugging port. Page text, screenshots, console logs and network requests are all read from the real tab. - **GAIA acts in it.** Clicks, typing and keys are real input events. GAIA asks before acting on a site it hasn't used before, and before any button that sounds irreversible (delete, pay, buy). The user can pause it or take over at any time. GAIA can also answer page pop-up boxes, act inside cross-site frames, and run scripts, but scripts only on loopback pages. - **Pick elements.** Cmd/Ctrl+Shift+S selects parts of a page and sends them to the chat as chips. Picked page text is marked as untrusted, so instructions written on a page can't steer GAIA. - **Dev servers.** A `browser-pane/dev_server` tool starts a project's dev command from `.gaia/launch.json`, or serves a plain HTML folder on 127.0.0.1. It asks first, and stops every server when the app quits. The shell and Python tools now refuse to start long-running servers and point GAIA to `dev_server` instead. - **Pane-only tools ship as a bundled skill.** The nine tools only the pane can serve (screenshots, logs, keys, page boxes, screen sizes, tabs, batches, `browser_eval` and `dev_server`) live in a new `browser-pane` skill instead of the core agent, so a pane chat's first-turn prompt stays inside the 15,000-token budget and every other chat pays nothing. The skill is listed only in a chat open in the pane, refuses anywhere else, and keeps every approval: `browser_eval` is marked `requires_confirmation`, and the others still ask before an unapproved site, a control that may not be undoable, or starting a server. - **Per-chat tabs.** Each chat has its own tabs, open/closed state and recently visited list. GAIA in one chat can't list, read or act on another chat's tabs. Deleting a chat closes its tabs and stops its dev servers. Eval categories to run on the next RC: `gaia_tool_selection`, `gaia_web`, `gaia_shell`, `gaia_core` and `gaia_skills_tasks`. Tool docstrings, the browser prompt line, the shell and Python refusals, and the skill catalog all changed. The maintainer's hold for these evals still applies. They need the Strix Halo pool, so they weren't run locally. ## Known limits These are out of scope for this PR: - **Dev-server trust follows the port.** A dev server GAIA started is trusted wherever its port answers, so a program that later takes over that port inherits that trust. The static server's port is now random, which narrows this but doesn't remove it. - **One cookie store for every chat.** The pane keeps a single signed-in session, shared by all chats, so a site a user signed into in one chat is signed in for every chat's tabs too. - **GAIA's own service ports.** Pane pages can't reach the GAIA backend, the pane bridge, the daemon (by the port it records), Lemonade's default port or the one in `LEMONADE_BASE_URL`, or the MCP ports 8765 to 8769, by address or by a name that resolves to this PC. Any other local service is reachable from a page the way it is in any browser. - **Pictures are checked around the capture, not during it.** GAIA checks the page's frames before and after a picture and drops it if the frame tree changed in between, but a frame that was already on the page and is shown only while the picture is taken isn't caught. - **A name's address can change between checks.** The pane resolves a name before a request to GAIA's ports, and the browser resolves it again when it connects, so a name that changes in between isn't caught. That matches what the user's own browser allows. - **What a script does isn't checked.** `browser_eval` shows the whole script, up to 500 characters, and asks every time, but GAIA doesn't analyse it: a script written to hide what it does relies on the user reading it. ## Test plan - [ ] `cd src/gaia/apps/webui && npm install && npm run build`, then launch the desktop app and click the globe button at the top right of a chat. The pane opens on a new tab page. - [ ] Ask GAIA: "Open https://example.com in the browser pane and tell me its main heading." It asks to use the site, then answers from the visible tab. - [ ] Ask GAIA to make a folder with a small HTML page and show it in the browser. It serves the page on `127.0.0.1` and opens it in the pane. Quit the app, and the server stops. - [ ] Open a page in one chat, then switch to another chat. The second chat shows no tabs, and asking its GAIA to list the browser tabs returns none. - [ ] In a pane chat, ask GAIA for a screenshot of the page. It loads the `browser-pane` skill, then takes the picture. In a chat outside the desktop app, the skill isn't listed. - [ ] `python -m pytest hub/agents/gaia/python/tests/test_prompt_prefix_stability.py -k budget` passes, including the case pinned open beside the pane. - [ ] `cd tests/electron && npx jest`, `cd src/gaia/apps/webui && npx vitest run && npx tsc --noEmit -p .`, `python -m pytest tests/unit`, and `python util/lint.py --all`. Locally: Electron 1536 passed, frontend 2002 passed, flagship and chat agent tests 931 passed. On `tests/unit`, every failure also fails on a clean checkout of main on the same machine. ## Evidence All screenshots are from the desktop app on macOS, running Gemma 4 E4B locally. Windows hasn't been tested live. - [x] **Agent exposed in the Agent UI** GAIA reads the visible tab:  GAIA fills a form and asks before clicking "Create account":  Picked elements become chips in the chat. The page's injected instruction is ignored:  The Dev servers menu, with a running server and one that failed to start:  GAIA builds a page in a new folder and serves it on loopback in the pane:  A page's confirm box shows in the pane, and GAIA asks before pressing OK:  GAIA types and clicks inside a cross-site frame:  Each chat lists only the pages it opened:  - [ ] **MCP tools / servers**: N/A, no MCP surface changed. - [ ] **CLI**: N/A, no `gaia` subcommand changed. - [ ] **HTTP API / REST**: N/A. The chat request now carries picked elements, which unit tests cover (`test_picked_elements.py`). ## Checklist - [x] I have linked a GitHub issue above. - [x] I have described **why** this change is being made, not just what changed. - [x] I have run linting and tests locally. - [x] I have attached real-world evidence matched to the surface I changed. - [x] I have updated documentation (the Agent UI and browser-use guides, the browser-use plan, the GAIA guide and the dev reference). --------- Co-authored-by: Kalin Ovtcharov <[email protected]> Co-authored-by: v <v@x> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
# GAIA v0.27.0 Release Notes ## Summary - Connect more than one Google or Microsoft account, and manage each one separately. - GAIA desktop has a browser beside the chat that both you and GAIA can use. - Type `/` and a skill's name to run that skill on a request. - New skills build and check Office files and triage logs. - The standalone email agent is gone; the main GAIA agent handles mail. - 8 contributors merged 87 PRs and closed 72 issues since v0.26.0. ## Breaking Changes - **The standalone email agent is removed** — `gaia email`, the `gaia-agent-email` and `@amd-gaia/agent-email` packages, the `/v1/email` routes and the `email` setup profile are gone. Ask GAIA about your mail in `gaia chat` or the Agent UI instead; it reads, drafts and sends through the Google and Microsoft connectors, as the [Email guide](/guides/email) describes. On upgrade the old install is removed, and any email it had scheduled is named once, since it won't be sent. (PR [amd#7108](amd#7108)) - **`gaia agent list` and `gaia eval benchmark` are removed** — GAIA ships one agent, and `gaia agent list` now says what replaced it. (PR [amd#7108](amd#7108)) - **`gaia.ui.email_sidecar` is renamed `gaia.ui.sidecar`** — update the import. (PR [amd#7108](amd#7108)) ## What's New - **Several accounts per mail provider** — `gaia connectors connect google --add` adds another account; Settings and the terminal UI list each one with its own Reconnect, Make default and Disconnect. (PRs [amd#8331](amd#8331), [amd#8332](amd#8332), [amd#8333](amd#8333)) - **Browser pane in GAIA desktop** — browse beside the chat while GAIA reads and drives the same tab, and pick part of a page to ask about. (PR [amd#5973](amd#5973)) - **Run a skill by name** — start a message with `/skill-name` in the Agent UI, terminal UI, `gaia -p` or the API; typing `/` lists installed skills. (PR [amd#8483](amd#8483)) - **Office documents** — the `office-docs` skill builds spreadsheets, decks with editable charts and Word files; its `verify_workbook` tool recalculates formulas to catch wrong cell references. (PR [amd#5417](amd#5417)) - **Log triage** — the `log-triage` skill's `triage_logs` tool reads every named log in one call and returns the anomalies, bursts and hosts hit. (PR [amd#5465](amd#5465)) - **Skill auto-load, opt-in** — with `GAIA_SKILL_AUTOLOAD=1` a skill that clearly matches the request loads before the turn. Off by default. (PR [amd#5442](amd#5442)) - **Document reranking, opt-in** — `RAGConfig(enable_reranking=True)` reorders retrieved passages with a downloaded Lemonade reranking model. (PR [amd#6136](amd#6136)) - **Review saved folder answers** — `gaia trust` lists, adds, declines and forgets GAIA's per-folder answers about project guidance files. (PR [amd#8480](amd#8480)) - **Sign in to Gmail over SSH** — `gaia connectors connect google --callback-port PORT` fixes the sign-in port so it can be forwarded. (PR [amd#8474](amd#8474)) - **Settings reach open chats** — a model server, connector or skill change applies on an open chat's next message, including in the terminal UI. (PR [amd#8400](amd#8400)) - **Agent UI** — Ctrl+/ lists keyboard shortcuts, formulas render instead of LaTeX source, the library shows which chats use each document, a scheduled task can be edited in place with its past runs listed, and connector setup is shown as numbered steps. (PRs [amd#7504](amd#7504), [amd#7499](amd#7499), [amd#7514](amd#7514), [amd#7527](amd#7527), [amd#8281](amd#8281), [amd#8279](amd#8279), [amd#8280](amd#8280)) - **Scripted `gaia -p` runs** — `--disallowed-tools`, `--no-web` and `--no-skills` withhold tools; the run uses the apps' model without downloading one, uses its whole `--time-limit`, and the agent knows nobody is there to answer questions. (PRs [amd#8326](amd#8326), [amd#7808](amd#7808), [amd#8385](amd#8385), [amd#8451](amd#8451)) - **Large tool results pass by handle** — a tool given an `output_…` handle gets the full result without it entering the prompt. (PR [amd#8121](amd#8121)) ## Bug Fixes - **A missing command-line program becomes a step to install it**, not a dead end. (PR [amd#8251](amd#8251)) - **A reply that stalls partway is requested again.** (PR [amd#8446](amd#8446)) - **A chat fails at once when the chosen model server is down**, instead of waiting. (PR [amd#8436](amd#8436)) - **A failed turn stays marked failed in history.** (PR [amd#8335](amd#8335)) - **A document is never reported attached when nothing was written.** (PR [amd#8388](amd#8388)) - **Attached file names keep their spaces and non-Latin scripts.** (PR [amd#8461](amd#8461)) - **The agent can read images GAIA generated.** (PR [amd#8478](amd#8478)) - **A bare JSON answer ends the turn.** (PR [amd#8462](amd#8462)) - **A reply that was all thinking is told to act**, and the next one thinks less. (PRs [amd#8430](amd#8430), [amd#8448](amd#8448)) - **A file shown whole with `cat` counts as read back.** (PR [amd#8458](amd#8458)) - **`run_python` says when long output was cut**, and a script missing a module is pointed at the system Python. (PRs [amd#8450](amd#8450), [amd#8426](amd#8426)) - **Time limits are respected** — the model is told the limit, a command's timeout never outlasts it, and no test run is requested after it. (PRs [amd#8429](amd#8429), [amd#8424](amd#8424), [amd#8452](amd#8452)) - **`gaia -p` streams its model calls**, so a long reply is not lost. (PR [amd#8427](amd#8427)) - **Model SDKs load on first use**, and context checkpoints are limited. (PR [amd#8459](amd#8459)) - **A shell result sent to the model leaves out what it already knows.** (PR [amd#8428](amd#8428)) - **Outlook availability is no longer guessed** when a meeting's time can't be read. (PR [amd#8267](amd#8267)) - **No local chat download is planned while chat runs on a cloud model.** (PR [amd#8086](amd#8086)) - **Setup shows the same model size and name as Settings.** (PR [amd#8431](amd#8431)) - **A reply cut short by a crash isn't continued.** (PR [amd#8391](amd#8391)) - **An MCP connector shows Connected only after a check has started it.** (PR [amd#8434](amd#8434)) - **The document library's install hint matches this build.** (PR [amd#8327](amd#8327)) - **A document overlap of 0 repeats nothing between chunks.** (PR [amd#8382](amd#8382)) - **Documents in Russian, Greek, Polish and other languages are split into sentences**, so their chunks overlap like English ones instead of being cut every 2,000 characters. (PR [amd#8499](amd#8499)) - **Documents added while the model server was down are indexed once it is back**, and show "Waiting", not "Failed". (PR [amd#8353](amd#8353)) - **Setup retries and resumes a dropped assistant download** instead of failing. (PR [amd#8490](amd#8490)) - **A failed model download stays reported after Settings closes**, until you dismiss it. (PR [amd#8468](amd#8468)) - **Impossible input gets a 4xx error, not a 500.** (PR [amd#8291](amd#8291)) - **Agent UI layout** — popovers stay on screen in right-to-left layouts at phone width, the Mac window buttons clear the folded sidebar, and closing the resource strip says how to bring it back. (PRs [amd#8455](amd#8455), [amd#8476](amd#8476), [amd#8432](amd#8432)) - **The "GAIA doesn't run this model server" line is translated in Arabic.** (PR [amd#8435](amd#8435)) - **A release candidate names its own pre-release as the agent's source.** (PR [amd#8433](amd#8433)) ## Known Issues - **Installed builds: `gaia -p` refuses `--time-limit`, `--disallowed-tools`, `--no-web` and `--no-skills`**, because there the agent runs through GAIA's background service — run without them, or from a developer install that includes the agent package. Tracked in [amd#8495](amd#8495). - **NPU PCs: chat on the NPU profile returns an empty reply** — use the GPU/CPU profile for now. Tracked in [amd#6008](amd#6008). - **Fedora 44: setup cannot reach any HTTPS site**, so it can neither connect a cloud model nor download one — tracked in [amd#7226](amd#7226). - **Long sessions on Windows: Lemonade's bundled llama-server leaks handles on every request** — restart the model server from time to time. Tracked in [amd#8312](amd#8312). - **Coding: editing a config, data or `SKILL.md` file does not mark an earlier "tests pass" as stale** — re-run the tests after such an edit. Tracked in [amd#8213](amd#8213). - **Your own model server, stopped: the connection banner says it is "not installed"** — start your server again. Tracked in [amd#8313](amd#8313). - **Summarizing a 1,000+ page document can time out** — ask about sections or page ranges instead. Tracked in [amd#8218](amd#8218). ## Contributors Thanks to the community members who contributed to this release: - [@tylerbea](https://github.com/tylerbea) — several accounts per connector, the browser pane, `/skill-name` in chat, and Mac window layout (PRs [amd#8331](amd#8331), [amd#8332](amd#8332), [amd#8333](amd#8333), [amd#5973](amd#5973), [amd#8483](amd#8483), [amd#8476](amd#8476)) - [@akshat-lakhera](https://github.com/akshat-lakhera) — `gaia trust` and the Gmail sign-in callback port (PRs [amd#8480](amd#8480), [amd#8474](amd#8474)) - [@rapuckett](https://github.com/rapuckett) — failed-turn history, honest document attachment, right-to-left popovers, and test and tooling fixes (PRs [amd#8335](amd#8335), [amd#8388](amd#8388), [amd#8455](amd#8455), [amd#8453](amd#8453), [amd#8454](amd#8454), [amd#8471](amd#8471)) - [@eshitakundu](https://github.com/eshitakundu) — passing tool results by handle, and measuring what MCP servers cost an agent (PRs [amd#8121](amd#8121), [amd#8294](amd#8294)) - [@bniladridas](https://github.com/bniladridas) — bare JSON answers, attachment names, failed-download reporting, and installer and test CI fixes (PRs [amd#8462](amd#8462), [amd#8461](amd#8461), [amd#8468](amd#8468), [amd#8482](amd#8482), [amd#8466](amd#8466), [amd#8465](amd#8465), [amd#8467](amd#8467), [amd#8464](amd#8464), [amd#8402](amd#8402)) - [@huong8373tt-beep](https://github.com/huong8373tt-beep) — optional Lemonade reranking for document search (PR [amd#6136](amd#6136)) - [@0z5a](https://github.com/0z5a) — sentence splitting for non-ASCII languages (PR [amd#8499](amd#8499)) ## Full Changelog **87 commits** since v0.26.0. The PR links above are the changelog. Full Changelog: [v0.26.0...v0.27.0](amd/gaia@v0.26.0...v0.27.0)
Summary
GAIA desktop gets a browser in a side pane next to the chat. You can browse in it, GAIA can read and drive it, you can pick parts of a page to ask about, and GAIA can start a dev server and show the result there.
Why
Before this, GAIA's browsing was invisible. When it built a page you couldn't see the page, and when it read a site you couldn't watch or take over. On Gemma, "build a page and show it to me" ended with GAIA writing a server script that listened on every network interface, blocked the turn for minutes, and then told the user the browser can't open local pages. Now GAIA serves the folder on 127.0.0.1 only and opens it in the pane, and you watch every step.
Linked issue
Closes #5971
Changes
This is one large PR (about 20k lines, much of it tests and fixtures). It comes from a fork, so it couldn't be split into stacked PRs. Here it is grouped in the order it was built:
browser_*tools now drive the visible pane when GAIA runs in the desktop app. They use a token-gated loopback bridge, never a remote debugging port. Page text, screenshots, console logs and network requests are all read from the real tab.browser-pane/dev_servertool starts a project's dev command from.gaia/launch.json, or serves a plain HTML folder on 127.0.0.1. It asks first, and stops every server when the app quits. The shell and Python tools now refuse to start long-running servers and point GAIA todev_serverinstead.browser_evalanddev_server) live in a newbrowser-paneskill instead of the core agent, so a pane chat's first-turn prompt stays inside the 15,000-token budget and every other chat pays nothing. The skill is listed only in a chat open in the pane, refuses anywhere else, and keeps every approval:browser_evalis markedrequires_confirmation, and the others still ask before an unapproved site, a control that may not be undoable, or starting a server.Eval categories to run on the next RC:
gaia_tool_selection,gaia_web,gaia_shell,gaia_coreandgaia_skills_tasks. Tool docstrings, the browser prompt line, the shell and Python refusals, and the skill catalog all changed. The maintainer's hold for these evals still applies. They need the Strix Halo pool, so they weren't run locally.Known limits
These are out of scope for this PR:
LEMONADE_BASE_URL, or the MCP ports 8765 to 8769, by address or by a name that resolves to this PC. Any other local service is reachable from a page the way it is in any browser.browser_evalshows the whole script, up to 500 characters, and asks every time, but GAIA doesn't analyse it: a script written to hide what it does relies on the user reading it.Test plan
cd src/gaia/apps/webui && npm install && npm run build, then launch the desktop app and click the globe button at the top right of a chat. The pane opens on a new tab page.127.0.0.1and opens it in the pane. Quit the app, and the server stops.browser-paneskill, then takes the picture. In a chat outside the desktop app, the skill isn't listed.python -m pytest hub/agents/gaia/python/tests/test_prompt_prefix_stability.py -k budgetpasses, including the case pinned open beside the pane.cd tests/electron && npx jest,cd src/gaia/apps/webui && npx vitest run && npx tsc --noEmit -p .,python -m pytest tests/unit, andpython util/lint.py --all. Locally: Electron 1536 passed, frontend 2002 passed, flagship and chat agent tests 931 passed. Ontests/unit, every failure also fails on a clean checkout of main on the same machine.Evidence
All screenshots are from the desktop app on macOS, running Gemma 4 E4B locally. Windows hasn't been tested live.
GAIA reads the visible tab:

GAIA fills a form and asks before clicking "Create account":

Picked elements become chips in the chat. The page's injected instruction is ignored:

The Dev servers menu, with a running server and one that failed to start:

GAIA builds a page in a new folder and serves it on loopback in the pane:

A page's confirm box shows in the pane, and GAIA asks before pressing OK:

GAIA types and clicks inside a cross-site frame:

Each chat lists only the pages it opened:

gaiasubcommand changed.test_picked_elements.py).Checklist