Skip to content

Claw Series

Deploy in the cloud (Docker)

Pull the AccountingClaw or LegalClaw Docker image and run it on any server or cloud with your activation key and OpenRouter key.

Running a Claw as a cloud digital worker means pulling its Docker image and running it as a container — on your laptop, a server, or any cloud (AWS, GCP, Azure, or your own VPC). Each image ships its skills encrypted inside it; they decrypt and install on first start once you provide your activation key. This is the best option for always-on workers and shared team servers.

The steps below are identical for AccountingClaw and LegalClaw — only the image, container name, volume, and port differ:

AccountingClawLegalClaw
Imagecpaautomation/accountingclaw-hermes:latestcpaautomation/legalclaw-hermes:latest
Container nameaccountingclawlegalclaw
Data volume~/.accountingclaw~/.legalclaw
Local API port86428643

The ports differ on the host side only, so you can run both workers side by side on one machine.

Before you start

You'll need three things:

RequirementWhere to get it
Docker installed and runningdocker.com
Your activation key (cpaa_live_…)Activate your Claw — one key unlocks both products
An OpenRouter API key (sk-or-…)openrouter.ai — Hermes uses OpenRouter to reach your AI model

Step 1 — Pull the image

Pull the public Hermes image for the worker you're deploying. The --platform linux/amd64 flag lets it run on Apple Silicon and other ARM hosts through Docker's emulation.

# AccountingClaw
docker pull --platform linux/amd64 cpaautomation/accountingclaw-hermes:latest

# LegalClaw
docker pull --platform linux/amd64 cpaautomation/legalclaw-hermes:latest

Step 2 — Run the container

Run the image with your two keys. Replace cpaa_live_... with your activation key and sk-or-... with your OpenRouter key, and change change-this-api-key to a secret of your own.

AccountingClaw:

docker run -d \
  --platform linux/amd64 \
  --name accountingclaw \
  --restart unless-stopped \
  -v ~/.accountingclaw:/opt/data \
  -e CPAA_ACTIVATION_KEY="cpaa_live_..." \
  -e OPENROUTER_API_KEY="sk-or-..." \
  -e API_SERVER_ENABLED=true \
  -e API_SERVER_HOST=0.0.0.0 \
  -e API_SERVER_KEY="change-this-api-key" \
  -p 127.0.0.1:8642:8642 \
  cpaautomation/accountingclaw-hermes:latest gateway run

LegalClaw:

docker run -d \
  --platform linux/amd64 \
  --name legalclaw \
  --restart unless-stopped \
  -v ~/.legalclaw:/opt/data \
  -e CPAA_ACTIVATION_KEY="cpaa_live_..." \
  -e OPENROUTER_API_KEY="sk-or-..." \
  -e API_SERVER_ENABLED=true \
  -e API_SERVER_HOST=0.0.0.0 \
  -e API_SERVER_KEY="change-this-api-key" \
  -p 127.0.0.1:8643:8642 \
  cpaautomation/legalclaw-hermes:latest gateway run

Tip: The Activation page generates these exact commands with your key already filled in — copy them from there to skip the manual edit.

What each setting does

SettingPurpose
--name accountingclaw / --name legalclawNames the container so the docker exec commands below can find it.
--restart unless-stoppedKeeps your worker running across reboots and crashes.
-v ~/.accountingclaw:/opt/data (or ~/.legalclaw)Persists the installed skills, sessions, and config so they survive restarts. Keep this volume.
-e CPAA_ACTIVATION_KEYYour personal activation key — unlocks the bundled skills on first start.
-e OPENROUTER_API_KEYYour OpenRouter key — gives Hermes access to your AI model.
-e API_SERVER_ENABLED=trueTurns on the local HTTP API (optional — leave off if you only use the CLI).
-e API_SERVER_HOST=0.0.0.0Binds the API inside the container so the published port can reach it.
-e API_SERVER_KEYThe secret callers must present to use the local API. Change it.
-p 127.0.0.1:8642:8642 (or :8643:8642)Publishes the API on localhost only, not your network.

Step 3 — What happens on first start

The first time the container runs, it exchanges your activation key with CPAAutomation, decrypts the bundled skills, and installs them into the /opt/data volume. This happens once; later restarts reuse the installed skills. Watch it happen with:

docker logs -f accountingclaw   # or: docker logs -f legalclaw

Step 4 — Verify and start working

The hermes command lives inside the container, so reach it through docker exec (substitute legalclaw for a LegalClaw worker):

docker exec -it accountingclaw hermes status
docker exec -it accountingclaw hermes skills list
docker exec -it accountingclaw hermes chat

Optional: a shorter command

If you'd rather type hermes … directly from your host while the container runs, add a shell alias:

alias hermes='docker exec -it accountingclaw hermes'
# or, for a LegalClaw worker:
alias hermes='docker exec -it legalclaw hermes'

Troubleshooting

SymptomWhat to do
hermes: command not foundThe hermes command runs inside the container. Use docker exec -it <container> hermes …, or add the alias above.
"AccountingClaw activation required." / "LegalClaw activation required." in the logsNo key was passed. Set CPAA_ACTIVATION_KEY from your Activation page and re-run.
"Activation failed: invalid or revoked CPAA_ACTIVATION_KEY."The key is wrong or has been revoked. Re-check it, or re-activate to issue a new one.
"Activation server unreachable"The container can't reach CPAAutomation. Check the host's network/firewall and try again.
The local API doesn't respond on 127.0.0.1:8642 (or :8643)The API is only available when API_SERVER_ENABLED, API_SERVER_HOST, and API_SERVER_KEY are all set, and the port is published.

Next: Working with AccountingClaw or Working with LegalClaw.