ai-status command displays your current AI Runner configuration, authentication status, available providers, and model settings.
Syntax
What It Shows
Authentication Status
For each configured provider:- Authentication method (API key, credentials file, subscription)
- Status (✓ configured or ✗ not configured)
- Key presence (shows whether API keys/credentials are set)
Model Configuration
- Default model IDs for each tier (Opus, Sonnet, Haiku)
- Small/fast model used for background operations
- Custom model overrides in
~/.ai-runner/secrets.sh
Current Session
If run inside an activeai session:
- Active provider and model
- Authentication method in use
- Session ID
Example Output
Use Cases
Verify Provider Setup
After configuring credentials in~/.ai-runner/secrets.sh, run ai-status to verify:
Debug Connection Issues
When a provider isn’t working:Check Active Session
From within anai session, run /status in Claude or ai-status in another terminal to see which provider and model are active.
View Model Defaults
See what model each tier flag resolves to:Configuration Files
The command reads from:~/.ai-runner/secrets.sh- API keys and credentials~/.ai-runner/models.sh- Model ID configuration~/.ai-runner/defaults.sh- Saved defaults from--set-default~/.claude/settings.json- Claude subscription status
Provider Status Indicators
| Indicator | Meaning |
|---|---|
| ✓ Configured | Provider has required credentials |
| ✗ Not configured | Missing credentials or setup |
| ✓ Available | Local provider is running |
| ✗ Not running | Local provider service not started |
| ✓ Logged in | Claude subscription is active |
Troubleshooting
Provider shows 'Not configured'
Provider shows 'Not configured'
Add the required credentials to Uncomment and fill in the appropriate section for your provider.
~/.ai-runner/secrets.sh:Local provider shows 'Not running'
Local provider shows 'Not running'
For Ollama:For LM Studio:
Wrong model being used
Wrong model being used
Check for overrides in Remove or update model overrides as needed.
~/.ai-runner/secrets.sh: