CLI create BigQuery data agents
uv run cortex-create-ca-agents provisions and synchronizes BigQuery
conversational analytics data agents from deployed Google Cloud Cortex Framework data products.
Synopsis
uv run cortex-create-ca-agents [-h] \
[-c CONFIG_PATH | --config CONFIG_PATH] \
[--enable-apis] [--dry-run] [--disable-telemetry]
Replace the following:
CONFIG_PATH: path to your global configuration file, for example:config/config.yaml.
Options
The following table describes the command-line options for
uv run cortex-create-ca-agents:
| Flag | Description | Default |
|---|---|---|
-h, --help |
Show the help message and exit. | None |
-c, --config CONFIG_PATH |
Path to the global config.yaml file containing your deployed data.modules.products and conversationalAnalytics configuration. |
config/config.yaml |
--enable-apis |
Automatically enable missing required Google Cloud APIs (bigquery.googleapis.com, geminidataanalytics.googleapis.com, and cloudaicompanion.googleapis.com) on buildEnvironment.buildProjectId without prompting. Mutually exclusive with --dry-run. |
false |
--dry-run |
Run read-only pre-flight checks (required APIs, target conversational analytics location, referenced BigQuery datasets and tables, and zero-cost dry-run validation of golden queries), build agent payloads, and report each agent's sync status without creating or updating data agents in Google Cloud. Mutually exclusive with --enable-apis. Telemetry event logging is suppressed during --dry-run. |
false |
--disable-telemetry |
Temporarily disable telemetry event logging during execution. Telemetry is also automatically suppressed when --dry-run is set. For more information, see Cortex Framework telemetry. |
false |
Examples
Run read-only pre-flight checks and preview synchronization status without modifying Google Cloud resources:
export CORTEX_CONFIG_FILE=config/config.yaml
uv run cortex-create-ca-agents --config $CORTEX_CONFIG_FILE --dry-run
Provision and synchronize enabled conversational analytics data agents defined in
config/config.yaml:
export CORTEX_CONFIG_FILE=config/config.yaml
uv run cortex-create-ca-agents --config $CORTEX_CONFIG_FILE
What's next
- Configure
conversationalAnalyticsandagent_settings.yamlin Conversational analytics integration. - Register published data agents in Gemini with
uv run cortex-register-gemini-agents. - Publish and manage registered data agents in Gemini integration.
- Review configuration schema parameters in Deployment configuration.