Repository navigation
Weave 1.0.0
Weave 1.0.0 is the first release built with the independent-audit fixes and the production hardening that followed. v0.1.0 remains published unchanged as a historic experimental release with known defects; do not use it.
Read first: Running Weave in production: supported posture, threat model, every guarantee with the test that holds it, and the non-guarantees.
Install
Download the wheel for your platform below and python -m pip install <file>.whl. The distribution is now weave-lang; the import name stays weave. Not published to PyPI (weave there is Weights & Biases Weave, same import name; don't install both in one environment).
Supported production posture
Scripts are untrusted; the host and its tools are trusted. Run tools with a worker pool (Engine(worker_pool=N, isolate_all=True) or WeaveTool(..., worker_pool=N)), set deadlines, treat tool results as model-visible, and reconcile writes instead of retrying them blindly.
What's new since 0.1.0
- Hard deadlines for isolated tools: spawn workers in their own process group, SIGKILLed on tool timeout, run deadline, session cancel/drop, engine close, and cancellation of the asyncio task awaiting
WeaveTool.run_async/ the Agents SDK tool. Tested on Linux, macOS and Windows. - Worker resource limits:
WorkerLimits(RLIMIT_AS on Linux; CPU, open files, file size on POSIX); unsupported limits are rejected, never silently ignored; 16 MiB result cap before unpickling. - Privacy by channel, tested with planted secrets: host exception text reduced to its type unless
weave.ToolErrorordebug=True;weave-mcpupstream stderr discarded, environment allowlisted, upstream error payloads withheld by default. - MCP: upstream
outputSchema,titleand annotations forwarded; CI runsweave-mcpagainst the official filesystem, git and memory reference servers (lockfile-pinned) with real writes and structured results. - Performance fix: run and replay were quadratic in tool calls per loop (6000 calls: ~6.3 s run / ~5.1 s replay); now linear (~0.3 s / ~0.1 s, release build, one Linux machine). Regression-tested.
- All 17 audit findings addressed as recorded in
docs/audit-status.md(failed expressions stop later writes, trace v2 identity replay, value/aggregate budgets, MCP routing/pagination/aliases/structured results, keyword arguments, and more).
Breaking changes
Distribution renamed to weave-lang; host exception text redacted unless weave.ToolError/debug; weave-mcp upstream env allowlist + stderr discarded by default; weave_run/weave_replay return stdout/status unless debug: true; trace v1 rejected; write retries need retry_safe=True. Full list in CHANGELOG.md.
Not guaranteed (inherent)
No rollback or exactly-once for remote effects; in-process tools and MCP upstream calls have soft cancellation; workers are not an OS sandbox for tool code; the host process has no memory cap; tool results and anything a tool prints are model-visible; on Windows grandchild processes are not killed and WorkerLimits are unavailable; macOS has no memory_bytes.
Still pending
Corrected live model benchmark runs (no new speedup claim; committed numbers compare different completion boundaries), remote HTTP MCP transports, async Python tools, a debugger, PyPI publishing.
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 release build smoke-tested the wheel and ran the 14-test isolation suite on Linux x86_64, macOS arm64 and Windows x64. Built by the release workflow run from tag v1.0.0.