chatz
Self-hosted AI chat connects to Ollama, OpenAI and Anthropic, renders live components, and stores conversations in SQLite or Postgres. MIT licensed.

chatz is a self-hosted AI chat app that can display live charts, tables and status panels inside conversations. It's for individuals and teams who want to host their own chat interface, choose their model providers and connect tools. The app is open source under the MIT license.
The Go application includes a browser interface and runs as a single binary or Docker container. It stores conversations in your SQLite or Postgres database. Model processing depends on the endpoint you choose: Ollama provides a local model backend, while OpenAI and Anthropic connections send requests to those services. It also works with other OpenAI-compatible APIs, including AIGate.
Model replies, reasoning and tool calls stream into the chat as they're produced. You can stop a response or refresh the page without losing the submitted prompt. Each conversation keeps its own model settings, with controls for reasoning, response length and how much chat history the model receives. You can search saved chats.
MCP support lets admins connect tools through local processes or HTTP servers, and users choose which tools to enable in each conversation. Model and tool results can appear as live components, including log viewers, rather than only text. Admins manage user accounts and model connections, making the same app usable for a personal installation or a shared server. Stored MCP settings are encrypted, and admin responses mask authorization headers.