Make DDG the default provider in Pi / OpenClaw (OpenClaw is built on Pi), the
ClawRouter play with DDG. Merges a ddg provider (pointing at the local
ddg-router that auto-pays x402) into
~/.pi/agent/models.json and sets it default — only if you haven't set one.
pip install ddg-openclaw-router ddg-router
ddg-router & # the x402-paying proxy (free-trial by default)
ddg-openclaw-router install # DDG is now your agent's default model
ddg-openclaw-router uninstall # revertFlags: --no-default (add provider without changing default), --config PATH.
Backs up the existing config before writing.