{
 "schema_version": 1,
 "generated": "2026-10-30",
 "id": "volcengine-openviking--import-a-repo-and-search-it-by-directory",
 "repo": "volcengine/OpenViking",
 "repo_url": "https://github.com/volcengine/OpenViking",
 "repo_slug": "volcengine-openviking",
 "title": "Import a repository and search it one directory at a time",
 "page_title": "How to import a repository and search it one directory at a time with OpenViking",
 "summary": "Add a GitHub repo as a resource and use scoped find and grep instead of a flat vector search.",
 "who": "An engineer who wants an agent to answer questions about a large codebase or docs set.",
 "problem": "Flat vector search over everything returns noisy matches from unrelated parts of the project.",
 "outcome": "The repo indexed under viking://resources with abstracts and overviews, searchable by subtree.",
 "steps": [
  "With the server running, run `ov add-resource https://github.com/volcengine/OpenViking` (or your repo)",
  "Check progress with ov task status and your task ID",
  "Browse with `ov ls viking://resources/` and `ov tree viking://resources/volcengine -L 2`",
  "Search with `ov find \"what is openviking\"` or grep inside one folder with --uri"
 ],
 "agent_prompt": "Use volcengine/OpenViking's ov CLI to import <repo URL>, wait for the task to finish, then answer <question> using ov find scoped to the right directory and show the URIs you used.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "uv and Python for a self-hosted server, or the hosted OpenViking Service",
  "A model provider for the server (Volcengine, OpenAI, Codex OAuth, Kimi, GLM or local Ollama)",
  "A user key for the memory plugin (a root key cannot read or write memories)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/volcengine-openviking/import-a-repo-and-search-it-by-directory/",
 "md": "https://dedupedai.com/use-cases/volcengine-openviking/import-a-repo-and-search-it-by-directory/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/volcengine-openviking--import-a-repo-and-search-it-by-directory.json",
 "api_version": "v1"
}
