{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "arihantdeva-heimdall--index-private-code-locally-no-llm",
 "repo": "ArihantDeva/heimdall",
 "repo_url": "https://github.com/ArihantDeva/heimdall",
 "repo_slug": "arihantdeva-heimdall",
 "title": "Index private code on your own CPU with no token spend",
 "page_title": "How to index private code on your own CPU with no token spend with Heimdall",
 "summary": "Build a searchable memory of your repos that never leaves your machine.",
 "who": "A developer with private or client code who wants searchable agent memory without sending files to a cloud model.",
 "problem": "Most memory tools send code to an extraction LLM or charge tokens for every indexed file.",
 "outcome": "A local index built with tree-sitter parsing and local embeddings, with search running against your local daemon.",
 "steps": [
  "`npm i -g @arihantdeva/heimdall`",
  "`heimdall setup --detect-only`",
  "`heimdall setup --model bge-small-en-v1.5`",
  "`heimdall doctor`",
  "`heimdall search \"<topic>\"` (inferred, check the README)"
 ],
 "agent_prompt": "Using the ArihantDeva/heimdall CLI, run `heimdall setup --detect-only` and report the hardware profile, then run `heimdall doctor` and confirm it prints HEALTHY. Expected output: the hardware profile and the doctor status. Verify that no network call is needed for indexing by checking the README's stated local-only design.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README says the Linux daemon packaging is still unchecked on the roadmap, so the background daemon setup is documented for macOS launchd and may need manual work on Linux.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "Node.js with npm, to run `npm i -g @arihantdeva/heimdall`",
  "macOS or a Debian, Ubuntu, Fedora or Amazon Linux machine, with the build prerequisites listed in the README for the graft backend",
  "git, because llama.cpp is cloned at first build",
  "A supported agent harness: pi, Claude Code, Codex, Cursor, Windsurf, or opencode"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/arihantdeva-heimdall/index-private-code-locally-no-llm/",
 "md": "https://dedupedai.com/use-cases/arihantdeva-heimdall/index-private-code-locally-no-llm/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/arihantdeva-heimdall--index-private-code-locally-no-llm.json",
 "api_version": "v1"
}
