Skip to main content
The CLI covers channel setup, cron scheduling, plugin management, and admin tasks alongside the web UI. Use these commands to wire up IM platforms, automate recurring prompts, extend Octop with plugins, and administer users — all from the terminal.

octop channel

Create and manage IM channel connections for an agent. Most subcommands work offline; test requires a running server.

Subcommands


octop cron

Schedule recurring tasks that trigger agent prompts automatically. run-now requires a running server; all other subcommands work offline.

Trigger formats

Pass any of the following values to --trigger:

Task type flag

--prompt is required and must be between 1 and 2000 characters. --name is optional; when omitted, the server derives a label from the prompt. octop cron run-now dispatches the job through the scheduler and therefore requires an active octop run process.

octop plugin

Install and manage third-party plugins. Plugins are dropped into ~/.octop/plugins/ and power the same plugin system used by the web UI.

Subcommands

The web UI Plugins page can also install from a local ZIP and optionally overwrite a plugin of the same name. Bundled plugins ship with Octop disabled by default; uninstalling one does not recreate it on upgrade. Per-agent plugin toggles live under Personalization (GET/PUT /api/agents/{id}/tool-settings).
Use octop plugin reload after installing or updating a plugin to apply changes to a running server without a full restart.

octop user

Manage users in the local database. All subcommands except login work offline.
See Server Commands for details on octop user login, which attaches the CLI to a running server.

octop admin

Inspect system state, review the audit log, manage global providers, and perform administrative operations directly against the local database.

Subcommands

octop admin rotate-jwt-secret writes a new JWT secret directly to the SQLite database. This immediately invalidates all active sessions — every logged-in user, including dashboard sessions and CLI tokens, will be signed out. Use this command intentionally, not routinely.

octop backup

Export and restore the full Octop state (database, workspaces, and configuration). All subcommands work fully offline.
Automatic backups run inside octop run. Configure them in config.json → backup, with env overrides, or from Application Settings → Backup & Restore. Archives are named octop-auto-backup-*.tar.gz; retention never deletes manual octop-backup-* files. See Backup & Restore.