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.0 / 10
Provenance Attested
Signed commits 22%
Last push 113d 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 58.3/100 (Grade C), ranked #762 of 1387 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.0/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.0/10 (scanned Nov 22, 2026). 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 0
    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. #39 memU 60.0 +1.7
  2. #40 pgvector 59.0 +0.7
  3. #41 Khoj 58.3 this agent
  4. #42 MemOS 56.9 −1.4
  5. #43 OpenLore 56.5 −1.8

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

Where the 58.3 comes from

HVTrust dimensions vs the Memory & Knowledge average

58.3 / 100 · 100.0% confidence

Khoj Memory & Knowledge average (52 agents)

Safety / Integrity50% OSSF Scorecard · 30% provenance · 20% signed commits
12.3 / 25
in line with avg 11.9
Identity / Provenance60% listing status · 40% build provenance
18.0 / 18
5.4 above avg 12.6
Transparency50% declared license · 50% OSSF Scorecard
11.1 / 17
1.9 below avg 13.0
Maintenance60% last-push freshness · 40% commit activity
4.5 / 20
12.6 below avg 17.1
AdoptionLog-scaled stars · package downloads
15.5 / 20
2.4 above avg 13.1

Quick Trust Read

What Would Improve It
Increase the share of verified signed commits for clearer maintainer identity.
Recent Changes
2026-10-31
Activity Went Stale
No commits for 90 days
Maintainer Checklist
Raise Scorecard signals Current OSSF Scorecard is 3.0/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 113 days ago. Fresh activity helps separate stable projects from stale ones.
52.6
Activity sub-score · out of 100
#41

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-11-23 12:08 UTC · Repo last pushed 113 days ago

Rank Trend

2026-09-29 2026-11-23

Activity & Reach

Stars
38.2k
Forks
2.6k
Last Push
2026-08-02
113 days ago
Commits (4 wk)
0
Downloads (7d)
2,560
pypi
HN mentions (30d)
14
Open Issues
113
Rank Change
=
was #762

Analysis

Activity Inputs

52.6 / 100
StarsRepository reach
27.5 / 30
FreshnessLast push recency
9.3 / 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.0/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 113 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
How this surface has changed

Detected changes to Khoj's runtime surface and supply-chain posture, from daily public-signal snapshots. A change here means our detectors see something different — a genuinely changed capability, or better evidence of an existing one.

2026-10-31
Activity Went Stale
No commits for 90 days

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 13Score 1Grade 1Stale 1
2026-10-31
Activity Went Stale
No commits for 90 days
2026-10-16
Rank Moved
Rank dropped 12 spots (#650 → #662)
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)

Embed Badge Badge guide for maintainers →

For maintainers
HVTrust 58.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