Managing Jarvis
Complete guide to configuration, channels, and monitoring
Config Files
Edit configuration files and environment variables
Channels
Add, remove, and manage messaging channels
Token Usage
Monitor API usage and costs
Status & Health
Check system status and run diagnostics
Modifying Configuration
Method 1: Interactive Configuration
The easiest way to modify configuration is through the interactive wizard:
jarvis configureThis opens an interactive menu where you can:
- Change AI models and providers
- Add or remove channels
- Configure gateway settings
- Manage authentication
Method 2: CLI Commands
Use CLI commands for quick config changes:
Get a config value:
jarvis config get agents.defaults.modelSet a config value:
jarvis config set agents.defaults.model "ollama/qwen2.5"Remove a config value:
jarvis config unset some.config.pathMethod 3: Direct File Editing
For advanced users, edit the config file directly:
nano ~/.jarvis/openclaw.json⚠️ After editing, restart the gateway: jarvis gateway restart
Managing Channels
Adding a Channel
Add messaging channels to connect Jarvis to your chat apps:
Interactive channel setup:
jarvis channels addAdd Telegram bot:
jarvis channels add --channel telegram --token YOUR_BOT_TOKENAdd Discord bot:
jarvis channels add --channel discord --token YOUR_DISCORD_TOKENListing Channels
jarvis channels listThis shows all configured channels with their status and configuration.
Checking Channel Status
Quick status check:
jarvis channels statusDeep probe (tests connections):
jarvis channels status --probeRemoving a Channel
Disable a channel (keeps config):
jarvis channels remove --channel telegramDelete completely:
jarvis channels remove --channel telegram --deleteMonitoring Token Usage
Track your API usage and costs when using cloud providers:
Viewing Usage
Quick status with usage:
jarvis status --usageDetailed usage breakdown:
jarvis channels list💡 Tip: Local models with Ollama have zero API costs! Usage tracking only applies to cloud providers.
Usage in Chat
Check usage directly from your chat channels:
/usageSend this command in any connected chat to see token usage statistics.
System Status & Health
Quick Status Check
jarvis statusShows gateway status, connected channels, and recent activity.
Deep Health Check
jarvis doctorRuns comprehensive diagnostics and suggests fixes for common issues.
Viewing Logs
Follow logs in real-time:
jarvis logs --followView last 200 lines:
jarvis logs --limit 200Common Tasks
Changing the Default Model
jarvis config set agents.defaults.model "ollama/qwen2.5"Changing Gateway Port
jarvis config set gateway.port 18790Restarting the Gateway
jarvis gateway restart