Self-Hosted · Open Source

One interface.
Every AI model.

Contextualize is a self-hosted chat platform that connects to any LLM provider. Switch models mid-conversation, use MCP tools, organize with projects, and build persistent memory across sessions.

Everything you need

A complete AI chat experience, without vendor lock-in.

Multi-Provider

Access GPT-4o, Claude, Gemini, Llama, and hundreds more through OpenRouter or direct API connections. Switch models mid-conversation.

MCP Tools

Connect to Model Context Protocol servers to give your AI access to external tools, databases, APIs, and file systems.

Streaming

Real-time SSE streaming with token-by-token output. Responses appear instantly, just like the native provider interfaces.

Skills Library

Create reusable prompt templates with system prompts, model defaults, and variable interpolation. Fork and customize system-provided skills.

Projects

Organize chats into projects with custom instructions and colors. Scope conversations to specific contexts for cleaner workflows.

Persistent Memory

AI remembers context across sessions using pgvector similarity search. Built-in tools for saving, updating, and recalling memories.

Self-Hosted

Your data stays on your infrastructure. Deploy with Docker Compose or Kubernetes. No telemetry, no vendor lock-in.

OpenAI-Compatible API

Drop-in replacement for the OpenAI API. Use any existing tool, SDK, or terminal client that speaks the OpenAI protocol.

Multimodal

Send text and images in the same conversation. Supports inline image uploads and URL references for vision-capable models.

Up and running in minutes

Three steps to your own AI chat platform.

1

Clone & Configure

Clone the repo and add your API keys. Supports OpenRouter for 200+ models out of the box.

2

Deploy

Run with Docker Compose or deploy to Kubernetes. PostgreSQL with pgvector handles all persistence.

3

Start Chatting

Open the web UI, pick a model, and go. Add MCP servers, create skills, and organize into projects as you grow.

Built with

Modern, battle-tested technologies.

Next.js 15 App Router + React 19
Hono Lightweight API server
PostgreSQL Drizzle ORM + pgvector
OpenRouter 200+ LLM models
MCP Tool integration protocol
Docker One-command deployment

Take control of your AI conversations

Self-hosted, open source, and endlessly extensible.

Get Started Free