khoj-ai

    khoj-ai/khoj

    Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

    38.0K stars
    2.5K forks
    38.0K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 223 days ago, with 73 contributors on GitHub.

    Peaked at #26 in the weekly ranking the week of Aug 30, its best in the past year.

    Use Cases & Benefits

    • Provides a self-hostable AI assistant that integrates local and online large language models for answering questions, automating research, and managing knowledge.
    • Enables customizable AI agents with personalized knowledge bases, personas, and tools, supporting seamless scaling from personal devices to enterprise deployments.
    • Use for building a private AI research assistant that retrieves and reasons over diverse document types like PDFs, Markdown, and Notion files.
    • Use for automating repetitive workflows and receiving personalized newsletters and smart notifications based on custom AI agents.
    • Use for integrating AI chat and semantic search capabilities into productivity tools like Obsidian, Emacs, desktop, mobile, or WhatsApp.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    AGPL 3.0

    Network copyleft: like the GPL, and also triggered by offering the software over a network.

    Community files

    • README: present

    Watch-outs

    • AGPL-style copyleft also applies when the software is offered over a network.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Khoj is a personal AI app to extend your capabilities. It smoothly scales up from an on-device personal AI to a cloud-scale enterprise AI.

    Go to https://app.khoj.dev to see Khoj live.

    You can see the full feature list here.

    Excerpt from the khoj-ai/khoj README on GitHub (AGPL-3.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 4: +34Sep 5: +59Sep 6: +15Sep 7: +13

    +1,542 stars over 86 days across 11 snapshot days; best day +59 on Sep 5.

    Forks

    2.5K+154

    Open issues

    170+43

    Compared with peers in AI Agents

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    khoj-ai/khoj compared with AI Agents repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    morluto/rea450.0K+22.9K7516 days ago
    vercel-labs/agent-desktop21.4K+8.7K755 days ago
    milind-soni/OpenMausBot20.6K+8.4K75today
    stablyai/orca121.4K+6.7K75today
    thedotmack/claude-mem115.8K+4.7K75today
    khoj-ai/khoj38.0K—43223 days ago
    Category median115.8K+8.4K75—

    Discover Repositories

    Search across tracked repositories by name or description