-
Notifications
You must be signed in to change notification settings - Fork 815
Open
Description
Description
Running npm run demo:orchestrator from samples/client/lit fails immediately because the npm script doesn't pass the required --subagent_urls CLI option to the orchestrator agent.
Steps to Reproduce
cd samples/client/lit
export GEMINI_API_KEY="..."
npm install
npm run demo:orchestratorError
[ORCH] Usage: . [OPTIONS]
[ORCH] Try '. --help' for help.
[ORCH]
[ORCH] Error: Missing option '--subagent_urls'.
[ORCH] npm run serve:agent:orchestrator exited with code 2
Root Cause
The orchestrator's __main__.py requires --subagent_urls as a required CLI option:
@click.option("--subagent_urls", multiple=True, type=str, required=True)But the npm script in package.json runs it without any arguments:
"serve:agent:orchestrator": "cd ../../agent/adk/orchestrator && uv run ."Expected Behavior
npm run demo:orchestrator should start the required sub-agents (restaurant_finder, contact_lookup, rizzcharts) and pass their URLs to the orchestrator. For example, the script could:
- Start sub-agents on known ports first
- Pass their URLs via
--subagent_urls http://localhost:10003 --subagent_urls http://localhost:10004 ...
Environment
- macOS
- Node.js v18+
- Python 3.13
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo