selfhostedworld.com logoselfhostedworld.com

Try describing what you need:

Khoj logo

Khoj

35.7k

A self-hosted alternative to Chatgpt, Notion, Evernote

GNU Affero General Public License v3.0Open Core — Some Features Paid5 Containers — 5 containers — moderate hosting footprintSourceNeeds Pgvector15+ active committers (12mo)

About

Khoj is a personal AI application designed to extend a user’s capabilities as a "second brain." It combines conversational AI, document retrieval, semantic search, and agent creation so people can...

Community Ratings

No ratings yet
demo_chat

Features

  • Chat with local or online LLMs
  • Search personal documents and the internet
  • Use across browser, Obsidian, Emacs, desktop, phone, and WhatsApp
  • Create custom agents
  • Automate research and notifications
  • Semantic search
  • Image generation
  • Voice interaction

Details

Last Updated
Jul 12, 2026
Created
Aug 16, 2021
Install Methods
source
Runtime / Stack
PythonDocker
Privacy & Independence
Cloud: OptionalOffline Capable
User Model
Multi-UserMulti-Tenant
Deployment

Deployment: Docker Compose ✓5 Containersmoderate hosting footprintRuns as 5 containers

Docker Compose

5 services · database: pgvector · infra: pgvector · 1 unclassified (searxng)

no resource limits declared

needs persistent storage (6 volumes)

docker-compose.yml · @ 1e30154 · scanned Jun 7, 2026

services:
  database:
    image: docker.io/pgvector/pgvector:pg15
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: postgres
    volumes:
      - khoj_db:/var/lib/postgresql/data/
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 30s
      timeout: 10s
      retries: 5
  sandbox:
    image: ghcr.io/khoj-ai/terrarium:latest
    healthcheck:
      test: ["CMD-SHELL", "curl -f http://localhost:8080/health"]
      interval: 30s
      timeout: 10s
# ...

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Mar 25, 2026

Related Software

OpenClaw logo

OpenClaw

382.6k
OpenClaw is a personal AI assistant that runs on the user's own devices and connects to messaging channels, voice, and a live canvas interface.
Claws & ClankersSelf Hosting SolutionsAI Agents+2
2 Containers
Details
hermes-agent logo

hermes-agent

213.3k
Hermes Agent is a self-improving AI agent with a built-in learning loop, terminal UI, and messaging gateway for chatting and automating work across platforms.
Generative AIAI AgentsAI Coding Assistant+2
2 Containers
Details
n8n logo

n8n

196.1k
n8n is a workflow automation platform for technical teams that combines visual no-code building with code-based extensibility.
Automation ToolsPermissive LicenseNot FOSS+5
Single ContainerSource AvailableNot FOSS
Details
AutoGPT logo

AutoGPT

185.5k
AutoGPT is a platform for creating, deploying, and managing continuous AI agents that automate complex workflows.
Artificial IntelligenceAutomation ToolsPermissive License+3
13 ContainersOpen Core
Details
opencode logo

opencode

184.9k
An open source AI coding agent.
Artificial IntelligenceAI Coding AssistantPermissive License+4
Details
Ollama logo

Ollama

175.9k
Ollama is a tool for running open models locally and exposing them through a REST API for apps, agents, and integrations.
Generative AIArtificial IntelligenceLocal LLMs+3
Details
Dify.ai logo

Dify.ai

148.5k
An open-source platform for building, testing, and operating LLM-powered applications with workflows, RAG, agents, and observability.
Low Code DevelopmentFOSS with IssuesOpen-Washing Risk+6
36 ContainersOpen CoreFOSS with Issues
Details
Open-WebUI logo

Open-WebUI

145.1k
Open WebUI is a self-hosted AI platform for chatting with LLMs, managing RAG, and building custom model workflows, designed to run entirely offline.
Generative AIArtificial IntelligenceAI Interfaces+7
2 ContainersOpen CoreFOSS with Issues
Details
Claude Code logo

Claude Code

137.5k
Claude Code is an agentic coding tool that runs in the terminal and helps with coding tasks, code explanation, and git workflows using natural language commands.
Artificial IntelligenceAI Coding AssistantAI Harness+3
Cloud Required
Details
Excalidraw logo

Excalidraw

127.3k
An open source virtual hand-drawn style whiteboard for creating diagrams and wireframes.
Diagramming ToolsKnowledge ManagementPermissive License
Single Container
Details
ComfyUI logo

ComfyUI

120.4k
ComfyUI is a modular node-based AI engine for creating images, video, 3D, audio, and other content with fine-grained control over models and parameters.
Artificial IntelligenceAI Media GenerationCopyleft License+3
Freemium
Details
Immich logo

Immich

107.4k
High-performance self-hosted photo and video management solution.
Photo GalleriesCopyleft LicenseMedia Management+1
4 Containers
Details