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 dashboardOpens 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.

Navigation
| Page | What it shows |
|---|---|
| Dashboard | Activity chart, session stats, unanalyzed session count, bulk analyze button |
| Sessions | Three-panel session browser with project nav, session list, and detail panel with Insights/Prompt Quality/Conversation tabs |
| Insights | All AI-generated insights in a compact, collapsible list with Timeline/By Type/By Project/By Session views and recurring pattern detection |
| Analytics | Charts: activity over time, model usage, cost breakdown, project table |
| Export | Download sessions and insights as Markdown (by project or date range) |
| Settings | LLM provider configuration with credential testing and Ollama model discovery |
LLM configuration

To enable AI-powered insights:
- Open Settings in the dashboard
- Select a provider: OpenAI, Anthropic, Gemini, or Ollama
- Enter your API key
- Return to any session and click Analyze
Ollama runs fully locally — no API key required. Install Ollama and start a model:
ollama pull llama3.2Then 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