Skip to content

feat(ui): walk through each connector's setup in short numbered steps - #8281

Merged
kovtcharov-amd merged 9 commits into
amd:mainfrom
kovtcharov:ui/connector-guides
Nov 19, 2026
Merged

kovtcharov-amd merged 9 commits into
amd:mainfrom
kovtcharov:ui/connector-guides

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

Connecting Google meant a form asking for "OAuth client credentials", with hints in Cloud Console jargon; nothing said you first need a project, enabled APIs and a sign-in screen. Every connector that needs something from outside now walks you through it in short numbered steps: a title, one line, and one button to the exact page, ending at the form. That covers Google, Microsoft (personal and work), GitHub, Slack, Discord, Notion, Brave Search and Tavily. GitHub's button opens the token page with the right scopes already ticked.

Builds on #8280 (motion); review that first.

Google, desktop app GitHub, browser Google, phone
Google steps in Electron GitHub steps Google steps on a phone
  • Less text, not less help. The steps replace the long hints under each field and Slack's separate button. The tenant ID keeps its hint, because it says which of three similar IDs to copy.
  • No pointless choice. With GAIA the only agent, the one-checkbox "Grant access to these agents" block is gone; GAIA is still granted on connect, exactly as before.
  • Phone layout. Every status now drops below the name on narrow screens, not only "Connected", so a long name no longer strands its chevron on its own line. before · after

Checked in the packaged Electron 45 app with this build swapped in, in the browser, and at 375 px. An empty submit still says "Required: OAuth Client ID, OAuth Client Secret". I did not save real tokens, so the sign-ins themselves aren't exercised here.

🔍 Technical details
  • Steps live in ConnectorGuide.tsx, keyed by catalog id and condensed from docs/connectors/<id>.mdx, which keeps the edge cases (the card's "Learn more" link opens it). All text goes through useT, with Arabic.
  • showsFieldHint decides which field hints a guide keeps; connectors with no guide (Git, Memory, custom MCP servers) are unchanged.
  • The step style is the Discord setup's, shared through selector lists rather than copied.

Test plan

  • cd src/gaia/apps/webui && npx vitest run
  • npm run test:rtl (the Slack scene now checks the four steps in English and Arabic)
  • Settings › Connectors › Accounts › Google: five steps, each button opens the named Google Cloud page

Several things appeared in a single frame: the composer's model and
permission menus, every expandable section, Settings tabs, switching
chats and opening Memory. Each now has one short, purposeful arrival:
a menu rises 4px out of the button that opened it, a section grows to
its height, and a new view fades in without moving the text.

Sections in flex layout opened at once even with the ease, because a
flex item's automatic minimum height is its content; their content box
now has a zero minimum. The global reduced-motion rule did not reach
the section's content box, so it gains one rule. New layout tests
sample every frame: a section must pass through at least three
heights, and with reduced motion none.
Under load the section opened one frame later than the test allowed.
What matters is that it never passes through a height in between.
Connecting Google meant a form asking for 'OAuth client credentials'
with hints in Cloud Console jargon; nothing said a project, enabled
APIs and a sign-in screen were needed first. Every connector that needs
something from outside (Google, Microsoft personal and work, GitHub,
Slack, Discord, Notion, Brave Search, Tavily) now shows numbered steps:
a title, one line, and a button to the exact page, ending at the form.
GitHub's button opens the token page with the right scopes ticked.

The steps replace the long per-field hints and Slack's separate button;
the tenant ID keeps its hint, which says which of three IDs to copy.
With GAIA the only agent, the one-checkbox grant list is gone: it is
granted on connect, as before. On a phone every status drops below the
name, not just Connected, so a long name no longer strands its chevron.
@github-actions github-actions Bot added the electron Electron app changes label Nov 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

This replaces the jargon-heavy connector forms with short numbered steps and a button that opens the right page. It covers Google, both Microsoft connectors, GitHub, Slack, Discord, Notion, Brave and Tavily, in English and Arabic. The code is clean, the links go through the URL sanitizer, and connectors without a guide are unchanged. Two small gaps are worth closing before merge:

  • Work/school Microsoft users lose the "leave Client Secret blank" hint. The personal guide says it, but the work guide doesn't, and the field's own hint is now hidden. Someone who creates a secret in Azure and pastes it will get a Microsoft sign-in error. Add one sentence to the work guide's paste step.
  • The Google and Microsoft connector docs still describe the "Grant access to these agents" checkboxes as always shown. The panel now hides them when GAIA is the only agent. Update both pages to say the checkboxes appear only when more than one installed agent can use the connector.

This diff also carries the motion changes from #8280. They are reviewed here only as far as they touch this feature.

Real-world evidence

N/A: no evidence bundle was produced for this run. The PR description embeds screenshots of the new steps in the packaged Electron app, the browser and a 375 px phone layout, with before/after for the narrow-screen status fix. The author notes that real sign-ins weren't exercised. Apart from those screenshots, the verdict rests on static review.

🔍 Technical details

Issues

🟡 microsoft_work guide drops the client-secret guidance (ConnectorGuide.tsx:39-43, en.ts/ar.ts guide.microsoftWork.pasteBody). showsFieldHint hides every microsoft_work field hint except tenant_id (KEPT_HINTS). That includes connectors.microsoft_work.client_secret.help ("Leave blank … Microsoft forbids a secret there"). The personal guide covers this with "Leave Client Secret empty", but the work guide has no equivalent. A public client that sends a secret fails at the token exchange (AADSTS700025). Either add client_secret to KEPT_HINTS.microsoft_work, or extend the copy:

    'guide.microsoftWork.pasteBody': 'Copy the Application (client) ID and Directory (tenant) ID from the app’s Overview page. Leave Client Secret empty.',

(Update ar.ts to match, e.g. append اترك Client Secret فارغًا.)

🟡 Doc drift: the grant-on-connect block is now conditional. ConnectorsSection.tsx:772 adds askGrants = grantableAgents.length > 1. Two docs still say the panel always shows the block:

  • docs/connectors/google.mdx:237-244 ("shows "Grant access to these agents when you connect" with a default-on checkbox per installed agent")
  • docs/connectors/microsoft.mdx:131-136 (same claim)

The behaviour itself is preserved, because grantSel still defaults to all grantable agents (ConnectorsSection.tsx:607-610), so GAIA is granted on connect. Only the description is stale. Suggested wording: "When more than one installed agent declares Google access, the connect panel shows …; with only GAIA, it is granted automatically."

🟢 Work-guide step implies the tenant ID is always required. guide.microsoftWork.registerBody steers users to single-tenant ("this organizational directory only"), so asking for both IDs is right for that path. The kept tenant_id hint still says "Optional", though, which reads as a mild contradiction. Consider "…and, for a single-organization app, the Directory (tenant) ID".

Checked, no issue

  • Hidden grant UI: the selection state still defaults to every grantable agent, so connect-time grants are unchanged.
  • setup_url links pass through safeUrlTransform, and a step whose link resolves empty renders no button. No XSS or javascript: path was found.
  • MCP guide shows only when the connector is unconfigured and keyed (mcpGuided). Keyless servers (Git, Memory) and custom servers keep the old UI.
  • All new strings go through useT with Arabic. The step number is wrapped in <bdi dir="ltr">, and the external-link icon is mirrored in RTL.
  • Tests: the i18n test, the MCP configure test and the RTL visual scene are updated to the new structure. The visual scene asserts the old setup link and long hint are gone.

Strengths

  • Step styling reuses the Discord setup's classes through selector lists instead of copying CSS.
  • showsFieldHint keeps the decision about which field hints a guide replaces in one place, and the tenant-ID exception is deliberate.
  • The reduced-motion ::details-content override closes a real gap the * rule doesn't reach.

Flex in both states keeps the grow-open ease, but closed, the hidden
content box is still a flex item, so the gap made each closed section
3px taller. The gap now applies only when open.
@kovtcharov

Copy link
Copy Markdown
Contributor Author

Addressed all three:

  • Client secret: the work guide's paste step now ends "Leave Client Secret empty.", so a work/school user won't paste a secret and hit the sign-in error.
  • Tenant ID: the step now asks for it "for a single-organization app", matching the field's own hint.
  • Docs: the Google and Microsoft connector guides now say the grant checkboxes appear only when more than one installed agent can use the connector, and are hidden when GAIA is the only one.

Also merged in #8280's latest fix (no gap under a closed section).

The work guide's paste step hid the field hint that said so; a secret
pasted for a desktop app fails Microsoft's sign-in. It now says so, and
asks for the tenant ID only for a single-organization app, matching the
field's own hint. The Google and Microsoft guides now say the grant
checkboxes appear only when more than one agent can use the connector.
kovtcharov-amd and others added 2 commits November 16, 2026 17:15
The Discord step listed only View Channels and Read Message History, so a bot
set up from it could read but not send or react, though the connector does both.
It now names all four permissions from the setup doc, and a test keeps the
guides tied to the docs, the catalog ids and both locales.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

The Discord step only asked for View Channels and Read Message History, so a bot set up from it couldn't send messages or react, though the connector does both. It now lists all four permissions from the Discord setup doc. Also merged main, which fixes the red unit test (the skill-catalogue size check, fixed on main by #8289).

🔍 Technical details
  • guide.discord.inviteBody (en + ar) now names Send Messages and Add Reactions, matching docs/connectors/discord.mdx step 4.
  • New ConnectorGuide.test.tsx: guide ids must exist in the Python catalog; every step string has English and a distinct Arabic; links are https and survive safeUrlTransform; the Discord step names every permission the doc lists (checked to fail on the old text); the GitHub link's scopes match the doc's repo + read:user; both Microsoft guides say to leave Client Secret empty; a javascript: or missing Slack setup_url keeps the step but drops the button.
  • The other step texts, URLs and field names were checked against the catalog and docs/connectors/*.mdx; no other mismatch. The grant-on-connect selection still defaults to every grantable agent, so connect behaviour is unchanged.

kovtcharov-amd added a commit that referenced this pull request Nov 18, 2026
People can now connect several Google and Microsoft accounts at once
(#8331), but the Agent UI still showed only the default address, and it
kept calling a dead sign-in "Connected". With this change Settings lists
every account with its own state: Reconnect when its sign-in expired,
Make default, and its own Disconnect, which names the address before
removing it. Chat cards offer to reconnect the exact account that failed
instead of connecting the provider again. Email approvals show the
sending account on its own translated row. Someone with one account sees
the same card plus an "Add another Google account" link.

Builds on #8331. Review only the two `webui` commits on top of it.
Kalin's #7577 and #8281 rewrite the Connectors page; the account list
lives in its own component so it can move into that layout when one of
them lands first.

<table>
<tr><th>Before</th><th>After</th></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-settings-three-accounts-en.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-three-accounts-en.png"
width="420"></td></tr>
<tr><td colspan="2">Three Google accounts, one expired. Before: only the
default shows, as "Connected". After: each account, its state and its
actions.</td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-settings-three-accounts-ar.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-three-accounts-ar.png"
width="420"></td></tr>
<tr><td colspan="2">The same in Arabic.</td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-settings-one-account-en.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-one-account-en.png"
width="420"></td></tr>
<tr><td colspan="2">One account: unchanged except the "Add another
Google account" link.</td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-approval-from-en.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-approval-from-en.png"
width="420"></td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-approval-from-ar.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-approval-from-ar.png"
width="420"></td></tr>
<tr><td colspan="2">Email approval: the sending account gets its own
row, with labels in the UI language.</td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-disconnect-dialog-en.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-disconnect-dialog-ar.png"
width="420"></td></tr>
<tr><td colspan="2">Disconnecting one account names it and says the
others keep working.</td></tr>
</table>

### Disconnecting several accounts at once

If a Disconnect would remove more than one account, GAIA now lists them
and asks first. Before, it showed a raw server error.

| Before | After | After (Arabic) |
|---|---|---|
| <img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/pr3/before-disconnect-all-en.png"
width="300"> | <img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/pr3/after-disconnect-all-en.png"
width="300"> | <img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/pr3/after-disconnect-all-ar.png"
width="300"> |

## Test plan
- [ ] `cd src/gaia/apps/webui && npm test`: the new account tests for
Settings, the chat Connect card, the email Connect button, the retry
banner and the approval card pass
- [ ] `npm run test:rtl`: the connector scenes (several accounts with
one expired and the dialog open; one account) and the approval From row
pass in English and Arabic
- [ ] `pytest tests/unit/agents/tools/test_connect_card.py` passes (the
card can now name the account that failed)
- [ ] With one Google account connected, Settings › Connectors › Google
looks as before plus "Add another Google account"
- [ ] Add a second Google account from that link: the tile says "2
accounts", each row has Make default and Disconnect, and disconnecting
one asks first and leaves the other working
- [ ] Revoke one account's access at myaccount.google.com and ask GAIA
to read mail: that row shows "Sign-in expired" with Reconnect, and
Reconnect brings it back

---------

Co-authored-by: Kalin Ovtcharov <[email protected]>
# Conflicts:
#	src/gaia/apps/webui/src/components/ConnectorsSection.tsx
@kovtcharov-amd
kovtcharov-amd merged commit 2d584e6 into amd:main Nov 19, 2026
72 of 74 checks passed
@kovtcharov-amd kovtcharov-amd mentioned this pull request Nov 19, 2026
kovtcharov-amd added a commit that referenced this pull request Nov 19, 2026
# 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)
rapuckett pushed a commit to rapuckett/gaia that referenced this pull request Nov 19, 2026
People can now connect several Google and Microsoft accounts at once
(amd#8331), but the Agent UI still showed only the default address, and it
kept calling a dead sign-in "Connected". With this change Settings lists
every account with its own state: Reconnect when its sign-in expired,
Make default, and its own Disconnect, which names the address before
removing it. Chat cards offer to reconnect the exact account that failed
instead of connecting the provider again. Email approvals show the
sending account on its own translated row. Someone with one account sees
the same card plus an "Add another Google account" link.

Builds on amd#8331. Review only the two `webui` commits on top of it.
Kalin's amd#7577 and amd#8281 rewrite the Connectors page; the account list
lives in its own component so it can move into that layout when one of
them lands first.

<table>
<tr><th>Before</th><th>After</th></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-settings-three-accounts-en.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-three-accounts-en.png"
width="420"></td></tr>
<tr><td colspan="2">Three Google accounts, one expired. Before: only the
default shows, as "Connected". After: each account, its state and its
actions.</td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-settings-three-accounts-ar.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-three-accounts-ar.png"
width="420"></td></tr>
<tr><td colspan="2">The same in Arabic.</td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-settings-one-account-en.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-one-account-en.png"
width="420"></td></tr>
<tr><td colspan="2">One account: unchanged except the "Add another
Google account" link.</td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-approval-from-en.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-approval-from-en.png"
width="420"></td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-before-approval-from-ar.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-approval-from-ar.png"
width="420"></td></tr>
<tr><td colspan="2">Email approval: the sending account gets its own
row, with labels in the UI language.</td></tr>
<tr><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-disconnect-dialog-en.png"
width="420"></td><td width="420"><img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/ui-after-settings-disconnect-dialog-ar.png"
width="420"></td></tr>
<tr><td colspan="2">Disconnecting one account names it and says the
others keep working.</td></tr>
</table>

### Disconnecting several accounts at once

If a Disconnect would remove more than one account, GAIA now lists them
and asks first. Before, it showed a raw server error.

| Before | After | After (Arabic) |
|---|---|---|
| <img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/pr3/before-disconnect-all-en.png"
width="300"> | <img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/pr3/after-disconnect-all-en.png"
width="300"> | <img
src="https://raw.githubusercontent.com/tylerbea/gaia/pr-assets-multi-account/pr3/after-disconnect-all-ar.png"
width="300"> |

## Test plan
- [ ] `cd src/gaia/apps/webui && npm test`: the new account tests for
Settings, the chat Connect card, the email Connect button, the retry
banner and the approval card pass
- [ ] `npm run test:rtl`: the connector scenes (several accounts with
one expired and the dialog open; one account) and the approval From row
pass in English and Arabic
- [ ] `pytest tests/unit/agents/tools/test_connect_card.py` passes (the
card can now name the account that failed)
- [ ] With one Google account connected, Settings › Connectors › Google
looks as before plus "Add another Google account"
- [ ] Add a second Google account from that link: the tile says "2
accounts", each row has Make default and Disconnect, and disconnecting
one asks first and leaves the other working
- [ ] Revoke one account's access at myaccount.google.com and ask GAIA
to read mail: that row shows "Sign-in expired" with Reconnect, and
Reconnect brings it back

---------

Co-authored-by: Kalin Ovtcharov <[email protected]>
rapuckett pushed a commit to rapuckett/gaia that referenced this pull request Nov 19, 2026
…amd#8281)

Connecting Google meant a form asking for "OAuth client credentials",
with hints in Cloud Console jargon; nothing said you first need a
project, enabled APIs and a sign-in screen. Every connector that needs
something from outside now walks you through it in short numbered steps:
a title, one line, and one button to the exact page, ending at the form.
That covers Google, Microsoft (personal and work), GitHub, Slack,
Discord, Notion, Brave Search and Tavily. GitHub's button opens the
token page with the right scopes already ticked.

Builds on amd#8280 (motion); review that first.

| Google, desktop app | GitHub, browser | Google, phone |
|---|---|---|
| ![Google steps in
Electron](https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/ux/conn_google_electron.png)
| ![GitHub
steps](https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/ux/conn_github_web.jpg)
| ![Google steps on a
phone](https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/ux/conn_google_phone.jpg)
|

- **Less text, not less help.** The steps replace the long hints under
each field and Slack's separate button. The tenant ID keeps its hint,
because it says which of three similar IDs to copy.
- **No pointless choice.** With GAIA the only agent, the one-checkbox
"Grant access to these agents" block is gone; GAIA is still granted on
connect, exactly as before.
- **Phone layout.** Every status now drops below the name on narrow
screens, not only "Connected", so a long name no longer strands its
chevron on its own line.
[before](https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/ux/conn_list_phone_before.jpg)
·
[after](https://raw.githubusercontent.com/kovtcharov/gaia/qa-evidence-rc29/testing/ux/conn_list_phone_after.jpg)

Checked in the packaged Electron 45 app with this build swapped in, in
the browser, and at 375 px. An empty submit still says "Required: OAuth
Client ID, OAuth Client Secret". I did not save real tokens, so the
sign-ins themselves aren't exercised here.

<details>
<summary>🔍 Technical details</summary>

- Steps live in `ConnectorGuide.tsx`, keyed by catalog id and condensed
from `docs/connectors/<id>.mdx`, which keeps the edge cases (the card's
"Learn more" link opens it). All text goes through `useT`, with Arabic.
- `showsFieldHint` decides which field hints a guide keeps; connectors
with no guide (Git, Memory, custom MCP servers) are unchanged.
- The step style is the Discord setup's, shared through selector lists
rather than copied.
</details>

## Test plan
- [ ] `cd src/gaia/apps/webui && npx vitest run`
- [ ] `npm run test:rtl` (the Slack scene now checks the four steps in
English and Arabic)
- [ ] Settings › Connectors › Accounts › Google: five steps, each button
opens the named Google Cloud page

---------

Co-authored-by: Kalin Ovtcharov <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
rapuckett pushed a commit to rapuckett/gaia that referenced this pull request Nov 19, 2026
# 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes electron Electron app changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants