Web UI (ChatRoom)#
The ChatRoom provides a web-based interface for interacting with Pantheon agents and teams.
Overview#
ChatRoom is a service that exposes your agents through a web interface. It starts a local NATS messaging server and automatically opens the Pantheon UI in your browser.
Quick Start#
pantheon ui --auto-start-nats --auto-ui
This single command will:
Start a local NATS server (for messaging between frontend and backend)
Start the ChatRoom backend with your configured agents
Automatically open the web UI in your browser and connect
That’s it — start chatting!
Features#
Visual Interface: Clean, modern chat UI
File Uploads: Attach files to conversations
Multi-User: Multiple users can connect simultaneously
Session Persistence: Conversations are saved and can be resumed
Team Support: Use any team configuration
Auto-Connect:
--auto-uiopens the browser with connection pre-configuredWSL Friendly: On WSL,
--auto-uiattempts to launch your Windows default browser instead of relying on Linux desktop browser handlers
Command Reference#
pantheon ui [OPTIONS]
Core Options:
Option |
Default |
Description |
|---|---|---|
|
|
Start a local NATS server automatically. Required for local usage. |
|
|
Open browser with auto-connect config. Requires |
|
Team template name from |
|
|
NATS server URL(s). Supports WebSocket ( |
|
|
|
How to start the endpoint: |
Advanced Options:
Option |
Default |
Description |
|---|---|---|
|
from settings |
Service name for the ChatRoom instance. |
|
from settings |
Directory to store conversation memory. |
|
from settings |
Workspace directory for the endpoint. |
|
|
Log level ( |
|
Hash string for stable service ID (e.g., |
|
|
Connect to an existing remote endpoint instead of starting a new one. |
|
|
from settings |
Model for speech-to-text transcription. |
Examples:
# Quick local start (recommended)
pantheon ui --auto-start-nats --auto-ui
# Use a specific team template
pantheon ui --auto-start-nats --auto-ui --template data_research_team
# Custom frontend URL (for local development)
pantheon ui --auto-start-nats --auto-ui "http://localhost:5173"
# Connect to a remote NATS server
pantheon ui --nats-servers "wss://your-server.com/nats"
# Set a stable service ID
pantheon ui --auto-start-nats --auto-ui --id-hash alice
# Debug mode
pantheon ui --auto-start-nats --auto-ui --log-level DEBUG
Configuration#
ChatRoom reads configuration from .pantheon/:
settings.json- General settingsteams/*.md- Team templatesmcp.json- MCP server configuration
Architecture#
┌─────────────────┐ ┌─────────────────┐
│ Web Browser │◀───▶│ NATS Server │
│ (Pantheon UI) │ WS │ (local:8080) │
└─────────────────┘ └────────┬────────┘
│ TCP
┌────────┴────────┐
│ ChatRoom │
│ (Backend) │
└────────┬────────┘
│
┌────────┴────────┐
▼ ▼
┌──────────┐ ┌──────────┐
│ Agents │ │ Toolsets │
└──────────┘ └──────────┘
With --auto-start-nats, a local NATS server is started that provides:
WebSocket (
ws://127.0.0.1:8080) for browser connectionsTCP (
nats://localhost:4222) for backend communication
The ChatRoom backend connects to NATS and manages your agents, toolsets, and MCP servers.
Next Steps#
ChatRoom Quick Start - Step-by-step setup
Web Interface Features - UI features
Advanced ChatRoom Usage - Programmatic usage and customization