Skip to main content
Status: Built in the Agent UI. The terminal app gets the answers, not the controls. Someone who asks GAIA “how do I turn on dark mode?” used to get a guess. The model knows nothing about the app it runs in, so it described menus that don’t exist. Now GAIA looks the answer up in the app’s own guides, names the screen, and puts the control in the chat. How it looks to a user is in the Agent UI guide.

Principles

  1. The guides are the only source. GAIA answers from docs/guides/agent-ui*.mdx and docs/guides/tui.mdx, never from a second description that could drift.
  2. Loaded when asked. The help text reaches the model through one tool call. Every other turn pays for one short tool description and one prompt line.
  3. GAIA presents, the user changes. The agent has no tool that changes a setting. A control in the chat changes one only when the user clicks it.
  4. A control shows what is true. It reads the value from where the app keeps it when it draws, never from what the model wrote.
  5. Security settings get a way in, not a switch. Anything that widens what GAIA may do opens in Settings, where it is explained in full.

What was built

One tool: app_help(topic)

A new tool mixin, AppHelpToolsMixin (app_help in KNOWN_TOOLS), registered on the flagship’s full profile.
  • It searches a catalog of guide sections and returns the best three, each with its title and where in the app it applies.
  • Which guide it searches follows the app the user is in: the Agent UI guides in the Agent UI, the terminal guide in the terminal app, both elsewhere.
  • In the Agent UI the result also carries a card naming up to two controls and two places that match the topic. The model is told what is on screen and that nothing was changed.
  • It is on the short list of tools every session starts with. A question about the app reads as small talk to tool retrieval, so the tool would otherwise never be offered. One line in the tool rules says when to call it.
Both feature tiers get it. New users ask how the app works, and most of them run a compact model (Gemma 4 E4B, Qwen3.5), so withholding it there would miss the people it is for. It is one tool with one argument, and reads only bundled text.

The catalog

util/build_app_help.py cuts the guides into sections and writes src/gaia/agents/tools/app_help_sections.py, a plain module, so it ships in the wheel and the agent binary with no packaging rule. src/gaia/agents/tools/app_help.py holds the two short lists a guide can’t state: the places a button can open and the controls the chat may show. Three tests keep it honest:
  • the committed catalog equals what the script builds from today’s guides;
  • every place names a Settings tab the app has, by the same label;
  • every control and place the Python side can send, the app can draw, and the reverse.

The card: render: "app_help"

No new event type. The card rides tool_result.render, as the Connect card does: the stream handler lifts a well-formed app_card out of the tool’s result, so it works the same in-process and behind the daemon relay.
The card carries names only. It never carries a value, a label or a link, so nothing the model writes can change what a control says or does.

Controls the chat may show

The server-kept control reads GET /api/memory/settings when it draws and writes with PUT /api/memory/settings, the calls Settings already makes. Every card in a chat shares that one value, reads it again when Settings or the Memory page closes, and offers Retry when the read fails. The device-kept ones read and write the app’s own store, which is where they live. No endpoint was added. Read aloud is left out for now: it isn’t offered on macOS, so the control couldn’t be checked there.

Settings that never get a switch

Permission mode and full access, Local only and internet access, folder access, API keys and cloud providers, the custom model, the agent program, the model server, MCP servers and developer mode. Each maps to a place, so the card shows Open Settings for it. The app enforces this: it draws a control only for an id in its own table, so a card naming anything else gets no switch, whether it came from the agent, a relayed sidecar or a saved chat. On the agent’s side the list of controls is tested against a deny list, and only app_help’s result is lifted into a card. A card with no text after it is not an answer: the turn is reported as unanswered and the card stays. In the Agent UI the guide text reaches the model with its blocks of terminal commands removed and the rule to give the way inside the app, since a desktop install has no gaia command to type.

What each front-end gets

Evals to watch

The tool and one system-prompt line are new, so these categories can move: tool_selection, gaia_tool_selection, personality and gaia_core. The risk to watch is a general-knowledge question answered with app_help. The scenario gaia_tool_selection/select_app_help checks that both app questions call app_help, that a general question in between calls nothing, and that the answer never claims a setting was changed.

Not built

  • app_help for gaiacpp.
  • Controls in the terminal app.
  • A Read aloud control, and controls for Notifications.
  • Help for the multi-chat groups and the Developer screen, until their guides land. The catalog picks them up when it is rebuilt.