Skip to content

Weave 1.1.1

Choose a tag to compare

@AtharvRaotole AtharvRaotole released this 17 Nov 03:20

Weave 1.1.1 is the first release on PyPI. It is a packaging-only update of 1.1.0: wheels are limited to tested CPython 3.9–3.13, with no code changes.

Install with pip install weave-lang. The import name is weave. Do not also install weave from PyPI (Weights & Biases Weave; same import name).

What's new (since 1.0.0, also in 1.1.0)

  • 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) and persist_variables=True for hosts where a person replies between turns.
  • WeaveTool.langchain_tool() for LangChain and LangGraph, and weave mcp-config --client claude|cursor to install the MCP server.
  • Benchmark runner: --base-url / --deployment / --api-key-env for 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.

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. Built and published by the release workflow run from tag v1.1.1. Also on PyPI.