Repository navigation
Weave 1.1.0
Weave 1.1.0 adds compact tool listings, a write gate that pauses before a write computed from unseen results, conversational mode, LangChain and MCP integrations, and an OpenAI-compatible benchmark endpoint (Azure AI Foundry). The package is still not on PyPI.
What's new
WeaveTool(compact=True): shorter tool listings (repeated doc sentences printed once as lettered notes).WeaveTool(write_gate="choice" | "flow" | "errors"): pause a script before a write whose arguments depend on results the model has not seen. Refused writes never run, and the model gets the results so far.WeaveTool(conversational=True)andpersist_variables=Truefor hosts where a person replies between turns.WeaveTool.langchain_tool()for LangChain and LangGraph, andweave mcp-config --client claude|cursorto install the MCP server.- Benchmark runner:
--base-url/--deployment/--api-key-envfor any OpenAI-compatible endpoint, with the same client on both arms.
Results
Measured against native function calling with the same model, tools and settings. Full tables: docs/benchmarks.md.
- Fan-out on real services (round 9): 40/40 vs 27/40 at 0.45–0.50× the cost.
- BFCL v4 multi-turn (round 9): 0.86× cost pooled; GPT-4.1 38/60 vs 35/60; GPT-5.4 mini 18/60 vs 27/60, a significant loss.
- BFCL miss_param / miss_func with the write gate (round 10): GPT-5.4 mini 30/105 vs 24/105 (not significant) at equal cost; GPT-4.1 3/16 vs 5/16, a loss (5/20 vs 7/20 after the remaining pairs were completed on Azure).
- BFCL fresh confirmation with the write gate (round 11, Azure, 378 unused tasks): 159/378 vs 140/378 (p = 0.07, not significant) at 0.91× the cost; GPT-4.1 92 vs 81, GPT-5.4 mini 67 vs 59.
- tau-bench retail: a draw.
Install
curl -fsSL https://raw.githubusercontent.com/AtharvRaotole/weave/v1.1.0/scripts/install.sh | sh
# or from source (needs Rust):
pip install "git+https://github.com/AtharvRaotole/weave@v1.1.0"The distribution is weave-lang (import weave). It is not on PyPI (weave there is Weights & Biases Weave; do not install both in one environment). Supported range: Python 3.9–3.13, Linux, macOS and Windows.
Assets
CPython 3.9–3.13 wheels for Linux x86_64/aarch64 (manylinux2014), macOS x86_64/arm64 and Windows x64, the sdist, and SHA256SUMS.txt. The builder also produced extra wheels for newer CPython and PyPy interpreters present on the runners; those are attached as-is and are outside the supported range. Built by the release workflow run from tag v1.1.0. The pypi job was skipped; nothing was published to PyPI.