Is your feature request related to a specific problem?
The Agent Config documentation instructs users to run:
adk create --type=config my_agent
However, adk create --help does not list the --type option, even though the option works.
This makes the documented command appear unsupported and creates an inconsistency between the CLI and its documentation.
The option is currently declared with hidden=True
|
@click.option( |
|
"--type", |
|
type=click.Choice(["CODE", "CONFIG"], case_sensitive=False), |
|
help=( |
|
"EXPERIMENTAL Optional. Type of agent to create: 'config' or 'code'." |
|
" 'config' is not ready for use so it defaults to 'code'. It may change" |
|
" later once 'config' is ready for use." |
|
), |
|
default="CODE", |
|
show_default=True, |
|
hidden=True, # Won't show in --help output. Not ready for use. |
|
) |
Describe the Solution You'd Like
Please expose --type in adk create --help, including its supported values (code and config) and its experimental status.
Impact on your work
This would make the documented Agent Config workflow discoverable and clarify that --type=config is supported.
Willingness to contribute
No.
Describe Alternatives You've Considered
Users can follow the documentation despite the missing help entry, but they may reasonably assume the option is unavailable or deprecated.
Proposed API / Implementation
Remove hidden=True from the --type Click option and retain wording that identifies Agent Config as experimental.
Additional Context
Confirmed with ADK Python 2.6.3:
adk create --help does not show --type.
adk create --type=config my_agent succeeds and generates root_agent.yaml.
Is your feature request related to a specific problem?
The Agent Config documentation instructs users to run:
However,
adk create --helpdoes not list the--typeoption, even though the option works.This makes the documented command appear unsupported and creates an inconsistency between the CLI and its documentation.
The option is currently declared with
hidden=Trueadk-python/src/google/adk/cli/cli_tools_click.py
Lines 677 to 688 in 1d2d1ed
Describe the Solution You'd Like
Please expose
--typeinadk create --help, including its supported values (codeandconfig) and its experimental status.Impact on your work
This would make the documented Agent Config workflow discoverable and clarify that
--type=configis supported.Willingness to contribute
No.
Describe Alternatives You've Considered
Users can follow the documentation despite the missing help entry, but they may reasonably assume the option is unavailable or deprecated.
Proposed API / Implementation
Remove
hidden=Truefrom the--typeClick option and retain wording that identifies Agent Config as experimental.Additional Context
Confirmed with ADK Python 2.6.3:
adk create --helpdoes not show--type.adk create --type=config my_agentsucceeds and generatesroot_agent.yaml.