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.0.tar.gz (4.8 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.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bundleclaw-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0d9a645290058ae41153a9c04cf9da905d6fca2a8dcc688efd63861d3a216589
MD5 cb24051c778bbd6063d0c5916ddcc45e
BLAKE2b-256 105e490abf3bd109c3b70bc5eef3ef2d0bdc2c9a8a02773069761fed733203f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bundleclaw-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e63f323b0914863393286e4615a0416c9ea42dd5b977c1f3fadd6127c90c2db3
MD5 832ac59009014259f089ba1a969c0b8d
BLAKE2b-256 c797536e3f25a7bdcccfca039d845ccf3e8ddc575ad10c0772c37e1bb456d973

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