| title | Command Reference |
|---|
Generated from
agora introspect --json. Do not edit by hand — runmake docs-commandsor rely on the release workflow to regenerate.
This page lists every enumerable command and its local flags. For long descriptions, examples, and inherited flags, run agora <command> --help or read the source in internal/cli/.
| Flag | Type | Default | Description |
|---|---|---|---|
--debug |
bool |
— | echo structured logs to stderr (equivalent to AGORA_DEBUG=1); does not change exit codes or JSON envelopes |
--json |
bool |
— | shortcut for --output json |
--no-color |
bool |
— | disable ANSI color in pretty output |
--output |
string |
— | output mode for command results: pretty or json |
--pretty |
bool |
— | pretty-print JSON output when used with --json |
--quiet |
bool |
— | suppress success output (both pretty and JSON envelopes); rely on exit code. Errors still print on stderr. |
--upgrade-check |
bool |
— | print non-interactive upgrade guidance and exit |
--yes |
bool |
— | assume the default answer to confirmation prompts (equivalent to AGORA_NO_INPUT=1); never starts new interactive flows in JSON/CI/non-TTY contexts |
Pseudo commands are root-level flags that emit their own JSON envelope rather than living in the cobra subcommand tree. Agents should treat the command label as a stable identifier when matching JSON envelopes.
| Command | Trigger | Description |
|---|---|---|
upgrade check |
agora --upgrade-check |
Print package-manager-specific upgrade guidance and exit (root flag, not a subcommand). |
Manage Agora authentication
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Authenticate with Agora Console
| Flag | Type | Default | Description |
|---|---|---|---|
--no-browser |
bool |
— | print the login URL instead of auto-opening a browser |
--region |
string |
global |
control plane region for login (global or cn) |
Clear the local Agora session
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Show the current auth status
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Manage persisted Agora CLI defaults
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Read persisted CLI defaults
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Show the config file path
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Update persisted CLI defaults
| Flag | Type | Default | Description |
|---|---|---|---|
--browser-auto-open |
bool |
— | persist browser auto-open preference; use --browser-auto-open=false to disable |
--debug |
bool |
— | persist the --debug preference (echo structured logs to stderr); use --debug=false to disable |
--log-level |
string |
info |
persist default log level |
--output |
output |
pretty |
persist default output mode (pretty or json) |
--telemetry-enabled |
bool |
— | persist telemetry preference; use --telemetry-enabled=false to disable |
Diagnose the local Agora CLI install (PATH, version, network, auth, MCP host)
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
List every AGORA_* environment variable the CLI honors
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Create a project, clone a quickstart, and write env in one flow
| Flag | Type | Default | Description |
|---|---|---|---|
--add-agent-rules |
stringArray |
[] |
write AI agent rules into the quickstart (repeatable: cursor, claude, windsurf) |
--dir |
string |
— | target directory for the cloned quickstart; defaults to |
--feature |
stringArray |
[] |
enable a feature on the newly created project (repeatable); defaults to rtc, rtm, convoai; convoai also enables rtm |
--new-project |
bool |
— | always create a new Agora project instead of reusing an existing one |
--project |
string |
— | existing project ID or exact project name to bind to |
--rtm-data-center |
string |
— | RTM data center to configure when rtm is enabled on a newly created project (CN, NA, EU, or AP); defaults to NA |
--template |
string |
— | quickstart template ID to use |
Emit machine-readable command metadata
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Authenticate with Agora Console
| Flag | Type | Default | Description |
|---|---|---|---|
--no-browser |
bool |
— | print the login URL instead of auto-opening a browser |
--region |
string |
global |
control plane region for login (global or cn) |
Clear the local Agora session
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Run Agora CLI as a local MCP server
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Serve Agora CLI tools over MCP
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Open Agora Console or CLI docs
| Flag | Type | Default | Description |
|---|---|---|---|
--browser |
bool |
— | force opening a browser even in CI/non-TTY pretty sessions |
--no-browser |
bool |
— | always print the URL without opening a browser |
--target |
string |
console |
target to open: console, docs, docs-md, or product-docs |
Manage remote Agora project resources
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Create a new remote Agora project
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run |
bool |
— | return the planned project create result without creating remote resources |
--feature |
stringArray |
[] |
enable one or more features after creation; defaults to rtc, rtm, convoai; convoai also enables rtm |
--idempotency-key |
string |
— | caller-provided key for safe retries when supported by the API |
--rtm-data-center |
string |
— | RTM data center to configure when rtm is enabled (CN, NA, EU, or AP); defaults to NA |
--template |
string |
— | apply a higher-level project preset such as voice-agent |
Diagnose whether a project is ready for selected feature development
| Flag | Type | Default | Description |
|---|---|---|---|
--deep |
bool |
— | run deeper repo-local checks for .agora metadata and quickstart env consistency |
--feature |
string |
convoai |
target feature readiness to evaluate: rtc, rtm, convoai |
Export project environment variables
| Flag | Type | Default | Description |
|---|---|---|---|
--format |
string |
— | output format: dotenv | shell | envelope | json (default dotenv; envelope/json emit the unified JSON envelope) |
--project |
string |
— | project ID or exact project name; defaults to the current project context |
--shell |
bool |
— | render shell export statements instead of dotenv lines |
--with-secrets |
bool |
— | include sensitive values such as the app certificate |
Write project environment variables to a dotenv file
| Flag | Type | Default | Description |
|---|---|---|---|
--append |
bool |
— | append Agora App ID and App Certificate values when no existing values are present |
--overwrite |
bool |
— | replace the target file with only Agora App ID and App Certificate values |
--project |
string |
— | project ID or exact project name; defaults to the current project context |
--template |
string |
— | credential key layout: nextjs or standard; if omitted, detect Next.js from the workspace |
Manage project feature state
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Enable one feature for a project
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
List feature status for a project
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Show one feature status
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
List projects available to the current account
| Flag | Type | Default | Description |
|---|---|---|---|
--keyword |
string |
— | filter by exact or partial project name or project ID |
--page |
int |
1 |
page number to request |
--page-size |
int |
20 |
number of projects per page |
--refresh-cache |
bool |
— | force-refresh the unfiltered first-page project completion cache after listing |
Show one project
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Set the current project context
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Manage project webhook configurations
| Flag | Type | Default | Description |
|---|---|---|---|
--feature |
string |
— | project feature for webhook operations: rtc, rtm, or convoai |
Create a webhook configuration
| Flag | Type | Default | Description |
|---|---|---|---|
--delivery-region |
string |
— | webhook delivery region: cn, sea, na, or eu |
--events |
string |
— | comma-separated webhook event keys, display names, or numeric IDs |
--project |
string |
— | project ID or exact project name; defaults to the current project context |
--secret |
string |
— | webhook signing secret; generated when omitted |
--url |
string |
— | webhook endpoint URL |
Delete a webhook configuration
| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string |
— | project ID or exact project name; defaults to the current project context |
List available webhook events for a feature
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
List webhook configurations for a project feature
| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string |
— | project ID or exact project name; defaults to the current project context |
Show one webhook configuration
| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string |
— | project ID or exact project name; defaults to the current project context |
--with-secret |
bool |
— | include the webhook secret in the response |
Update a webhook configuration
| Flag | Type | Default | Description |
|---|---|---|---|
--delivery-region |
string |
— | new webhook delivery region: cn, sea, na, or eu |
--disabled |
bool |
— | disable the webhook configuration |
--enabled |
bool |
— | enable the webhook configuration |
--events |
string |
— | comma-separated replacement webhook event keys, display names, or numeric IDs |
--project |
string |
— | project ID or exact project name; defaults to the current project context |
--url |
string |
— | new webhook endpoint URL |
Clone official standalone Agora quickstarts
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Clone an official Agora quickstart into a new directory
| Flag | Type | Default | Description |
|---|---|---|---|
--dir |
string |
— | target directory for the cloned quickstart; defaults to |
--project |
string |
— | project ID or exact project name to use for env seeding |
--ref |
string |
— | git branch, tag, or ref to clone for pinned workshops |
--template |
string |
— | quickstart template ID from agora quickstart list |
Write framework-specific env files for a quickstart repo
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Write the quickstart env file for the current or selected project
| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string |
— | project ID or exact project name to use for env seeding |
--template |
string |
— | quickstart template ID; if omitted, the CLI detects it from the repo layout |
List available official quickstarts
| Flag | Type | Default | Description |
|---|---|---|---|
--details |
bool |
— | show repository, runtime, and env details in pretty output |
--show-all |
bool |
— | include upcoming or unavailable templates in the list |
Browse curated Agora workflows for humans and AI agents
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
List available skills
| Flag | Type | Default | Description |
|---|---|---|---|
--category |
string |
— | filter by category (scaffold, ops, agent) |
--tag |
string |
— | filter by tag (e.g. nextjs, rtc, mcp) |
Search skills by id, title, description, or tag
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Show one skill in detail
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Inspect or update telemetry preferences
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Disable telemetry
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Enable telemetry
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Show telemetry status
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Upgrade Agora CLI in place when installer-managed; otherwise print upgrade guidance
| Flag | Type | Default | Description |
|---|---|---|---|
--check |
bool |
— | resolve the latest release and report what would happen without writing anything |
Show Agora CLI build information
No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.
Show the current auth status
| Flag | Type | Default | Description |
|---|---|---|---|
--plain |
bool |
— | print only authenticated or unauthenticated for shell scripts |
features: rtc, rtm, convoai
outputModes: pretty, json
doctorStatus: healthy, warning, not_ready, auth_error