Connectors
Connectors let Cai create issues and tickets in external services, directly from whatever you select. Select an error, press Option+C, and create a GitHub or Linear issue in seconds.
GitHub
1. Create a Personal Access Token
GitHub offers two token types. Pick whichever fits your needs:
- Fine-grained token — per-repo scoped, more granular control. Best if you want Cai to only see specific repositories.
- Classic token — broader access, quicker setup. Best if you want Cai to work across all your repos and orgs automatically.
Option A: Fine-grained token
- Go to GitHub Token Settings
- Click Generate new token → Fine-grained token
- Set Token name (e.g., “Cai”)
- Under Repository access, select Only select repositories and pick the repos you want Cai to create issues in
- Under Permissions → Repository permissions, set Issues to Read and write
- Click Generate token and copy it

Option B: Classic token
- Go to GitHub Token Settings (Classic)
- Click Generate new token → Generate new token (classic)
- Set Note (e.g., “Cai”) and choose an expiration
- Enable these scopes:
repo— full repository access. Needed for creating issues, commenting, adding labels, and searching private repos.read:org— underadmin:org → write:org → read:org. Needed so Cai can detect the orgs you belong to.
- Click Generate token and copy it
Classic tokens automatically see every org and repo you have access to — no per-repo selection needed.
2. Add to Cai
- Open Cai → Settings → Connectors
- Expand GitHub and paste your token (
ghp_...for classic,github_pat_...for fine-grained) - Click Save, then Test Connection
You’re all set. “Create GitHub Issue” will now appear in your action list when you press Option+C.
Privacy: Your token is stored in macOS Keychain, never in config files or sent anywhere except GitHub’s API.
Linear
1. Create an API Key
- Go to Linear API Key Settings
- Set Label (e.g., “Cai”)
- Set Permission to Read & Write
- Set Team access to All teams you have access to
- Click Create and copy the key

2. Add to Cai
- Open Cai → Settings → Connectors
- Expand Linear and paste your API key (
lin_api_...) - Click Save, then Test Connection
You’re all set. “Create Linear Issue” will now appear in your action list when you press Option+C.
Privacy: Your API key is stored in macOS Keychain, never in config files or sent anywhere except Linear’s API.