Agora CLI

June 28, 2026 · View on GitHub

Generated from agora introspect --json. Do not edit by hand — run make docs-commands or 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/.

Global Flags

FlagTypeDefaultDescription
--debugboolecho structured logs to stderr (equivalent to AGORA_DEBUG=1); does not change exit codes or JSON envelopes
--jsonboolshortcut for --output json
--no-colorbooldisable ANSI color in pretty output
--outputstringoutput mode for command results: pretty or json
--prettyboolpretty-print JSON output when used with --json
--quietboolsuppress success output (both pretty and JSON envelopes); rely on exit code. Errors still print on stderr.
--upgrade-checkboolprint non-interactive upgrade guidance and exit
--yesboolassume 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

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.

CommandTriggerDescription
upgrade checkagora --upgrade-checkPrint package-manager-specific upgrade guidance and exit (root flag, not a subcommand).

Commands

agora auth

Manage Agora authentication

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora auth login

Authenticate with Agora Console

FlagTypeDefaultDescription
--no-browserboolprint the login URL instead of auto-opening a browser
--regionstringglobalcontrol plane region for login (global or cn)

agora auth logout

Clear the local Agora session

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora auth status

Show the current auth status

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora config

Manage persisted Agora CLI defaults

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora config get

Read persisted CLI defaults

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora config path

Show the config file path

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora config update

Update persisted CLI defaults

FlagTypeDefaultDescription
--browser-auto-openboolpersist browser auto-open preference; use --browser-auto-open=false to disable
--debugboolpersist the --debug preference (echo structured logs to stderr); use --debug=false to disable
--log-levelstringinfopersist default log level
--outputoutputprettypersist default output mode (pretty or json)
--telemetry-enabledboolpersist telemetry preference; use --telemetry-enabled=false to disable

agora doctor

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.

agora env-help

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.

agora init

Create a project, clone a quickstart, and write env in one flow

FlagTypeDefaultDescription
--add-agent-rulesstringArray[]write AI agent rules into the quickstart (repeatable: cursor, claude, windsurf)
--dirstringtarget directory for the cloned quickstart; defaults to
--featurestringArray[]enable a feature on the newly created project (repeatable); defaults to rtc, rtm, convoai; convoai also enables rtm
--new-projectboolalways create a new Agora project instead of reusing an existing one
--projectstringexisting project ID or exact project name to bind to
--rtm-data-centerstringRTM data center to configure when rtm is enabled on a newly created project (CN, NA, EU, or AP); defaults to NA
--templatestringquickstart template ID to use

agora introspect

Emit machine-readable command metadata

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora login

Authenticate with Agora Console

FlagTypeDefaultDescription
--no-browserboolprint the login URL instead of auto-opening a browser
--regionstringglobalcontrol plane region for login (global or cn)

agora logout

Clear the local Agora session

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora mcp

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.

agora mcp serve

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.

agora open

Open Agora Console or CLI docs

FlagTypeDefaultDescription
--browserboolforce opening a browser even in CI/non-TTY pretty sessions
--no-browserboolalways print the URL without opening a browser
--targetstringconsoletarget to open: console, docs, docs-md, or product-docs

agora project

Manage remote Agora project resources

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora project create

Create a new remote Agora project

FlagTypeDefaultDescription
--dry-runboolreturn the planned project create result without creating remote resources
--featurestringArray[]enable one or more features after creation; defaults to rtc, rtm, convoai; convoai also enables rtm
--idempotency-keystringcaller-provided key for safe retries when supported by the API
--rtm-data-centerstringRTM data center to configure when rtm is enabled (CN, NA, EU, or AP); defaults to NA
--templatestringapply a higher-level project preset such as voice-agent

agora project doctor

Diagnose whether a project is ready for selected feature development

FlagTypeDefaultDescription
--deepboolrun deeper repo-local checks for .agora metadata and quickstart env consistency
--featurestringconvoaitarget feature readiness to evaluate: rtc, rtm, convoai

agora project env

Export project environment variables

FlagTypeDefaultDescription
--formatstringoutput format: dotenv | shell | envelope | json (default dotenv; envelope/json emit the unified JSON envelope)
--projectstringproject ID or exact project name; defaults to the current project context
--shellboolrender shell export statements instead of dotenv lines
--with-secretsboolinclude sensitive values such as the app certificate

agora project env write

Write project environment variables to a dotenv file

FlagTypeDefaultDescription
--appendboolappend Agora App ID and App Certificate values when no existing values are present
--overwriteboolreplace the target file with only Agora App ID and App Certificate values
--projectstringproject ID or exact project name; defaults to the current project context
--templatestringcredential key layout: nextjs or standard; if omitted, detect Next.js from the workspace

agora project feature

Manage project feature state

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora project feature enable

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.

agora project feature list

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.

agora project feature status

Show one feature status

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora project list

List projects available to the current account

FlagTypeDefaultDescription
--keywordstringfilter by exact or partial project name or project ID
--pageint1page number to request
--page-sizeint20number of projects per page
--refresh-cacheboolforce-refresh the unfiltered first-page project completion cache after listing

agora project show

Show one project

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora project use

Set the current project context

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora project webhook

Manage project webhook configurations

FlagTypeDefaultDescription
--featurestringproject feature for webhook operations: rtc, rtm, or convoai

agora project webhook create

Create a webhook configuration

FlagTypeDefaultDescription
--delivery-regionstringwebhook delivery region: cn, sea, na, or eu
--eventsstringcomma-separated webhook event keys, display names, or numeric IDs
--projectstringproject ID or exact project name; defaults to the current project context
--secretstringwebhook signing secret; generated when omitted
--urlstringwebhook endpoint URL

agora project webhook delete

Delete a webhook configuration

FlagTypeDefaultDescription
--projectstringproject ID or exact project name; defaults to the current project context

agora project webhook events

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.

agora project webhook list

List webhook configurations for a project feature

FlagTypeDefaultDescription
--projectstringproject ID or exact project name; defaults to the current project context

agora project webhook show

Show one webhook configuration

FlagTypeDefaultDescription
--projectstringproject ID or exact project name; defaults to the current project context
--with-secretboolinclude the webhook secret in the response

agora project webhook update

Update a webhook configuration

FlagTypeDefaultDescription
--delivery-regionstringnew webhook delivery region: cn, sea, na, or eu
--disabledbooldisable the webhook configuration
--enabledboolenable the webhook configuration
--eventsstringcomma-separated replacement webhook event keys, display names, or numeric IDs
--projectstringproject ID or exact project name; defaults to the current project context
--urlstringnew webhook endpoint URL

agora quickstart

Clone official standalone Agora quickstarts

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora quickstart create

Clone an official Agora quickstart into a new directory

FlagTypeDefaultDescription
--dirstringtarget directory for the cloned quickstart; defaults to
--projectstringproject ID or exact project name to use for env seeding
--refstringgit branch, tag, or ref to clone for pinned workshops
--templatestringquickstart template ID from agora quickstart list

agora quickstart env

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.

agora quickstart env write

Write the quickstart env file for the current or selected project

FlagTypeDefaultDescription
--projectstringproject ID or exact project name to use for env seeding
--templatestringquickstart template ID; if omitted, the CLI detects it from the repo layout

agora quickstart list

List available official quickstarts

FlagTypeDefaultDescription
--detailsboolshow repository, runtime, and env details in pretty output
--show-allboolinclude upcoming or unavailable templates in the list

agora skills

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.

agora skills list

List available skills

FlagTypeDefaultDescription
--categorystringfilter by category (scaffold, ops, agent)
--tagstringfilter 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.

agora skills show

Show one skill in detail

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora telemetry

Inspect or update telemetry preferences

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora telemetry disable

Disable telemetry

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora telemetry enable

Enable telemetry

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora telemetry status

Show telemetry status

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora upgrade

Upgrade Agora CLI in place when installer-managed; otherwise print upgrade guidance

FlagTypeDefaultDescription
--checkboolresolve the latest release and report what would happen without writing anything

agora version

Show Agora CLI build information

No local flags. Inherited parent and global flags still apply; run agora <command> --help for the full flag set.

agora whoami

Show the current auth status

FlagTypeDefaultDescription
--plainboolprint only authenticated or unauthenticated for shell scripts

Enums

features: rtc, rtm, convoai

outputModes: pretty, json

doctorStatus: healthy, warning, not_ready, auth_error