Skip to content

Web Console

The Web Console is Commander's visual control surface: chat with streaming agents, live topology, governance, and ops views.

Start

Dev (monorepo)

bash
cd Commander
pnpm install
export OPENAI_API_KEY=sk-...   # or other provider
pnpm gui
ServiceTypical URL
APIhttp://localhost:4000
Web (Vite dev)http://localhost:5173

pnpm gui starts API + Web and tries to open the browser.

Docker

bash
export COMMANDER_API_KEY="your-secret-key"
export OPENAI_API_KEY="sk-..."
docker compose up -d
ServiceURL
APIhttp://localhost:4000
Web (Nginx)http://localhost:3000

What you get

AreaPurpose
DashboardBattle report, token trends, live topology, agent roster, mission board
ChatConversational runs with real-time agent streaming
GovernanceApproval queue, policy configuration, audit log
DLQDead letter queue inspect + replay
SecurityCompliance / posture views (ISO 42001 / NIST AI RMF oriented)
ExecutionLive execution feed, hallucination risk panel
AgentsRoster + lineage tree

Exact labels may evolve with the apps/web package — treat this as the product map, not a pixel-perfect UI spec.

Preview

Commander Web Console — mission board, live topology, execution feed, chat

Health checks

bash
curl http://localhost:4000/health
curl http://localhost:4000/health/detailed
curl http://localhost:4000/readyz
curl http://localhost:4000/metrics

Auth

If COMMANDER_API_KEY is set, API clients (including the console) must send:

http
Authorization: Bearer <COMMANDER_API_KEY>

Never commit the key. Rotate if leaked.

When to use Console vs CLI

Use Console when…Use CLI when…
You want visual topology and approvalsScripts, CI, SSH-only hosts
Debugging long multi-agent runsOne-shot plan / run --stream
Ops (DLQ, audit)Automation and packaging

Troubleshooting

IssueFix
Blank UIConfirm API is up on :4000; check browser console CORS
401Set matching COMMANDER_API_KEY on API and client
No modelsExport a provider key in the shell that started pnpm gui
Port conflictStop other services on 4000/5173/3000

More: Troubleshooting · Deployment.

MIT Licensed — Built for multi-agent orchestration.