Skip to main content
The @useago/cli package wraps the Public API v1 so you can manage knowledge documents, agents, conversations, tickets, and analytics from your terminal. Read commands accept --json for piping into jq or other shell tools.

Install

Requires Node.js 18 or later.

Configure

Set your tenant subdomain and API key once, then run any command:
The config is saved to ~/.agorc with 0600 permissions. If you run AGO at a non-standard URL (custom domain, staging environment), set an explicit base URL instead of a tenant:
You can also pass credentials per-command, or via environment variables. Order of precedence: Create your API key from AdminSettingsAPI Keys. See API Key Authentication for scope details.

Commands

Append --help to any command for a full list of subcommands and flags:

Knowledge

Agents and tools

Conversations and tickets

Conversations and tickets are read-only from the CLI:

Organizations, users, and analytics

JSON output and scripting

Read commands accept --json for raw JSON instead of formatted tables, suitable for piping:

API key scopes

Each command needs the matching scope on your API key: If a command returns a permission error, check the scopes on the key under AdminSettingsAPI Keys.