Skip to main content

Migrate OpenClaw agent state between machines

Project description

BundleClaw — Python CLI

PyPI version Python License: MIT

Python implementation of the BundleClaw migration CLI.


Install

# pip
pip install bundleclaw

# uv
uv pip install bundleclaw

# Or run directly
uvx bundleclaw --help

Usage

# Export agent state
bundleclaw export \
  --source ~/.openclaw \
  --workspace ~/.openclaw/workspace \
  --profile full \
  --encrypt-pass 'strong-passphrase' \
  --out agent-state.bcz

# Import on target machine
bundleclaw import \
  --bundle agent-state.bcz \
  --target ~/.openclaw \
  --encrypt-pass 'strong-passphrase'

# Verify integrity
bundleclaw verify --target ~/.openclaw

# Transfer via SCP
bundleclaw transfer \
  --bundle agent-state.bcz \
  --to user@host:/tmp/agent-state.bcz

# Full bootstrap (import + verify + restart + health check)
bundleclaw bootstrap \
  --bundle agent-state.bcz \
  --encrypt-pass 'strong-passphrase' \
  --target ~/.openclaw

Development

python -m venv .venv
source .venv/bin/activate
pip install -e .
bundleclaw --help

Tech Stack

  • Typer for CLI argument parsing (Click-based)
  • cryptography for AES-256-GCM encryption
  • zipfile (stdlib) for ZIP archive handling
  • hashlib (stdlib) for SHA-256 checksums

Interoperability

Bundles created with this CLI are fully compatible with the Node CLI. The shared .bcz format is documented in spec/FORMAT.md.

License

MIT

Project details


Download files

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

Source Distribution

bundleclaw-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

bundleclaw-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file bundleclaw-0.1.1.tar.gz.

File metadata

  • Download URL: bundleclaw-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.7

File hashes

Hashes for bundleclaw-0.1.1.tar.gz
Algorithm Hash digest
SHA256 732a11788d876777bbc85478850308662dcba9583422c00e187d961d31204f0e
MD5 8bae9134f7e18e1a2a4d31f3e3d35bc9
BLAKE2b-256 1adcb9aaf942752cc0f036de49be41dc5efbd64304faf998fdfdf07e741687ad

See more details on using hashes here.

File details

Details for the file bundleclaw-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bundleclaw-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa66aca00007d37f321b2e8561401bd438c841629b45a31484882e45833ea454
MD5 07db04dabf3cab42cd8892a9e59fce44
BLAKE2b-256 92e7d2dc06b37be2d1b8a434a43757f3bbde39be707712ed221ebc41a035f6f2

See more details on using hashes here.

Supported by

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