{
  "schema_version": 1,
  "builder_plan": {
    "scenario": "Your self-hosted model spends too long generating answers token by token.",
    "change": "Check whether a compatible draft model and serving integration exist before renting compute.",
    "baseline": "The same target with speculation off, then your existing drafter if you have one.",
    "steps": [
      "Locate the paper's implementation and check its license, model support, data needs, and hardware requirements. Stop here if you cannot obtain the required artifacts.",
      "Save a small set of representative product tasks and expected outcomes. Keep evaluation tasks out of any training or tuning, and choose quality and cost limits before running.",
      "Run the baseline and the proposed change on identical inputs. Keep other settings fixed and repeat paired runs to expose variation.",
      "Save per-task outputs, failures, timings, and all usage costs. Review regressions before expanding the test."
    ],
    "measure": "Accepted draft length, tokens per second, tail latency, output quality, and total GPU cost.",
    "decision": "Keep the change only if it meets your preselected quality and latency limits and improves the metric you care about after setup and operating costs. Otherwise retain the baseline. This is an exploration plan, not a validated recommendation."
  },
  "builder_review": null,
  "arxiv_id": "2610.01108",
  "title": "AgSpec: Pushing the Limits of Retrieval-Based Speculative Decoding in Coding Agent Pipelines",
  "summary": "AgSpec replaces learned-draft speculative decoders (e.g., EAGLE-3) and generic retrieval drafters by retrieving token continuations from session-trajectory, workspace, and global corpora indexed in the agent's emission format, with per-agent draft lengths capped by offline profiling and adapted online from verification feedback. It costs the engineering of building and maintaining three corpora plus offline profiling of draft-length caps per agent, and adds retrieval and verification overhead per step, though it avoids training a draft model entirely. Gains depend on the agent actually repeating prior text; they shrink on workloads with little token reuse, and a stale or misformatted corpus or a miscalibrated draft-length cap can degrade throughput below the autoregressive baseline.",
  "rationale": "The speedup is directly relevant to a single-GPU batch-1 deployment and requires no model training, but it is specific to retrieval-heavy coding-agent workloads and demands infrastructure work whose payoff must be validated on the reader's own pipeline.",
  "technique": "Retrieval-based speculative decoding with session corpora and adaptive draft length",
  "family": "decodificacao_especulativa",
  "recommendation": "testar",
  "published": "2026-10-01",
  "as_of": "2026-10-18",
  "editorial_status": "indexed",
  "source_url": "https://arxiv.org/abs/2610.01108",
  "independent_implementations": 3,
  "total_implementations": 4,
  "stars": 135,
  "citations": null,
  "claims": [
    {
      "claim_id": "claim-01",
      "statement": "AgSpec replaces learned-draft speculative decoders (e.g., EAGLE-3) and generic retrieval drafters by retrieving token continuations from session-trajectory, workspace, and global corpora indexed in the agent's emission format, with per-agent draft lengths capped by offline profiling and adapted online from verification feedback. It costs the engineering of building and maintaining three corpora plus offline profiling of draft-length caps per agent, and adds retrieval and verification overhead per step, though it avoids training a draft model entirely. Gains depend on the agent actually repeating prior text; they shrink on workloads with little token reuse, and a stale or misformatted corpus or a miscalibrated draft-length cap can degrade throughput below the autoregressive baseline.",
      "basis": "inferred",
      "result": "",
      "baseline": "",
      "conditions": "",
      "source_url": "https://arxiv.org/abs/2610.01108",
      "source_page": null,
      "source_excerpt": ""
    },
    {
      "claim_id": "claim-02",
      "statement": "Raises generation throughput over autoregressive decoding up to 4.37x at batch size 1 and 4.76x at batch size 16, outperforming five retrieval-based drafters and EAGLE-3 in most evaluated settings on repository-level multi-agent coding benchmarks.",
      "basis": "inferred",
      "result": "",
      "baseline": "",
      "conditions": "",
      "source_url": "https://arxiv.org/abs/2610.01108",
      "source_page": null,
      "source_excerpt": ""
    }
  ],
  "exposure_map": [
    {
      "dimension": "quality",
      "basis": "not_evaluated",
      "finding": "",
      "interpretation": "",
      "limitation": "",
      "next_check": "",
      "source_url": "",
      "source_page": null,
      "source_excerpt": ""
    },
    {
      "dimension": "compute",
      "basis": "not_evaluated",
      "finding": "",
      "interpretation": "",
      "limitation": "",
      "next_check": "",
      "source_url": "",
      "source_page": null,
      "source_excerpt": ""
    },
    {
      "dimension": "latency",
      "basis": "not_evaluated",
      "finding": "",
      "interpretation": "",
      "limitation": "",
      "next_check": "",
      "source_url": "",
      "source_page": null,
      "source_excerpt": ""
    },
    {
      "dimension": "operations",
      "basis": "not_evaluated",
      "finding": "",
      "interpretation": "",
      "limitation": "",
      "next_check": "",
      "source_url": "",
      "source_page": null,
      "source_excerpt": ""
    },
    {
      "dimension": "compatibility",
      "basis": "not_evaluated",
      "finding": "",
      "interpretation": "",
      "limitation": "",
      "next_check": "",
      "source_url": "",
      "source_page": null,
      "source_excerpt": ""
    },
    {
      "dimension": "security",
      "basis": "not_evaluated",
      "finding": "",
      "interpretation": "",
      "limitation": "",
      "next_check": "",
      "source_url": "",
      "source_page": null,
      "source_excerpt": ""
    },
    {
      "dimension": "data_and_training",
      "basis": "not_evaluated",
      "finding": "",
      "interpretation": "",
      "limitation": "",
      "next_check": "",
      "source_url": "",
      "source_page": null,
      "source_excerpt": ""
    },
    {
      "dimension": "reproducibility",
      "basis": "not_evaluated",
      "finding": "",
      "interpretation": "",
      "limitation": "",
      "next_check": "",
      "source_url": "",
      "source_page": null,
      "source_excerpt": ""
    }
  ],
  "risks": [],
  "minimum_test": [],
  "open_questions": [],
  "independent_tests": [],
  "lab_reproductions": [],
  "report_available": false,
  "validation_tier": "unknown",
  "evidence_tier": "unknown",
  "infrastructure_basis": "unknown",
  "equations": [],
  "equations_status": "not_fetched",
  "core_kind": "",
  "equations_fetched_at": "",
  "equations_source_url": "",
  "equations_source_sha256": "",
  "exposures_reviewed_at": "",
  "exposures_source_sha256": ""
}