{
  "schema_version": "1.0",
  "publisher": "AI Release",
  "article": {
    "title": "How to Set Up QMD for Coding Agents and Cut Token Usage on File Search",
    "canonical_url": "https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
    "language": "en",
    "article_type": "guide",
    "published_at": null,
    "updated_at": "2026-11-16T00:00:00+00:00"
  },
  "summary": "Time to complete: 30–45 minutes Difficulty: Intermediate",
  "topics": [
    "QMD для кодинг-агентов",
    "как настроить QMD",
    "экономия токенов ИИ-агента"
  ],
  "entities": [
    {
      "id": "E1",
      "name": "QMD для кодинг-агентов",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E2",
      "name": "как настроить QMD",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E3",
      "name": "экономия токенов ИИ-агента",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E4",
      "name": "Windows",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E5",
      "name": "Linux",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E6",
      "name": "macOS",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E7",
      "name": "Git",
      "type": "платформа/технология",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    },
    {
      "id": "E8",
      "name": "Claude",
      "type": "тема/инструмент",
      "description": "упоминается в заголовке, TL;DR или разделах гайда",
      "url": null
    }
  ],
  "claims": [
    {
      "id": "AR-GUIDE-KAKNASTROI-001",
      "statement": "Time to complete: 30–45 minutes",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "Time to complete: 30–45 minutes"
    },
    {
      "id": "AR-GUIDE-KAKNASTROI-002",
      "statement": "Difficulty: Intermediate",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "Difficulty: Intermediate"
    },
    {
      "id": "AR-GUIDE-KAKNASTROI-003",
      "statement": "You need: Linux or macOS (Windows via WSL2), bash 4+, git, rg (ripgrep) for the baseline measurement, one repository you can index, and a coding agent that can execute shell commands. QMD must be installed and resolvable on PATH. This guide does not pin a QMD version: every QMD-specific subcommand, flag or config field is marked check the documentation — run qmd --help and confirm the exact spelling for your build before you type it.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
      "article_anchor": "#tldr",
      "evidence_excerpt": "You need: Linux or macOS (Windows via WSL2), bash 4+, git, rg (ripgrep) for the baseline measurement, one repository you can index, and a coding agent that can execute shell commands. QMD must be installed and resolvable on PATH. This guide does not pin a QMD version: every QMD-specific subcommand, flag or config field is marked check the documentation — run qmd --help and confirm the exact spelling for your build before you type it."
    },
    {
      "id": "AR-GUIDE-KAKNASTROI-004",
      "statement": "OS and shell. Linux or macOS with bash 4+; on Windows use WSL2. Verify: bash --version prints GNU bash, version 5.x or newer.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "OS and shell. Linux or macOS with bash 4+; on Windows use WSL2. Verify: bash --version prints GNU bash, version 5.x or newer."
    },
    {
      "id": "AR-GUIDE-KAKNASTROI-005",
      "statement": "git. Your project must be a git repository, because the cheapest way to bound the index is to index tracked files only. Verify: git rev-parse --show-toplevel prints the repo root.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "git. Your project must be a git repository, because the cheapest way to bound the index is to index tracked files only. Verify: git rev-parse --show-toplevel prints the repo root."
    },
    {
      "id": "AR-GUIDE-KAKNASTROI-006",
      "statement": "QMD installed and on PATH. Verify: qmd --version. If you get command not found, add the install directory to PATH (see Troubleshooting, case 1). The install command and supported version are check the documentation.",
      "claim_type": "guide_fact",
      "confidence": "not_assessed",
      "source_type": "заявление источника",
      "verification_status": "reported_unverified",
      "source_url": "https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
      "article_anchor": "#requirements",
      "evidence_excerpt": "QMD installed and on PATH. Verify: qmd --version. If you get command not found, add the install directory to PATH (see Troubleshooting, case 1). The install command and supported version are check the documentation."
    }
  ],
  "relationships": [
    {
      "subject": "Guide",
      "predicate": "describes",
      "object": "How to Set Up QMD for Coding Agents and Cut Token Usage on File Search",
      "claim_id": "AR-GUIDE-KAKNASTROI-001"
    },
    {
      "subject": "Guide",
      "predicate": "includes step",
      "object": "Step 1. Measure the baseline: how many bytes your agent burns on file search",
      "claim_id": "AR-GUIDE-KAKNASTROI-001"
    }
  ],
  "questions_and_answers": [
    {
      "question": "What is required?",
      "answer": "OS and shell. Linux or macOS with bash 4+; on Windows use WSL2. Verify: bash --version prints GNU bash, version 5.x or newer.; git. Your project must be a git repository, because the cheapest way to bound the index is to index tracked files only. Verify: git rev-parse --show-toplevel prints the repo root.; QMD…",
      "claim_ids": [
        "AR-GUIDE-KAKNASTROI-003"
      ],
      "article_anchor": "#requirements"
    },
    {
      "question": "How to do it?",
      "answer": "Step 1. Measure the baseline: how many bytes your agent burns on file search → Step 2. Build the index and give the agent a single search entry point → Step 3. Verify the reduction and keep the index fresh",
      "claim_ids": [
        "AR-GUIDE-KAKNASTROI-004"
      ],
      "article_anchor": "#step-1"
    },
    {
      "question": "Which topics does it cover?",
      "answer": "QMD для кодинг-агентов, как настроить QMD, экономия токенов ИИ-агента",
      "claim_ids": [
        "AR-GUIDE-KAKNASTROI-002"
      ],
      "article_anchor": "#entities"
    },
    {
      "question": "What are the key points?",
      "answer": "Time to complete: 30–45 minutes Difficulty: Intermediate",
      "claim_ids": [
        "AR-GUIDE-KAKNASTROI-007"
      ],
      "article_anchor": "#tldr"
    }
  ],
  "limitations": [
    "Current versions, prices and limits.",
    "Independent benchmarks and quality checks.",
    "Terms of use and data policy."
  ],
  "citation": {
    "preferred_citation": "AI Release. Как настроить QMD для кодинг-агентов и сократить расход токенов на поиск файлов. https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
    "canonical_url": "https://ai-release.org/guides/kak-nastroit-qmd-dlya-koding-agentov-i-sokratit-rashod_en.html",
    "publisher": "AI Release"
  }
}