The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Selfhost AI
One-command installer for a self-hosted AI stack on your own server: n8n, Ollama, Open WebUI, OpenClaw, Dify, Flowise, Supabase, ComfyUI, Qdrant & 30+ tools. Docker Compose,…
Install
git clone https://github.com/kossakovsky/selfhost-aiInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Selfhost AI — One-Command Self-Hosted AI Stack (n8n, Ollama, Open WebUI, OpenClaw)
Deploy 30+ open-source AI and automation tools on your own server with a single command. Selfhost AI is a Docker Compose installer for a private AI homelab: n8n workflow automation, local LLMs with Ollama, a ChatGPT-style chat in Open WebUI, AI agents (OpenClaw, Flowise, Keelflow, Dify, Letta), RAG engines and vector databases (Qdrant, Weaviate, LightRAG, RAGFlow), Supabase, ComfyUI and Grafana monitoring. An interactive wizard picks the services, generates every secret and puts them all behind Caddy with automatic HTTPS. A free, self-hosted alternative to Zapier, Make and ChatGPT.
Quick Start
You need a VPS with a public IP running Ubuntu 24.04 LTS (4 GB RAM / 2 CPU for n8n and monitoring; 20 GB RAM / 4 CPU / 60 GB disk for everything), a domain, and a wildcard DNS record A *.yourdomain.com -> YOUR_SERVER_IP. Then run:
git clone https://github.com/kossakovsky/selfhost-ai && cd selfhost-ai && sudo bash ./scripts/install.sh
The wizard does the rest; see Installation for what it asks.
Key Features
- One-command install: an interactive wizard, generated secrets and no manual configuration
- Private AI homelab: run LLMs locally with Ollama, on CPU, NVIDIA or AMD GPUs, including multi-GPU; your data stays on your server
- ChatGPT alternative: Open WebUI for local and API models, with an optional code-execution sandbox
- Workflow automation: n8n with 400+ integrations, queue mode with scalable workers, an MCP server for AI IDEs, and 300+ optional community workflows
- AI agents and RAG: OpenClaw (with Telegram), Flowise, Keelflow, Dify, Letta, LightRAG, RAGFlow, Qdrant, Weaviate
- Automatic HTTPS: Caddy reverse proxy with Let's Encrypt; services are reached only through Caddy (see security notes for Supabase's ports); optional Cloudflare Tunnel
- Built-in monitoring: Grafana and Prometheus with an n8n workflow dashboard and ready-made alerts
- Production ready: health checks, service dependencies,
make doctordiagnostics, and updates that preserve your settings - Free and open source: Apache 2.0, no vendor lock-in
What's Included
Always installed: Caddy (reverse proxy and HTTPS), PostgreSQL, and Valkey (Redis-compatible). Everything below is optional and chosen in the wizard. "internal" means the service has no public URL and is reachable only from other containers.
AI Chat and Agents
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io