Khoj CLI

Fully offline

Terminal entry into Khoj's local AI assistant. Use grep, get answers, never leave the shell.

Editorial verdict: “Best terminal companion for note-summarization workflows. Pipe-friendly.

Productivity
Free
AGPL-3.0
4.2 / 5
GitHub ★ 18,000

Compatibility at a glance

Which runtime + OS combos this app works against. Source of truth for "will it run on my setup?"

§ Runtimes supported
ollamallama-cppopenai-compat
§ OS / platform
macoslinuxwindows
§ Hardware + model hint
Minimum VRAM
4 GB
Recommended starter model
Llama 3.1 8B Q4_K_M

What it is

Khoj also ships a CLI you can pipe into. `grep -r 'foo' . | khoj 'summarize what we use foo for'` works. For shell-power-user note-taking and local-doc summarization. Pairs with the Khoj server (also in this directory).

✓ Strengths

  • +Pipe-friendly — slots into shell workflows naturally
  • +Same local-runtime backing as Khoj proper
  • +Open-source

△ Caveats

  • Needs Khoj server running
  • Less discoverable than GUI

About the Productivity category

Note-taking, knowledge management, or workflow apps with AI.