Skip to content
Code Insights
Documentation

The Dashboard

Tour the Code Insights embedded dashboard — session list, activity charts, project stats, insights, and chat view, all served locally at localhost:7890.

Launching the dashboard

code-insights dashboard

Opens your browser at localhost:7890. The dashboard is a Vite + React SPA served by the Hono server embedded in the CLI. It runs as long as the terminal process is alive.

Dashboard overview
PageWhat it shows
DashboardActivity chart, session stats, unanalyzed session count, bulk analyze button
SessionsThree-panel session browser with project nav, session list, and detail panel with Insights/Prompt Quality/Conversation tabs
InsightsAll AI-generated insights in a compact, collapsible list with Timeline/By Type/By Project/By Session views and recurring pattern detection
AnalyticsCharts: activity over time, model usage, cost breakdown, project table
ExportDownload sessions and insights as Markdown (by project or date range)
SettingsLLM provider configuration with credential testing and Ollama model discovery

LLM configuration

Settings — LLM provider configuration

To enable AI-powered insights:

  1. Open Settings in the dashboard
  2. Select a provider: OpenAI, Anthropic, Gemini, or Ollama
  3. Enter your API key
  4. Return to any session and click Analyze

Ollama runs fully locally — no API key required. Install Ollama and start a model:

ollama pull llama3.2

Then select Ollama in Settings and enter your model name.

Port configuration

If port 7890 is already in use, the dashboard will fail to start. Check what's using the port:

lsof -i :7890