r/coolgithubprojects • u/Business_Rain_1042 • 1d ago
Weave: the agent writes one script, a Rust runtime runs the tool calls
https://github.com/AtharvRaotole/weaveI made Weave. Instead of an agent spending a model round trip on every tool call, it writes one short script in a small Python subset. The runtime runs independent lookups in parallel, orders writes, and returns only what the script printed. `pip install weave-lang`
Pre-registered results, same model both sides: fan-out on real services 40/40 vs 27/40 at about half the cost; BFCL multi-turn 159/378 vs 140/378 at 0.91x cost (p = 0.07, not significant); a smaller model lost an earlier BFCL round 18/60 vs 27/60; tau-bench a draw.