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 configure

This 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.model

Set a config value:

jarvis config set agents.defaults.model "ollama/qwen2.5"

Remove a config value:

jarvis config unset some.config.path

Method 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 add

Add Telegram bot:

jarvis channels add --channel telegram --token YOUR_BOT_TOKEN

Add Discord bot:

jarvis channels add --channel discord --token YOUR_DISCORD_TOKEN

Listing Channels

jarvis channels list

This shows all configured channels with their status and configuration.

Checking Channel Status

Quick status check:

jarvis channels status

Deep probe (tests connections):

jarvis channels status --probe

Removing a Channel

Disable a channel (keeps config):

jarvis channels remove --channel telegram

Delete completely:

jarvis channels remove --channel telegram --delete

Monitoring Token Usage

Track your API usage and costs when using cloud providers:

Viewing Usage

Quick status with usage:

jarvis status --usage

Detailed 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:

/usage

Send this command in any connected chat to see token usage statistics.

System Status & Health

Quick Status Check

jarvis status

Shows gateway status, connected channels, and recent activity.

Deep Health Check

jarvis doctor

Runs comprehensive diagnostics and suggests fixes for common issues.

Viewing Logs

Follow logs in real-time:

jarvis logs --follow

View last 200 lines:

jarvis logs --limit 200

Common Tasks

Changing the Default Model

jarvis config set agents.defaults.model "ollama/qwen2.5"

Changing Gateway Port

jarvis config set gateway.port 18790

Restarting the Gateway

jarvis gateway restart
Jarvis

© 2026 Nilkanth Desai. MIT licensed.