Migrate OpenClaw agent state between machines
Project description
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
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
bundleclaw-0.1.0.tar.gz
(4.8 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d9a645290058ae41153a9c04cf9da905d6fca2a8dcc688efd63861d3a216589
|
|
| MD5 |
cb24051c778bbd6063d0c5916ddcc45e
|
|
| BLAKE2b-256 |
105e490abf3bd109c3b70bc5eef3ef2d0bdc2c9a8a02773069761fed733203f9
|
File details
Details for the file bundleclaw-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bundleclaw-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e63f323b0914863393286e4615a0416c9ea42dd5b977c1f3fadd6127c90c2db3
|
|
| MD5 |
832ac59009014259f089ba1a969c0b8d
|
|
| BLAKE2b-256 |
c797536e3f25a7bdcccfca039d845ccf3e8ddc575ad10c0772c37e1bb456d973
|