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.

Memory & Knowledge Python Listed AGPL-3.0

Is Khoj safe? Promising trust profile, but some evidence still deserves review.

OSSF Scorecard 3.4 / 10
Provenance Attested
Signed commits 22%
Last push 68d ago
Compare Khoj

How does it stack up against its Memory & Knowledge neighbours?

Pick any agent to compare →
Suggest a correction

In detail: Khoj scores 61.3/100 (Grade C), ranked #618 of 1371 tracked open-source AI agent projects, on evidence coverage A (4 of 5 independent signal types). The public evidence: its packages ship with cryptographic provenance; OSSF Scorecard rates its supply-chain practices 3.4/10; 22% of recent commits are signed; last pushed 2026-08-02. Every point is earned from checkable signals — never paid placement. How scoring works →

How Khoj could raise its score

Each line changes one public signal and recomputes with the live scoring function. The gains don't add up exactly, because the score is capped near the top.

Chain of custody

Scanners check what the code says. This traces who ships Khoj and whether that has changed: from the source repository, through how changes are reviewed and released, to the package you install. These are the checks for OWASP ASI04 Agentic Supply Chain Vulnerabilities.

  1. Source Partly signed

    github.com/khoj-ai/khoj, AGPL-3.0, last pushed 2026-08-02. 22% of the last 100 commits carry a verified signature; the rest can't be tied to a verified identity.

  2. Review and release Weak

    OpenSSF Scorecard rates the repository's practices 3.4/10 (scanned Sep 24, 2026, refresh pending). The checks that decide who can get a change released:

    • Code Review3
    • Branch Protection0
    • Signed Releases0
    • Dangerous Workflow10
    • Token Permissions0
    • Pinned Dependencies0
    All 18 Scorecard checks
    Binary-Artifacts 9
    Branch-Protection 0
    CI-Tests 8
    CII-Best-Practices 0
    Code-Review 3
    Contributors 10
    Dangerous-Workflow 10
    Dependency-Update-Tool 0
    Fuzzing 0
    License 10
    Maintained 5
    Packaging 10
    Pinned-Dependencies 0
    SAST 1
    Security-Policy 0
    Signed-Releases 0
    Token-Permissions 0
    Vulnerabilities 0
  3. Published packages Partly attested

    • PyPI khoj Source link isn't a GitHub repo Build provenance attested

Changes to this chain

No change to package provenance, package source links, Scorecard coverage or license in HVTracker's daily snapshots of Khoj.

Evidence behind this score

Coverage A: 4 of 5 independent evidence types found.

  • GitHub repository data
  • Package downloads
  • Supply-chain checks
  • Public actions (missing)
  • Community mentions

Verify this score yourself

Every build re-issues Khoj’s score as an Ed25519-signed credential, valid for 7 days. You can check it offline against HVTracker’s published key; if anyone changes a number after signing, verification fails.

What this score doesn’t check

It covers who ships the code, not what the code does. It doesn’t read tool descriptions or prompts for injected instructions, watch runtime behaviour, or find bugs nobody has disclosed yet. For that, run a content scanner before you connect it, such as Cisco MCP Scanner or Snyk Agent Scan.

How Khoj compares in Memory & Knowledge

  1. #32 Zvec 63.7 +2.4
  2. #33 AnythingLLM 61.7 +0.4
  3. #34 Khoj 61.3 this agent
  4. #35 PrivateGPT 58.3 −3.0
  5. #36 memU 56.6 −4.7

Bars show each HVTrust score; the tick marks Khoj’s 61.3.

Where the 61.3 comes from

HVTrust dimensions vs the Memory & Knowledge average

61.3 / 100 · 100.0% confidence

Khoj Memory & Knowledge average (49 agents)

Safety / Integrity50% OSSF Scorecard · 30% provenance · 20% signed commits
12.8 / 25
1.6 above avg 11.2
Identity / Provenance60% listing status · 40% build provenance
18.0 / 18
5.4 above avg 12.6
Transparency50% declared license · 50% OSSF Scorecard
11.4 / 17
0.7 below avg 12.1
Maintenance60% last-push freshness · 40% commit activity
7.5 / 20
8.6 below avg 16.1
AdoptionLog-scaled stars · package downloads
14.7 / 20
2.0 above avg 12.7

Quick Trust Read

What Would Improve It
Increase the share of verified signed commits for clearer maintainer identity.
Recent Changes
2026-10-02
Rank Moved
Rank dropped 10 spots (#593 → #603)
2026-09-23
Rank Moved
Rank dropped 352 spots (#215 → #567)
2026-09-21
Rank Moved
Rank rose 280 spots (#494 → #214)
Maintainer Checklist
Raise Scorecard signals Current OSSF Scorecard is 3.4/10. Tighten the weakest checks to improve public safety evidence.
Increase signed commits Raise the share of verified-signed commits to make maintainer identity and release history easier to trust.
Refresh maintenance signals The repo was last pushed 68 days ago. Fresh activity helps separate stable projects from stale ones.
58.9
Activity sub-score · out of 100
#34

How to read this: HVTrust (0–100) weighs supply-chain signals (provenance, OSSF Scorecard, signed commits, open license) alongside real-world adoption. Grade C reflects the trust score band: A ≥ 80, B ≥ 65, C ≥ 50, D < 50. Evidence coverage A is separate — it grades how many independent signal types back the score (4 of 5), so a high score on thin evidence stays visible. Full methodology →

Signals refreshed 2026-10-09 08:15 UTC · Repo last pushed 68 days ago

Rank Trend

2026-09-29 2026-10-09

Activity & Reach

Stars
37.6k
Forks
2.5k
Last Push
2026-08-02
68 days ago
Commits (4 wk)
0
Downloads (7d)
615
pypi
HN mentions (30d)
13
Open Issues
106
Rank Change
=
was #618

Analysis

Activity Inputs

58.9 / 100
StarsRepository reach
27.5 / 30
FreshnessLast push recency
15.6 / 25
ActivityRecent commits
0.0 / 25
CommunityFork signal
15.8 / 20

Common questions about Khoj

Khoj has a mixed signal profile. Some trust indicators are present, others are missing. Whether it is safe for your use case depends on which gaps matter to you — review the breakdown below before adopting in production.
Does Khoj publish package provenance?
Yes. Khoj's package releases carry build provenance attestations, which cryptographically link the published package back to its source repository and CI workflow.
Does Khoj have an OpenSSF Scorecard?
Khoj has an OpenSSF Scorecard score of 3.4/10. The Scorecard checks for branch protection, signed releases, dependency updates, fuzzing, code review, and other supply-chain hygiene items. See the full check breakdown on this page.
Is Khoj actively maintained?
Slowing down. Last push was 68 days ago — keep an eye on whether activity resumes.
What license does Khoj use?
Khoj ships under AGPL-3.0. A declared, OSI-approved license is one of the transparency signals HVTrust scores.
Are Khoj's commits signed?
22% of the last 100 commits to Khoj are verified-signed (GPG, SSH, S/MIME, or GitHub's signing flow). Signed commits help confirm that code was authored by who the commit claims.

Not a safety endorsement. HVTracker describes what public signals show, not whether a project is safe for your use case. Run your own security review before adopting in production.

AI agent surface

MCP, providers, tool surface
Scored in HVTrust

These runtime-trust fields — detected from public repo docs and manifests — contribute a bounded adjustment to this project's HVTrust score alongside supply-chain evidence. The exact values each field can add or subtract are documented in the methodology → Compare this surface across every listed agent in the capability matrix →

MCP Server Support
None detected
No MCP server signal detected.
Detailed evidence is not shown in the public view.
External Service Dependencies
high confidence
6 detected
Public provider/service dependencies detected.
Credential signal: No explicit API-key/config marker detected.
Tool / Plugin Surface
high confidence
2 tags
Broad capability areas detected.
  • code
  • database
Detailed evidence is not shown in the public view.
Package Provenance Drift
low confidence
Unknown
Package source metadata is missing or inconclusive
Detailed evidence is not shown in the public view.
  • MCP signal live
  • External deps live
  • Tool / plugin surface live
  • Package provenance drift live

Maintain Khoj?

For maintainers

HVTrust scores Khoj from public signals only — we never contact maintainers first. If a signal is wrong, stale, or missing (provenance you publish, a Scorecard you run, signed releases), tell us and we'll review it. Corrections are public and tracked on GitHub.

Reputation Timeline

Signal history
Rank 19Score 3Grade 3HVTrust 2
2026-10-02
Rank Moved
Rank dropped 10 spots (#593 → #603)
2026-09-23
Rank Moved
Rank dropped 352 spots (#215 → #567)
2026-09-21
Rank Moved
Rank rose 280 spots (#494 → #214)
2026-09-11
Rank Moved
Rank dropped 17 spots (#461 → #478)
2026-09-07
Rank Moved
Rank dropped 29 spots (#422 → #451)
2026-09-06
Grade Changed
Trust grade B → C
2026-09-06
Rank Moved
Rank dropped 28 spots (#394 → #422)
2026-09-05
Rank Moved
Rank dropped 68 spots (#326 → #394)
2026-09-04
Rank Moved
Rank dropped 10 spots (#316 → #326)
2026-09-03
Rank Moved
Rank dropped 20 spots (#296 → #316)
2026-09-01
Rank Moved
Rank dropped 45 spots (#246 → #291)
2026-09-01
Activity Score Changed
Activity score down 6pts (70 → 64)
2026-08-31
Rank Moved
Rank dropped 28 spots (#218 → #246)
2026-08-26
Rank Moved
Rank dropped 16 spots (#187 → #203)
2026-08-24
Rank Moved
Rank dropped 13 spots (#173 → #186)
2026-08-22
Rank Moved
Rank rose 11 spots (#182 → #171)
2026-08-10
Rank Moved
Rank dropped 12 spots (#147 → #159)
2026-08-08
Rank Moved
Rank dropped 14 spots (#128 → #142)
2026-08-02
Grade Changed
Trust grade C → B
2026-08-02
Rank Moved
Rank rose 41 spots (#159 → #118)
2026-08-02
HVTrust Changed
HVTrust up 4.4pts (64.5 → 68.9)
2026-08-02
Activity Score Changed
Activity score up 11pts (63 → 74)
2026-07-25
Grade Changed
Trust grade B → C
2026-07-24
Rank Moved
Rank dropped 37 spots (#115 → #152)
2026-07-24
HVTrust Changed
HVTrust down 4.2pts (69.2 → 65.0)
2026-07-24
Activity Score Changed
Activity score down 13pts (77 → 64)
2026-07-13
Rank Moved
Rank dropped 15 spots (#84 → #99)

Embed Badge Badge guide for maintainers →

For maintainers
HVTrust 61.3 Grade C
Markdown:
[![HVTrust](https://hvtracker.net/badge/khoj.svg)](https://hvtracker.net/agents/khoj)
HTML:
<a href="https://hvtracker.net/agents/khoj"><img src="https://hvtracker.net/badge/khoj.svg" alt="HVTrust"></a>

Other agents in Memory & Knowledge

Data sources
GitHub REST API (repo, commits, stars, forks, license) · PyPI / pypistats (downloads, provenance) · OpenSSF Scorecard CLI · Algolia HN Search API
Each agent's signals refresh once daily across 6 staggered batches. Methodology v4.4 · Raw JSON