sPTC speeds up agents via speculative tool calling
a1zhang · x · 2026-08-25
Introduced Speculative Programmatic Tool Calling (sPTC), a technique designed to optimize harnesses like RLM and CodeAct. It works by speculating and queuing tool calls (e.g., sub-agent calls) within partially generated code while the root LLM is streaming tokens, effectively hiding latency. The repo includes examples for patching RLM and uses a 'shadowed' REPL namespace to handle input dependencies safely.
More from coding & agent
- 'Dropping a 3,000-line PR twenty minutes after ticket assignment' — AI coding meme goes viral — facontidavide · 2026-10-16
- Self Labs launches Agent Vault to let AI agents log in and pay with credit cards — EXM7777 · 2026-10-16
- XERJ hits #1 on GitHub Trending, claims 40x token savings vs grep for AI agents — alexcovo_eth · 2026-10-16
- Plane Agents: triggers, not prompts, are what turn chatbots into workflow agents — JosephJacks_ · 2026-10-16
- Claude eng lead Felix Rieseberg publishes tutorial on being more ambitious with AI — danshipper · 2026-10-16
- Qwen Code Desktop v0.25.2 ships managed-agent fixes and MCP config repair — github-actions[bot] · 2026-10-16