Python SDK for the Weaver platform
Project description
Weaver Python SDK
English | 中文
Python client for the NexWeave Weaver server. The SDK mirrors the REST API exposed by
weaver-server and provides ergonomic helpers for training, sampling, telemetry, and
operations management.
Installing locally
pip install nex-weaver
Configuration
Configuration can be provided via keyword arguments or environment variables:
WEAVER_API_KEY
Quickstart
from weaver import ServiceClient
def main():
with ServiceClient() as client:
session = client.ensure_session()
print(session)
if __name__ == "__main__":
main()
Usage
See examples/weaver_walkthrough.ipynb for an interactive
walkthrough of the full SDK workflow using a Pig Latin translation task — covering data
preparation, LoRA / full fine-tuning, sampling, and checkpoint management.
For a complete runnable script, see examples/pig_latin.py.
Ecosystem
NexRL is the companion RL training framework. In its training-service mode, NexRL orchestrates the full RL loop (rollouts, trajectory collection, policy updates) while Weaver handles the underlying training and inference services.
Use Cases
OpenClaw Autonomous Learning —
MetaClaw has integrated Weaver as an RL
backend. By setting rl.backend=weaver, MetaClaw turns every live conversation into a
learning signal and uses Weaver for cloud-based LoRA training, enabling personal agents
to continuously evolve without a local GPU.
Deep Dive
For more technical details, see Deep Dive into Weaver.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nex_weaver-1.7.0.1.tar.gz.
File metadata
- Download URL: nex_weaver-1.7.0.1.tar.gz
- Upload date:
- Size: 40.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
828139cd90617bcf5edea8c0204fb6ff9caee8c5b295654d02fefa580d449ba4
|
|
| MD5 |
9fbee5c95259b5259bb8b44742bb814f
|
|
| BLAKE2b-256 |
89165a788999bc58d310f524f680fea85b420111868fe680d856213dcf834ced
|
Provenance
The following attestation bundles were made for nex_weaver-1.7.0.1.tar.gz:
Publisher:
publish.yml on nex-agi/weaver
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nex_weaver-1.7.0.1.tar.gz -
Subject digest:
828139cd90617bcf5edea8c0204fb6ff9caee8c5b295654d02fefa580d449ba4 - Sigstore transparency entry: 1355731757
- Sigstore integration time:
-
Permalink:
nex-agi/weaver@d81b496b92727d45c62e16e10359015045dec8b0 -
Branch / Tag:
refs/tags/v1.7.0.1 - Owner: https://github.com/nex-agi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d81b496b92727d45c62e16e10359015045dec8b0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nex_weaver-1.7.0.1-py3-none-any.whl.
File metadata
- Download URL: nex_weaver-1.7.0.1-py3-none-any.whl
- Upload date:
- Size: 43.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e3f957bb7f30a69066cc81e760f139c7c7f532d8b0b0067fefc02f5712b0ae1
|
|
| MD5 |
200c72fbf75331ab99ff851b668e93fa
|
|
| BLAKE2b-256 |
81cd744fed9f9c7b4988df81d3a3f9a070464024dd284c92705a3b5875f63e76
|
Provenance
The following attestation bundles were made for nex_weaver-1.7.0.1-py3-none-any.whl:
Publisher:
publish.yml on nex-agi/weaver
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nex_weaver-1.7.0.1-py3-none-any.whl -
Subject digest:
8e3f957bb7f30a69066cc81e760f139c7c7f532d8b0b0067fefc02f5712b0ae1 - Sigstore transparency entry: 1355731766
- Sigstore integration time:
-
Permalink:
nex-agi/weaver@d81b496b92727d45c62e16e10359015045dec8b0 -
Branch / Tag:
refs/tags/v1.7.0.1 - Owner: https://github.com/nex-agi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d81b496b92727d45c62e16e10359015045dec8b0 -
Trigger Event:
release
-
Statement type: