{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "drdroidlab-open-index--model-your-services-and-runbooks",
 "repo": "DrDroidLab/open-index",
 "repo_url": "https://github.com/DrDroidLab/open-index",
 "repo_slug": "drdroidlab-open-index",
 "title": "Map your services and runbooks for an agent",
 "page_title": "How to map your services and runbooks for an agent with Open Index",
 "summary": "Define doc_types like service and runbook, add entities with related_to edges, and index them.",
 "who": "An SRE who wants an incident agent to know which runbook belongs to which service.",
 "problem": "Agents guess at infrastructure relationships from scattered docs.",
 "outcome": "A searchable brain where every service links to its runbooks.",
 "steps": [
  "Start with `open-index init my-brain`",
  "Add a type with `open-index add-doc-type customer --brain my-brain` (use service for infra)",
  "Write entity JSON files under my-brain/entities with related_to edges",
  "Run `open-index index --brain my-brain` and open the UI"
 ],
 "agent_prompt": "Create an Open Index brain with doc_types service and runbook, add entities for <services>, index it, and list each service's runbooks. Confirm every service has at least one edge.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "With storage: file the Git files are the source of truth; the default index storage is DB-owned.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python",
  "Docker optionally, for a shared brain"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/drdroidlab-open-index/model-your-services-and-runbooks/",
 "md": "https://dedupedai.com/use-cases/drdroidlab-open-index/model-your-services-and-runbooks/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/drdroidlab-open-index--model-your-services-and-runbooks.json",
 "api_version": "v1"
}
