Overview
Theorcbot ui command launches an interactive TUI (Text User Interface) dashboard built with inquirer.js. It provides a visual, menu-driven interface for configuring the agent, managing skills, viewing memory, and controlling connections.
Usage
Features
Main Menu
When you runorcbot ui, you see the OrcBot banner and main menu:
Menu Options
Manage AI Models
Configure LLM providers and API keys:- OpenAI: Set
openaiApiKey, configure model name - Google Gemini: Set
geminiApiKey, configure Gemini model - AWS Bedrock: Configure Bedrock credentials
- OpenRouter: Set
openrouterApiKeyfor access to 200+ models - Ollama/Local: Configure local model endpoints
- Masked input for API keys
- Validation for key format
- Test connection after setting
Manage Connections
Configure communication channels:Telegram
- Set bot token (
telegramToken) - Enable/disable Telegram channel
- Test connection
- View bot info (username, ID)
- Enable WhatsApp via Baileys
- QR code display for phone pairing
- Connection status
- Session management
Discord
- Set bot token
- Configure guild/server settings
- Channel mappings
- IMAP/SMTP configuration
- Inbox monitoring settings
Tools Manager
Comprehensive tools management interface:Install Tool
Install tools from Git repos or local paths:- Git URL (GitHub, GitLab, Bitbucket)
- Local directory path
- Optional tool name
- Optional subdirectory
- Allowed commands (comma-separated or
*for all) - Description
Approve Tool
Set allowed commands for installed tools:- Select tool from list
- Enter comma-separated command whitelist
- Or use
*to allow all commands
* allows it to run any command in its directory.
Activate/Deactivate Tool
Toggle tool availability:- Active tools can be invoked by the agent
- Inactive tools remain installed but unavailable
- Useful for temporarily disabling tools
Run Tool Command
Manually execute tool commands:node index.js --option=value in ~/.orcbot/plugins/tools/my-tool/bin/
Blocked in safe mode to prevent unauthorized execution.
Read Tool README
Display tool README.md in terminal:Uninstall Tool
Remove tool completely:~/.orcbot/plugins/tools/.
Blocked in safe mode.
Web Gateway
Manage the web gateway server:- Start gateway
- Stop gateway
- Configure port (
gatewayPort) - Configure host (
gatewayHost) - Set API key (
gatewayApiKey) - Configure static directory for dashboard
- Tailscale setup guide and status checks
- Check if Tailscale is installed
- Check if connected to Tailnet
- Recommend security hardening (API key, ACLs)
- Display Tailscale IP for remote access
Configuration
Direct config key editing:- View all config values
- Edit specific keys
- Type inference (boolean, number, string, JSON)
- Hot-reload (no restart required)
View Status
Display current agent status:- Running status (with PID if daemon)
- Current LLM model
- Memory statistics
- Action queue size
- Autonomy settings
- Safe mode status
- Channel connections
Memory Inspector
Browse and search agent memory:- Short memory: Recent step observations
- Episodic memory: LLM-summarized episodes
- Long memory: MEMORY.md, LEARNING.md, USER.md, JOURNAL.md
- Vector memory: Semantic search across embeddings
- Keyword search
- Semantic similarity search
- Filter by memory type
- Sort by timestamp
- Export to file
Worker Processes
Manage multi-agent orchestration:- Spawn: Create new worker process with role and task
- Start: Launch stopped worker
- Stop: Gracefully stop running worker
- Restart: Stop and start worker
- Terminate: Permanently remove worker and its memory
Keyboard Controls
Navigation within the TUI:- Arrow keys: Move selection
- Enter: Select menu item
- Escape: Go back (in submenus)
- Ctrl+C: Exit TUI entirely
- Space: Toggle checkboxes (when applicable)
Visual Elements
Banner
ASCII art logo with gradient colors:- Bright cyan and magenta gradient
- Version number
- Author credit
- GitHub link
Boxes
Decorated information boxes usingpi-tui:
- Double-line borders
- Optional title
- Configurable width and padding
- Color-coded borders (cyan, magenta, red)
Status Indicators
- ● Green dot: Active/On/Running
- ○ Gray dot: Inactive/Off/Stopped
- ✅ Green checkmark: Success/Enabled
- ❌ Red X: Error/Disabled
- ⚠️ Yellow warning: Caution/Attention needed
Progress Bars
Visual capacity indicators:- Green: Low usage (less than 50%)
- Yellow: Medium usage (50-80%)
- Red: High usage (greater than 80%)
Sparklines
Mini charts for trends:Configuration via TUI
The TUI modifies~/.orcbot/orcbot.config.yaml directly:
ConfigManager.
Safe Mode Protection
Certain TUI actions are blocked whensafeMode: true:
- Tool installation
- Tool execution (
Run Tool Command) - Tool uninstallation
- Skill creation
- Config changes to security-critical keys
Examples
Set Up Telegram Bot
- Run
orcbot ui - Select “Manage Connections”
- Select “Telegram”
- Enter bot token (from @BotFather)
- Enable Telegram
- Test connection
- View bot info
Install and Approve Tool
- Run
orcbot ui - Select “Tools Manager”
- Select “Install Tool”
- Enter Git URL:
https://github.com/user/tool.git - Enter tool name:
my-tool - Enter allowed commands:
start,stop - Wait for installation
- Select “Approve Tool”
- Select
my-tool - Confirm allowed commands
Check Worker Status
- Run
orcbot ui - Select “Worker Processes”
- View active workers with PIDs
- Select worker action (start/stop/restart)
Configure Gateway with Tailscale
- Run
orcbot ui - Select “Web Gateway”
- Select “Tailscale Setup & Status Guide”
- Follow guided checks
- Install Tailscale if needed
- Connect to Tailnet
- Note Tailscale IP for remote access
- Set
gatewayApiKeyfor auth - Start gateway
Troubleshooting
Colors Not Displaying: If colors appear broken:
Menu Not Responding: If arrow keys don’t work:
- Ensure terminal is in raw mode (not running inside
screenortmuxwithout proper config) - Try a different terminal emulator
- Check for conflicting keyboard shortcuts
Related Commands
orcbot run- Start agent (controlled via TUI)orcbot daemon- Daemon management (status shown in TUI)orcbot push- Queue tasks (visible in TUI status)orcbot gateway- Gateway server (managed via TUI)
See Also
- Interactive Setup Wizard - Initial configuration via
orcbot setup - Config Management - Programmatic config access
- Skills Documentation - Available agent capabilities