Skip to main content

Make DDG the default AI provider in Pi / OpenClaw — writes the provider config + sets it default (via the x402-paying ddg-router).

Project description

ddg-openclaw-router

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   # revert

Flags: --no-default (add provider without changing default), --config PATH. Backs up the existing config before writing.

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

ddg_openclaw_router-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

ddg_openclaw_router-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ddg_openclaw_router-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ddg_openclaw_router-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5aec58ce697095b06e6f6fc6971076a6655b58258180845fa9a4400e29b38ab8
MD5 c3079f7288ea013c5ce1ef60c4dfa2ad
BLAKE2b-256 bc8eee7a614f050d84e12a7b152e22b42821f2262f22c160aa8355885ef7141a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ddg_openclaw_router-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ddg_openclaw_router-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e1bd97660687a402266f220ebfc7f311486f55880d43c26ed59a4c75a9da85c
MD5 1d41a749102a7689687daadd17106ca4
BLAKE2b-256 cec0c8b9195aa7d2006e99020c1ffce3971737389e5fec0b4134fc0410e1e937

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