Skip to content

docs(hub/gaia): say the npx path still needs the gaia Python CLI - #6940

Merged
kovtcharov-amd merged 2 commits into
amd:mainfrom
DevShoaib78:docs/gaia-npm-python-cli-prereq
Nov 7, 2026
Merged

kovtcharov-amd merged 2 commits into
amd:mainfrom
DevShoaib78:docs/gaia-npm-python-cli-prereq

Conversation

@DevShoaib78

@DevShoaib78 DevShoaib78 commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

The npm README promised "No Python to install", then listed the gaia Python CLI as a hard requirement further down. Someone who trusted the intro ran npx @amd-gaia/gaia without the CLI and got a terminal UI with no daemon behind it. The intro now says the CLI is needed and links to Requirements, and SKILL.md's prerequisites section lists the CLI next to Lemonade, so an assistant following it learns about it up front instead of in the gotchas. The docs-site guide's npx tab and SKILL.md's install block now say the same.

Closes #3606

Test plan

  • python util/check_doc_links.py --internal-only passes
  • The two new links (Requirements in the README, Gotchas in SKILL.md) open the right headings on GitHub
  • grep -n "No Python to install" hub/agents/gaia/npm/README.md returns nothing
  • The npx tab in docs/guides/gaia.mdx names the Python CLI and its install commands

The npm README promised "No Python to install" and then listed the gaia
Python CLI as a requirement, so a reader who trusted the intro ran npx on a
machine without it and got a terminal UI with no daemon behind it. The intro
now points at the requirement, and SKILL.md lists the CLI next to Lemonade in
its prerequisites section instead of only in the gotchas.

Closes amd#3606
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

The npm package's intro no longer says "No Python to install". It now says up front that npx @amd-gaia/gaia still needs the gaia Python CLI, and the assistant playbook lists the CLI next to Lemonade as a prerequisite. The new text matches what the Requirements and Gotchas sections already said: the same 0.26.0 minimum and the same install commands. Both new links point at headings that exist.

Two other places still suggest npx is all you need, and both are worth fixing here:

  • The docs site's GAIA guide. Its "One command (npx)" tab says the command starts the daemon and opens a chat. It never mentions the CLI, so a reader who starts from the site hits the same broken first run this PR fixes.
  • Install section of the playbook. It still reads "no install step" a few sections above the new prerequisite.

Real-world evidence

N/A: docs-only change, and no evidence bundle was produced. The verdict rests on reading the diff and checking it against the rest of the package docs and the docs site.

🔍 Technical details

Issues found

🟡 Follow-up-sized, but simple enough to fold in: the docs site still implies npx alone is enough (docs/guides/gaia.mdx:47-53). The npx tab says it "starts the GAIA daemon plus the agent, and drops you at a chat prompt", with no mention that the daemon comes from the Python CLI. This is the user-facing guide, so it carries the same misleading claim the README intro had. Suggested addition after the paragraph ending "…there is no "continue anyway" path.":

    This is the shipping entry point: it resolves your platform, fetches and SHA-256-verifies the agent binary and the terminal UI, starts the GAIA daemon plus the agent, and drops you at a chat prompt. A hash mismatch is a hard failure — there is no "continue anyway" path.

    The daemon comes from the `gaia` Python CLI (0.26.0 or newer), which `npx` does not install. Install it first with `curl -fsSL https://amd-gaia.ai/install.sh | sh` (Windows: `irm https://amd-gaia.ai/install.ps1 | iex`).

🟢 Install section says "no install step" (hub/agents/gaia/npm/SKILL.md:32). The code-block comment # no install step; fetches what it needs on first run is still true of the npm package itself. But an assistant reading top-down meets it before §5. A pointer would close the gap:

npx @amd-gaia/gaia          # no npm install step; needs the gaia Python CLI (see §5)

Checked

  • #requirements and #gotchas--read-before-debugging both resolve to real headings. The em dash drops out of the slug and leaves the double hyphen.
  • The 0.26.0 floor and the install one-liners match README Requirements, SKILL.md Gotchas and the CHANGELOG [Unreleased] note.
  • No other "No Python" claim remains in the gaia npm docs. The one in .claude/skills/integrate-hub-agent/SKILL.md:64 is about the generic sidecar pattern (gaia serve / programmatic use), which really doesn't need Python, so it is not stale.

Strengths

  • The fix is a pointer to the existing Requirements section, not another copy of the requirement, so there's one source to keep in sync.
  • SKILL.md now states the prerequisite before an assistant starts debugging, not only in Gotchas.

…LL.md install block

The docs-site guide's npx tab and SKILL.md's install comment still
implied that npx alone is enough. Both now say the daemon needs the
gaia Python CLI, as suggested in review.
@github-actions github-actions Bot added the documentation Documentation changes label Nov 7, 2026
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Nov 7, 2026
Merged via the queue into amd:main with commit 780b73a Nov 7, 2026
14 checks passed
@kovtcharov-amd kovtcharov-amd mentioned this pull request Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The flagship agent npm docs promise "No Python to install", then require the Python CLI

2 participants