
I Built AI Hub — A Self-Hosted Multi-Session AI Chat Platform with Claude Code CLI Under the Hood
Hey folks 👋 I've been working on a project called AI Hub and wanted to share it with the community. It's a self-hosted, web-based multi-session AI chat platform that uses Claude Code CLI as its agent engine — and it's fully open source. GitHub: https://github.com/cih1996/ai-hub Why I Built This I was tired of juggling multiple terminal windows running Claude Code CLI sessions. I wanted a clean web UI where I could manage multiple AI conversations simultaneously, with real-time streaming, persistent history, and the full power of Claude Code's agentic capabilities — all from my browser. So I built AI Hub. What It Does AI Hub wraps Claude Code CLI into a proper web application. Here's the architecture: Vue 3 Frontend ←WebSocket/REST→ Go Backend ←Persistent Subprocess Pool→ Claude Code CLI The key features: Multi-session management — Run multiple Claude Code sessions in parallel, each with its own context and history Real-time streaming — WebSocket-based message streaming, so you see resp
Continue reading on Dev.to Webdev
Opens in a new tab



