使用新 CLI 的编码代理在 Hub 上的效率提高了 6 倍
hugging face 重構了其 hf cli 以支持 claude code 和 codex 等編碼代理。基準測試顯示,新的代理模式比無 cli 基線少用 6 倍的 token。
hugging face released a rebuilt hf cli designed specifically for coding agents, which now account for nearly 100m hub requests from tools like claude code and codex. the tool auto-detects agents via environment variables and switches to a dense, token-efficient output format using tsv instead of human-friendly tables and colors. this dual-mode design aims to streamline agent workflows without degrading the user experience for developers. benchmarks indicate that for complex tasks, the optimized cli reduces token usage by 83% compared to agents hand-rolling api calls. the update includes 'next-command hints' to help agents chain actions automatically.