-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
core[Component] This issue is related to the core interface and implementation[Component] This issue is related to the core interface and implementation
Description
ADK Version: 1.21.0
Description
There is a significant discrepancy between the CLI options available for adk run and adk web. Specifically, adk run is missing several critical parameters, most notably --extra_plugins.
This inconsistency creates anti-patterns: This forces manual Runner implementation in CLI mode but not Web mode. Since the Runner isn't always called unless the async loop is managed manually, the CLI should natively support these configuration options to ensure parity across environments.
| Parameter | Supported in adk run | Supported in adk web |
|---|---|---|
| --session_service_uri | ✅ | ✅ |
| --artifact_service_uri | ✅ | ✅ |
| --memory_service_uri | ✅ | ✅ |
| --extra_plugins | ❌ (Missing) | ✅ |
| --log_level | ❌ (Missing) | ✅ |
| --verbose / -v | ❌ (Missing) | ✅ |
| --trace_to_cloud | ❌ (Missing) | ✅ |
| --otel_to_cloud | ❌ (Missing) | ✅ |
| --eval_storage_uri | ❌ (Missing) | ✅ |
| --save_session | ✅ | ❌ |
| --session_id | ✅ | ❌ |
| --replay | ✅ | ❌ |
| --resume | ✅ | ❌ |
| --host | ❌ (N/A) | ✅ |
| --port | ❌ (N/A) | ✅ |
| --allow_origins | ❌ (N/A) | ✅ |
| --reload / --no-reload | ❌ (N/A) | ✅ |
| --reload_agents | ❌ (N/A) | ✅ |
| --a2a | ❌ (N/A) | ✅ |
| --url_prefix | ❌ (N/A) | ✅ |
| --logo-text | ❌ (N/A) | ✅ |
| --logo-image-url | ❌ (N/A) | ✅ |
| --session_db_url (Deprecated) | ❌ | ✅ |
| --artifact_storage_uri (Deprecated) | ❌ | ✅ |
Proposed Change
Update the adk run command to accept the same core configuration flags as adk web, specifically --extra_plugins to allow for consistent agent behavior regardless of the entry point.
Metadata
Metadata
Assignees
Labels
core[Component] This issue is related to the core interface and implementation[Component] This issue is related to the core interface and implementation