Skip to main content

Weaver Python SDK

PyPI version Python CI

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 LearningMetaClaw 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nex_weaver-1.9.0.tar.gz (70.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nex_weaver-1.9.0-py3-none-any.whl (73.5 kB view details)

Uploaded Python 3

File details

Details for the file nex_weaver-1.9.0.tar.gz.

File metadata

  • Download URL: nex_weaver-1.9.0.tar.gz
  • Upload date:
  • Size: 70.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nex_weaver-1.9.0.tar.gz
Algorithm Hash digest
SHA256 e6c3e110db4140b3e611c3c956896808446ab3bb3cfd62c5aa00d183db0d0372
MD5 1a5dd9cbca746cb49955b1a9053fc9b5
BLAKE2b-256 a7a39181d63376a99c6141698304e546e6439cf2e7e697cc5c5af01fc310817c

See more details on using hashes here.

Provenance

The following attestation bundles were made for nex_weaver-1.9.0.tar.gz:

Publisher: publish.yml on nex-agi/weaver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nex_weaver-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: nex_weaver-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 73.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nex_weaver-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41bc0afb7159b6ab4abaf5eee0b63dcbedcecefae46a5e4d447fca5f3c7b1785
MD5 f3a5a101425616266aa5129446ad0ee6
BLAKE2b-256 6407ca3ee34f39b8f72ff28d7d63d5c44c7f2f669039b0f5cb8de2c35ab2e243

See more details on using hashes here.

Provenance

The following attestation bundles were made for nex_weaver-1.9.0-py3-none-any.whl:

Publisher: publish.yml on nex-agi/weaver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.14.0

2 files

1.13.0

2 files

1.12.0

2 files

1.10.0

2 files

This release

1.9.0 This release

2 files

1.7.0.4

2 files

1.7.0.3

2 files

1.7.0.2

2 files

1.7.0.1

2 files

1.7.0

2 files

1.6.3

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.0

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.7

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page