Connect & Status
Link your terminal to Supyagent Cloud, check connection status, and run diagnostics.
Connect & Status
These commands manage the connection between your CLI and Supyagent Cloud.
supyagent connect
Authenticate your CLI with Supyagent Cloud using a device authorization flow. Opens your browser to complete login — no API key copy-pasting required.
supyagent connectOptions
| Flag | Type | Default | Description |
|---|---|---|---|
--url | string | https://app.supyagent.com | Custom service URL (for self-hosted instances) |
What Happens
- The CLI requests a device code from the service
- Your browser opens to the authorization page (with a fallback URL if it can't)
- A countdown timer shows remaining time to complete login
- On success, the CLI stores your API key and service URL locally
- Available integrations and tools are displayed
Example
$ supyagent connect
Open this URL to connect:
https://app.supyagent.com/auth/device?code=ABCD-1234
⏳ Waiting for authorization... (expires in 5:00)
✔ Connected to Supyagent Cloud
✔ 3 integrations active: Google, Slack, GitHub
✔ 47 tools availablesupyagent disconnect
Remove stored credentials and unlink your CLI from Supyagent Cloud.
supyagent disconnectThis removes the locally stored API key and service URL. It does not revoke the key on the server — you can do that from the dashboard.
supyagent status
Show your current connection status, run a health check, and list available tools grouped by provider.
supyagent statusOutput
Connected to: https://app.supyagent.com
Status: Healthy
Available tools:
Google (Gmail) — 8 tools
Google (Calendar) — 4 tools
Slack — 5 tools
GitHub — 6 toolsIf you're not connected, it shows instructions to run supyagent connect.
supyagent doctor
Run a full diagnostic check on your CLI setup. Useful for troubleshooting connection or configuration issues.
supyagent doctorChecks Performed
| Check | What it verifies |
|---|---|
| Version | Current CLI version |
| Config encryption | Credential storage is working |
| Service connection | API key is stored and valid |
| Health check | Service is reachable and responding |
| Tool availability | Cloud tools can be fetched |
| Stored API keys | Lists any API keys in local config |
Example Output
supyagent doctor
Version: 0.7.0
Config encryption: ✔ Working
Service connection: ✔ Connected (https://app.supyagent.com)
Health check: ✔ Service healthy
Tools available: ✔ 47 tools
Stored API keys: 2 keys configured