AgSpec Speeds Up Coding Agents Up to 4.76x with Retrieval-Based Speculative Decoding

Sumin Lee · hf · 2026-10-02

AgSpec brings retrieval-based speculative decoding into coding-agent pipelines, addressing two gaps in existing methods:

On two repository-level multi-agent coding benchmarks, AgSpec beats five retrieval-based drafters and EAGLE-3 in most settings, raising throughput up to 4.37x at batch size 1 and 4.76x at batch size 16, with gains generalizing beyond repository settings.

Original post →

More from coding & agent

coding & agent channel →