The loader passes external: ['sqlite3', 'better-sqlite3', ...] unconditionally (dev/src/utils/agent_loader.ts:205) while bundle: this.options.bundle comes from the CLI flag (line 201). esbuild rejects external when bundle is false, so the advertised --bundle false can never succeed on any agent. It is also the documented way out of minified agent code.
cd dev
npx adk run --bundle false ../samples/workflows/routes/fan_out_join/agent.ts
# ✘ [ERROR] Cannot use "external" without "bundle"
# [ADK CLI] Error running agent: Build failed with 1 error
The agent never loads, so there is no REPL and no prompt. --compile false works on the same sample. adk web registers the same option and shares this loader. Separately, --bundle's help text is a verbatim copy of --compile's and does not describe bundling.
The loader passes
external: ['sqlite3', 'better-sqlite3', ...]unconditionally (dev/src/utils/agent_loader.ts:205) whilebundle: this.options.bundlecomes from the CLI flag (line 201). esbuild rejectsexternalwhenbundleis false, so the advertised--bundle falsecan never succeed on any agent. It is also the documented way out of minified agent code.The agent never loads, so there is no REPL and no prompt.
--compile falseworks on the same sample.adk webregisters the same option and shares this loader. Separately,--bundle's help text is a verbatim copy of--compile's and does not describe bundling.