Skip to content

fix(agents): stop saying a broken agent install is not installed - #4588

Merged
kovtcharov-amd merged 12 commits into
amd:mainfrom
aksh8b:fix-agent-chat-installation
Oct 6, 2026
Merged

kovtcharov-amd merged 12 commits into
amd:mainfrom
aksh8b:fix-agent-chat-installation

Conversation

@aksh8b

@aksh8b aksh8b commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Split agent-wheel import failures into "package genuinely missing" (the old not-installed hint) versus "package installed but won't import" (real error, both detected versions, and a source-install command pinned to the installed core tag), so a version-skewed install is no longer misdiagnosed and the hint's fix can't recreate the skew.

Why

gaia-agent-chat from the repo's main imports gaia.config.gaia_home (added in #4381), which the released core — 0.24.1 — does not export. Following the error message's own advice therefore breaks gaia chat, yet every agent entry point reported any ImportError as "The chat agent is not installed" and told the user to reinstall from the same unpinned source — which created the same mismatch again.

Linked issue

Closes #4586

Changes

  • gaia/agents/install_hints.py: new agent_import_error_message() routes ModuleNotFoundError naming the wheel's top-level package to agent_not_installed_message(); anything else produces a failed-import message containing the real error, both detected package versions, and the pinned reinstall command.
  • source_install_command() now pins @v<installed amd-gaia> instead of pulling main against a released core.
  • All call sites (src/gaia/cli.py, ui/server.py, ui/agent_loop.py, ui/_chat_helpers.py, and the five eval/ modules) route through the dispatcher; the eval sites' redundant Original import error: next_step lines were dropped since the message now carries the error.
  • hub/agents/chat/python/tests/test_chat_dependency_floor.py gains a gaia_home import guard mirroring the fix(email): amd-gaia dependency floor (>=0.20.0) is below the code's real requirement — fresh installs ImportError #2112 registry-symbol guard; pyproject.toml records why the floor itself can't be raised until the core release containing Honor GAIA_HOME for cache chat and index write paths #4381 ships.

Test plan

  • pytest tests/unit/agents/test_install_hints.py hub/agents/chat/python/tests/test_chat_dependency_floor.py — 17 passed
  • gaia chat with gaia-agent-chat installed from the wrong ref now prints "installed but could not be imported" with both versions, not "not installed"

Evidence

  • Agent exposed in the Agent UI (Chat, Email, …) — N/A: the message text itself changes, no UI surface rendering.
  • MCP tools / servers — N/A: no MCP surface touched.
  • CLI — the command and its actual output:
$ gaia chat
# before: Error executing chat: The chat agent is not installed. The `gaia-agent-chat` package isn't published yet ...
# after (same skew, dispatcher output):
The chat agent is installed, but it could not be imported.
Detected versions: gaia-agent-chat 0.1.0, amd-gaia 0.24.1
Import error: ImportError: cannot import name 'gaia_home' from 'gaia.config'
...
`...pip install "gaia-agent-chat @ git+https://github.com/amd/[email protected]#subdirectory=hub/agents/chat/python"`
  • HTTP API / REST — N/A: no REST surface touched.

Checklist

  • I have linked a GitHub issue above (Closes #N / Fixes #N / Refs #N) — replace N when the issue opens.
  • I have described why this change is being made, not just what changed.
  • I have run linting and tests locally (python util/lint.py --all, pytest tests/unit/).
  • I have attached real-world evidence matched to the surface I changed, or marked each surface N/A.
  • I have updated documentation if user-visible behavior changed — no doc changes needed.

A user who follows the error message's own advice — pip installing
``gaia-agent-chat`` from the repo's main branch — ends up with a
``gaia chat`` that says "The chat agent is not installed", and
re-following the advice reproduces the same failure. Main's agent
imports ``gaia.config.gaia_home``, which the released core (0.24.1)
doesn't ship, and every agent call site reported *any* ImportError as a
missing package. An ImportError from a skewed or broken wheel now says
the package is installed but will not import, prints both detected
versions plus the original error, and points at a source-install
command pinned to the running core's tag. Genuinely absent wheels still
get the old not-installed hint, and the chat wheel's floor test gains a
``gaia_home`` import guard; the floor itself can't be raised until the
release containing amd#4381 ships.

## Test plan
- [x] `pytest tests/unit/agents/test_install_hints.py hub/agents/chat/python/tests/test_chat_dependency_floor.py` — a version-skew ImportError (real failed import of an unexported symbol) reports the versions and the pinned tag command, a transitive ModuleNotFoundError no longer reads as 'not installed', a ModuleNotFoundError naming the wheel keeps the old hint, and the floor test now also imports ``gaia.config.gaia_home``
- [ ] `gaia chat` with ``gaia-agent-chat`` installed from the wrong ref prints "installed but could not be imported" with both versions — not "not installed"
@aksh8b
aksh8b requested a review from kovtcharov-amd as a code owner October 3, 2026 22:18
@github-actions github-actions Bot added cli CLI changes eval Evaluation framework changes tests Test changes performance Performance-critical changes agents labels Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

Before this PR, an agent package that was installed but wouldn't load (usually because it was built for a newer GAIA core than the one installed) was reported as "not installed". The suggested fix then reinstalled the same mismatched build. Now that case reports the real import error and both package versions, and every reinstall command is pinned to the release tag of the installed core, so following the hint no longer recreates the mismatch. The split between "missing" and "broken" is correct, every call site was updated, and the tests use real failed imports.

Nothing blocks the merge. One thing to consider: the pinned command also applies to developers running GAIA from a checkout of main. Their core still reports the last release number, so the hint will tell them to install the older released agent against a newer core, which is the reverse of the same mismatch.

Real-world evidence

N/A here: no evidence bundle was produced for this run, and this environment has no GAIA install, so I couldn't run the tests or the CLI. The verdict rests on static review. The PR description shows a CLI before/after for gaia chat, but parts of it are elided (...), and its own test-plan item for that run is still unchecked. A full paste of the real gaia chat output from the broken-install state would close that gap.

🔍 Technical details

Issues

🟢 The tag pin misleads source/editable installs (src/gaia/agents/install_hints.py:63)

  • __version__ is hardcoded to 0.24.1 on main, so an editable install of trunk gets @v0.24.1 and is told to install the older wheel against a newer core.
  • source_install_command also feeds gaia init's completion note (installer/init_command.py:1900) and the gaia-agent-gaia hint (api/agent_registry.py:171), so the change reaches beyond the import-error path.
  • I confirmed tag v0.24.1 exists and contains hub/agents/{chat,email,gaia}, so released installs are fine.
  • Possible fix: detect an editable core (as InitCommand already does with Editable project location:) and suggest pip install -e hub/agents/<subdir>/python there.

🟢 Unpinned fallback when core metadata is missing (install_hints.py:63-64)

  • If importlib.metadata can't find amd-gaia (for example, running from src/ on PYTHONPATH), ref becomes "" and the command silently falls back to main, which is the skew this PR is fixing.
  • This is rare, but a one-line comment, or naming the fallback in the message, would make it intentional rather than accidental.

🟢 f-string with no placeholder (tests/unit/agents/test_install_hints.py:53)

        assert "git+https://github.com/amd/gaia.git@v" in cmd

🟢 The new floor guard can't fail in this repo (hub/agents/chat/python/tests/test_chat_dependency_floor.py:45)

  • The root conftest pins the checkout's own src/, which always exports gaia_home, so this test only catches anything when the wheel is tested against an installed released core.
  • That's fine as a tripwire. A docstring line saying when it actually fires would stop someone deleting it as redundant.

Strengths

  • The routing rule is narrow and correct: only a ModuleNotFoundError naming the wheel's own top-level package counts as "not installed". A missing transitive dependency or a skewed-symbol ImportError is reported as broken.
  • The tests trigger real ImportError / ModuleNotFoundError instead of stubbing them, and the one constructed case explains why.
  • Dropping the eval sites' redundant Original import error: lines avoids repeating the error now that the message carries it.

aksh8b added 2 commits October 4, 2026 04:07
A plain `pip install` for the pinned wheel can leave the same 0.1.0 in
place (editable/local-dir installs, a ref the installed record can't be
told apart from), leaving the failed-import clear of nothing. The
failed-import message now recommends `--force-reinstall` so the
repair unconditionally replaces the skewed copy; the not-installed
hint still pins the ref without the flag.

## Test plan
- [x] pytest tests/unit/agents/test_install_hints.py - asserts the pinned command in the failed-import message now carries --force-reinstall
- [ ] Run the printed command on a box with a skewed wheel and confirm it replaces the install
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

🟡 The new --force-reinstall hint reinstalls the whole dependency tree, not just the broken agent. Without --no-deps, pip also reinstalls amd-gaia and its heavy dependencies. Because it skips the already-installed check, it fetches the newest amd-gaia from PyPI. For a developer with an editable core, that replaces the checkout install with a released wheel. For a released install, it can move the core past the tag the hint just pinned, which recreates the version skew this PR fixes. Add --no-deps so only the agent wheel is replaced.

🔍 Technical details

src/gaia/agents/install_hints.py:65: --force-reinstall makes pip reinstall every package in the resolved set. Pairing it with --no-deps limits the reinstall to the named requirement, which is the usual way to repair a single package.

    flag = "--force-reinstall --no-deps " if force_reinstall else ""

The assertion in tests/unit/agents/test_install_hints.py ("--force-reinstall" in message) still passes. Consider also asserting --no-deps so this can't regress.

aksh8b and others added 2 commits October 4, 2026 16:53
--force-reinstall alone reinstalled amd-gaia and its heavy deps (and for editable cores replaced the checkout with a released wheel, recreating the skew). --no-deps limits the repair to the agent wheel.
@aksh8b

aksh8b commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

@kovtcharov Kindly see if this looks good now

@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

#4587 (the automated duplicate) is now closed in favor of this PR.

This PR itself can't merge yet — it now conflicts with main, and not just mechanically. main picked up an unrelated rewrite of install_hints.py (#4617, merged after your last rebase here) that replaced the hardcoded sys.executable -m pip install ... in source_install_command() with an environment-aware pip_install_hint() (falls back to uv pip install --python <interpreter> when pip isn't importable, which matters for the installer's venv). Your version-pinning (@v<core>) and --force-reinstall --no-deps logic needs to be re-threaded through that new shape rather than reapplied to the old one, and the pre-#4617 assertions in TestSourceInstallCommand (e.g. cmd.startswith(f"{sys.executable} -m pip install ")) will need updating to match.

CI on this branch was gated behind manual approval (first-time contributor) — approved the Unit Tests and Lint runs so you have real signal on the current (pre-rebase) state while you work on the merge.

🔍 Technical details
  • Conflicting files on rebase: src/gaia/agents/install_hints.py, src/gaia/cli.py (one import-line hunk only), tests/unit/agents/test_install_hints.py.
  • main's source_install_command(wheel) now calls pip_install_hint(f"{wheel} @ git+{_REPO_URL}#subdirectory=..."), which resolves to resolve_pip_frontend().display + args. To keep both fixes, the pinned @v<core> ref and --force-reinstall --no-deps need to become part of the args passed into pip_install_hint, not a separately formatted string.
  • main also already added editable_gaia_root() (PEP 610 direct_url.json check) for a different call site (gaia_extras_install_args). Reusing it in source_install_command would also close the earlier review nit about editable/trunk installs getting a misleading tag pin — worth doing in the same pass since you're touching this function anyway.
  • The two outstanding review nits from the earlier pass (editable-core tag mismatch, the no-op f-string in test_install_hints.py:414) are still unaddressed but non-blocking.

- source_install_command now builds on pip_install_hint (resolve_pip_frontend)
- Version pin + --force-reinstall --no-deps re-threaded through that shape
- agent_import_error_message/agent_wheel_failed_message kept; callsites updated
- Test in SourceInstallCommand adapted to pip_install_hint fixtures
@aksh8b

aksh8b commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@v<core> pin and --force-reinstall --no-deps now thread through pip_install_hint() instead of being hardcoded strings. About asserts in TestSourceInstallCommand, the pin is part of the requirement argument, not the install command itself, so startswith on the prefix is completely unaffected by whether CHAT_SPEC includes @v{version} or not. The assertions that did need to stay correct are the ones checking for CHAT_SPEC itself (f'"{CHAT_SPEC}"' in cmd and cmd.endswith(f'"{CHAT_SPEC}"')) and those use the CHAT_SPEC constant, so they automatically track the pin.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

🟡 gaia chat on a machine without the GAIA agent now gets the wrong diagnosis and a fix that doesn't work. The flagship wheel's Python package is gaia_agent, not gaia_agent_gaia, so the "is it really missing?" check never matches. A brand-new user who hasn't installed the agent is told it "is installed, but it could not be imported" with version unknown. The suggested command adds --no-deps, which skips the agent's required gaia-agent-chat dependency, so the next gaia chat fails again. Match on the wheel's real top-level package instead of deriving it from the wheel name, and add a test for the gaia-agent-gaia case.

🔍 Technical details
  • src/gaia/agents/install_hints.py (agent_import_error_message): top_level = wheel.replace("-", "_") yields gaia_agent_gaia. The package ships as hub/agents/gaia/python/gaia_agent/. When it's absent, cli.py:580 and cli.py:945 raise ModuleNotFoundError(name="gaia_agent"), which falls through to agent_wheel_failed_message.
  • That path calls source_install_command(..., force_reinstall=True), which emits --force-reinstall --no-deps. gaia-agent-gaia declares gaia-agent-chat>=0.1.0 as a hard dependency (hub/agents/gaia/python/pyproject.toml:33), so a fresh install made with --no-deps is left without gaia_agent_chat.
  • When gaia_agent imports but gaia_agent_chat is missing (name gaia_agent_chat), this wheel should also be treated as "not installed / missing dependency" and the hint should not include --no-deps.
  • Suggested fix: keep an explicit map from wheel to top-level package ({"gaia-agent-gaia": "gaia_agent", ...}) next to _AGENT_SOURCE_SUBDIRS, and treat a missing sibling agent wheel as not-installed. Existing tests only cover gaia-agent-chat, where the name happens to line up.

aksh8b and others added 5 commits October 5, 2026 23:18
A missing flagship agent package was misdiagnosed because its import name differs from its wheel name. Missing required dependencies now prompt installation of the flagship wheel with dependency resolution enabled.
# Conflicts:
#	src/gaia/ui/agent_loop.py
#	src/gaia/ui/server.py
The release raises the chat package's floor to amd-gaia 0.25.0, which ships gaia.config.gaia_home, so a note asking to raise it once that ships would be stale on arrival.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 6, 2026
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Thanks @aksh8b — your fix for the review point (mapping gaia-agent-gaia to gaia_agent, and sending a missing gaia-agent-chat to a normal install with dependencies) already covered it. I merged main in to clear the conflicts: the background loop and scheduled runs now start the flagship agent, so those two call sites use your agent_import_error_message with gaia-agent-gaia. I also dropped the pyproject.toml note about raising the chat package's floor, since the v0.25.0 release raises it to 0.25.0. It's queued to merge once CI passes.

Merged via the queue into amd:main with commit f2e55af Oct 6, 2026
kovtcharov-amd added a commit that referenced this pull request Oct 6, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@kovtcharov-amd kovtcharov-amd mentioned this pull request Oct 6, 2026
5 of 10 tasks
grtninja pushed a commit to grtninja/gaia that referenced this pull request Oct 6, 2026
# GAIA v0.25.0 Release Notes

## Breaking Changes

- **`gaia chat` runs the flagship GAIA agent**, the same agent as the
TUI and Agent UI, instead of the retired ChatAgent. `gaia chat -q "…"`
queries it once. (PR [amd#4520](amd#4520))
- **`gaia talk` transcribes and speaks through Lemonade** — it uses
Lemonade's Whisper and `kokoro-v1`, and stops with the reason if
Lemonade is down. The `[audio]` extra is gone; `pip install
amd-gaia[audio]` only warns. (PR
[amd#4665](amd#4665))
- **The Agent UI runs only the GAIA agent** — the Agent Hub home, agent
picker, and custom-agent export/import are removed from the UI. The CLI
and eval harness can still run other agents. (PR
[amd#4509](amd#4509))
- **The retired nomic embedder is removed** — memory saved with it is
re-embedded on first start. (PR
[amd#4489](amd#4489))
- **Indexed documents are re-indexed once** — the document cache is now
keyed on chunking settings, so the first query after upgrading rebuilds
it. (PR [amd#4624](amd#4624))
- **A skill that asks for more than its tier allows no longer loads** —
the permission ceiling is checked at every load, so a skill already on
disk that exceeds it is refused with the reason. (PR
[amd#4849](amd#4849))

## What's New

- **A larger local model where the GPU holds it** — `gaia init` picks
Qwen3.6-35B-A3B on a 64 GB+ Strix Halo or a 32 GB GPU and keeps
Gemma-4-E4B elsewhere, with each context window sized to available
memory. Qwen3.8 Flash Next is opt-in on 128 GB Strix Halo. (PRs
[amd#4479](amd#4479),
[amd#4670](amd#4670),
[amd#4671](amd#4671),
[amd#4658](amd#4658),
[amd#4655](amd#4655))
- **The Agent UI opens straight to a chat and sets itself up** — a fresh
install runs the same setup steps as the TUI in the window, with
provider, key and model settings, permission modes, and revocable
"always allow" grants. (PR
[amd#4509](amd#4509))
- **A much smaller install** — PyTorch, transformers and accelerate are
gone from the core, `[ui]` and `[talk]` installs; the desktop app's
Python environment drops from ~0.9 GB to ~0.1 GB on Windows. (PRs
[amd#4666](amd#4666),
[amd#4621](amd#4621),
[amd#4665](amd#4665))
- **One Windows installer for the desktop app and the terminal**, with a
GAIA Windows Terminal profile. (PRs
[amd#4720](amd#4720),
[amd#4707](amd#4707))
- **A "no" holds** — a declined action isn't retried through another
tool; the agent asks again with the exact command. The TUI gains
Shift+Tab permission modes. (PRs
[amd#4460](amd#4460),
[amd#4461](amd#4461))
- **Answers are checked against what the tools actually did** — the
agent looks at files you name before answering about them, and a short
plain-English note appears only when work isn't confirmed. (PRs
[amd#4532](amd#4532),
[amd#4501](amd#4501),
[amd#4508](amd#4508))
- **One shell session** — commands share a persistent shell, risky ones
ask instead of being refused, and "full access" is one setting
everywhere. (PR [amd#4408](amd#4408))
- **Memory surfaces what's relevant to each request, with its age**,
keeps what fixed a failure as a lesson for that workspace, and extracts
after the answer instead of before it. (PRs
[amd#4061](amd#4061),
[amd#4066](amd#4066),
[amd#4406](amd#4406))
- **`gaia.log` stays bounded** — it rotates at 10 MB with three backups
(`GAIA_LOG_MAX_MB`, `GAIA_LOG_BACKUPS`). (PRs
[amd#4668](amd#4668),
[amd#4760](amd#4760))
- **Child processes get a trimmed environment** — shell, MCP and skill
children no longer inherit GAIA's internal credentials; `GAIA_NO_DOTENV`
skips loading `.env`. (PRs
[amd#4635](amd#4635),
[amd#4659](amd#4659))
- **Every file tool checks the allowed-folders rule**, and paths inside
an inline shell script are checked one by one. (PRs
[amd#4656](amd#4656),
[amd#4758](amd#4758))

## Bug Fixes

A selection of the user-visible fixes; the full list is in the changelog
below.

- **Local Qwen models no longer loop on repeated tool calls** — they run
with their model card's sampling instead of near-greedy settings. (PR
[amd#4655](amd#4655))
- **Qwen3.6 runs on a Strix Halo with an older AMD driver** — it used to
crash on its first token, so `gaia init` failed; GAIA now turns off the
Vulkan path that crashes on those drivers only, and newer drivers keep
the faster path. (PR [amd#4674](amd#4674))
- **A long PDF no longer hangs or times out while indexing** — big
documents index in the background, and PDFs that only carry
owner-password restrictions now index. (PRs
[amd#4754](amd#4754),
[amd#4679](amd#4679),
[amd#4734](amd#4734))
- **Document answers cite the right document and page**, and every chunk
is embedded whole instead of its first 1,200 characters. (PRs
[amd#4688](amd#4688),
[amd#4723](amd#4723))
- **`gaia init` fails when model verification fails**, shows downloads
live, and no longer hangs while Lemonade hashes a large model. (PRs
[amd#4620](amd#4620),
[amd#4564](amd#4564),
[amd#4673](amd#4673))
- **`gaia init` adds a profile's extras without reinstalling GAIA**,
which failed on Windows while `gaia.exe` was running. (PR
[amd#4672](amd#4672))
- **Every SDK and CLI entry point starts GAIA's own Lemonade**, and
every call goes to the resolved URL with its API key. (PRs
[amd#4657](amd#4657),
[amd#4627](amd#4627))
- **Local chat stays cached across turns** — the system prompt is fixed
and side requests no longer evict the conversation. (PRs
[amd#4698](amd#4698),
[amd#4543](amd#4543))
- **A cloud model selection never preloads a local model**, and cloud
models no longer get llama.cpp-only fields. (PRs
[amd#4757](amd#4757),
[amd#4709](amd#4709))
- **The Agent UI stops claiming "100% local" while chat goes to a cloud
model**, and the chat header names the session's real model. (PRs
[amd#4711](amd#4711),
[amd#4550](amd#4550))
- **Enter can't approve a permission prompt**, and prompts wait 10
minutes before timing out. (PRs
[amd#4700](amd#4700),
[amd#4699](amd#4699))
- **Stopping a run keeps the turn and its steps visible.** (PR
[amd#4743](amd#4743))
- **A file edit keeps the file's line endings** — a one-line edit on
Windows used to rewrite every line ending, so a small change showed up
as the whole file changed. (PR
[amd#4864](amd#4864))
- **A broken agent install is reported as broken, not as missing** — the
error names both package versions and the real import error, and
suggests a reinstall that works. (PR
[amd#4588](amd#4588))
- **A meeting or document summary is never cut off mid-sentence** — a
thinking model used to spend the summary's output budget reasoning, so a
long meeting lost its second half. (PR
[amd#4827](amd#4827))
- **"What can you do?" gets an answer** instead of an attempt to
generate an image of the question. (PR
[amd#4809](amd#4809))
- **Writes and approved edits can't reach credential folders**
(`~/.ssh`, `~/.aws`, `~/.kube` and others), and shell option values and
script arguments get the same path check as plain paths. (PRs
[amd#4848](amd#4848),
[amd#4847](amd#4847))
- **`gaia connectors connect google --grant-agent installed:gaia`
works** — it used to fail with no sign-in link for the shipped agent; it
now asks for read-only Gmail and grants exactly that. (PR
[amd#4859](amd#4859))
- **A "no" to creating a folder also covers writing into it** — GAIA no
longer asks again to create the same folder a different way. (PR
[amd#4857](amd#4857))
- **`gaia skill import` runs the same checks as a hub install** — https
only, the audit, the permission ceiling, and an explicit opt-in for
skills that ship code. (PR
[amd#4849](amd#4849))
- **Memory off and private chats apply to scheduled and background runs
too.** (PRs [amd#4842](amd#4842),
[amd#4821](amd#4821))
- **Memory stops false apologies and reusing deleted values**, saves
"remember this" requests, and skips loading the embedder when memory is
off. (PRs [amd#4708](amd#4708),
[amd#4756](amd#4756))
- **A reply cut off by the token limit is continued** instead of ending
mid-sentence, and a tool call cut off at the output cap is retried
shorter. (PRs [amd#4054](amd#4054),
[amd#4556](amd#4556))
- **The TUI remembers the chosen model** across restarts and
agent-process restarts. (PRs
[amd#4497](amd#4497),
[amd#4710](amd#4710))
- **`gaia uninstall --purge` removes installer binaries, PATH edits and
daemon state.** (PR [amd#4413](amd#4413))

## Contributors

Thanks to the community members who contributed to this release:

- [@itomek](https://github.com/itomek) — the flagship's browser and tool
picker, one shell session, memory extraction off the answer path, stale
tool-result eviction, the TUI's sourced Fireworks rankings, and
`--purge` cleanup (PRs [amd#4407](amd#4407),
[amd#4408](amd#4408),
[amd#4406](amd#4406),
[amd#4465](amd#4465),
[amd#4414](amd#4414),
[amd#4413](amd#4413))
- [@mikemikimike](https://github.com/mikemikimike) — chained shell
command timeouts, bundled skills in frozen builds, and sidecar cleanup
reporting (PRs [amd#4463](amd#4463),
[amd#4467](amd#4467),
[amd#4419](amd#4419))
- [@Hashim1999164](https://github.com/Hashim1999164) — honoring
`GAIA_HOME` for cache, chat and index paths (PR
[amd#4381](amd#4381))
- [@krtadev](https://github.com/krtadev) — `~` expansion in file and
document tool paths (PR [amd#4576](amd#4576))
- [@aksh8b](https://github.com/aksh8b) — telling a broken agent install
apart from a missing one, with a reinstall hint that works (PR
[amd#4588](amd#4588))
- [@Dev-next-gen](https://github.com/Dev-next-gen) — numeric prerelease
ordering in the hub (PR [amd#4517](amd#4517))
- [@vianmangal](https://github.com/vianmangal) — recording denied tool
calls as unsuccessful in memory (PR
[amd#4412](amd#4412))
- [@GaetanVDB07](https://github.com/GaetanVDB07) — links to upstream
credential setup guides for connectors (PR
[amd#4669](amd#4669))
- [@rradjabi](https://github.com/rradjabi) — moving self-hosted CI jobs
to the xsj-dispatch runner pool (PR
[amd#4534](amd#4534))




## Also in this PR

- **Hub floors raised to core 0.25.0** — the chat agent imports the
allowed-folders check that only 0.25.0 ships (amd#4656), so
`gaia-agent-chat` goes to 0.2.0 with `amd-gaia>=0.25.0`, and the
flagship requires `amd-gaia>=0.25.0` and `gaia-agent-chat>=0.2.0`.
- **Two follow-ups held back until that floor could rise** —
`~/.gaia/logs/gaia-agent.log` now rotates like `gaia.log` (amd#4668), and
the chat agent's Python runners and Windows notification start their
children without GAIA's internal credentials (amd#4659).

The full changelog (300 commits) is in `docs/releases/v0.25.0.mdx`.

## Test plan

- [x] `util/validate_release_notes.py docs/releases/v0.25.0.mdx --tag
v0.25.0` passes; narrative is 590 words (cap 600)
- [x] `util/check_component_core_api.py --release-version 0.25.0` passes
- [x] `pytest tests/unit/test_docs_json_release.py
tests/unit/test_check_component_core_api.py
hub/agents/chat/python/tests/test_chat_dependency_floor.py
hub/agents/chat/python/tests/test_dependency_floor.py
hub/agents/gaia/python/tests/test_gen_binaries_lock.py` (72 passed)
- [x] `pytest hub/agents/gaia/python/tests/test_stdio.py` (91 passed,
incl. the new rotation test); `pytest
tests/unit/test_execute_python_file_cwd.py
tests/unit/test_run_python_tool.py` (42 passed)
- [ ] `mintlify validate` (docs CI job) — timed out locally, relying on
CI
- [x] Full flagship eval on main 9ce6598
(https://github.com/amd/gaia/actions/runs/37436249503): 181/308
scenarios pass vs 100/183 for the same categories in the baseline, 39
FAIL→PASS, 13 PASS→FAIL (two fixed in amd#4878, held until after rc1);
retrieval lane still finishing at merge time
- [ ] CI green

## Release checklist

- [ ] Publish `gaia-agent-chat` 0.2.0 only after core 0.25.0 is on PyPI
— it fails at import on an older core
- [ ] Build Installers on the merged SHA (pre-tag verification) before
pushing `v0.25.0`
- [ ] terminal-hub 0.25.0 published before the flagship npm release
consumes `binaries.lock.json`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Kalin Ovtcharov <[email protected]>
grtninja pushed a commit to grtninja/gaia that referenced this pull request Oct 7, 2026
…ut from (amd#4868)

On a release candidate, the command GAIA prints to install or repair an
agent names a git tag that doesn't exist, so following it fails. Since
amd#4588 the command pins to `v<installed core version>`; an RC installs as
`0.25.0rc1` but is tagged `v0.25.0-rc1` (amd#4856). The pin now uses the
tag the core was actually released from, and a dev build, which has no
tag, keeps tracking trunk. Final releases are unchanged.

This needs to be in before the first `v0.25.0-rc` tag, or every RC
tester who needs the chat or flagship agent is handed a command that
errors.

## Test plan
- [x] `pytest tests/unit/agents/test_install_hints.py` — 39 passed;
covers final, four-part, RC and dev versions, and checks the RC mapping
against `util/release_tag.py` so the two can't drift
- [x] `pytest tests/unit -k "install_hint or not_installed or
source_install or release_tag"` — 95 passed
- [ ] On an RC install with no agent wheel, `gaia chat` prints a command
ending in `@v0.25.0-rc1#subdirectory=…` and that command installs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents cli CLI changes eval Evaluation framework changes performance Performance-critical changes tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: agent ImportError is misreported as "agent is not installed", and following the hint recreates the problem

2 participants