{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "ivenkoolab-loci--search-and-ask-your-notes",
 "repo": "IvenKooLab/loci",
 "repo_url": "https://github.com/IvenKooLab/loci",
 "repo_slug": "ivenkoolab-loci",
 "title": "Search and ask questions across your own notes",
 "page_title": "How to search and ask questions across your own notes with Loci",
 "summary": "Index a notes folder, then get search hits and cited answers from the terminal.",
 "who": "A researcher or developer with scattered Markdown notes who needs to find an old decision fast.",
 "problem": "Decisions and facts are buried across many files, and plain keyword search misses them.",
 "outcome": "A local index that returns excerpts and answers that cite the source file and section.",
 "steps": [
  "Run `git clone https://github.com/IvenKooLab/loci.git` and then `cd loci`.",
  "Run `python -m pip install -e .` and then `cp config.example.toml config.toml`.",
  "Edit config.toml: fill in [llm] and [embed], and set [[sources]].path to your notes directory.",
  "Run `loci ingest` to build the index.",
  "Run `loci search \"deployment decisions\"` and then `loci ask \"What did we decide about deployment, and why?\"`."
 ],
 "agent_prompt": "Using the IvenKooLab/loci repo, configure config.toml so [[sources]].path points to <notes-directory>, run loci ingest, then run loci ask with the question <question>. Expected output: an answer with file > section citations. Verify that each citation names a file that exists under <notes-directory>.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Embedding and chat requests go to the providers you configure, so only local endpoints keep the whole workflow offline.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer",
  "git and a terminal",
  "An embedding endpoint that supports /embeddings, plus a chat endpoint (may be a local one)",
  "A notes or project docs directory to index"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Provider API keys go in config.toml or the BRAIN_LLM_API_KEY and BRAIN_EMBED_API_KEY variables, so keep them out of the repository."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ivenkoolab-loci/search-and-ask-your-notes/",
 "md": "https://dedupedai.com/use-cases/ivenkoolab-loci/search-and-ask-your-notes/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/ivenkoolab-loci--search-and-ask-your-notes.json",
 "api_version": "v1"
}
