Skip to main content

bridgenode-cli

BridgeNode CLI — AI inference without API keys. Payment: Solana USDC via x402 (automatic handshake, fee sponsorship — no SOL needed).

Installation

pip install bridgenode-cli

Usage

# Single chat completion (x402 handshake hidden, §4.1)
bridgenode chat "Hello!" --model deepseek-v4-flash

# Smart routing (§5.1/§5.8): auto / eco / premium
bridgenode chat "Analyze this code" --mode auto

# Model list + prices (§5.2) — no payment
bridgenode models

Options

Option Description
--model Explicit model id (see bridgenode models)
--mode auto / eco / premium (smart routing)
--max-tokens Max output tokens (billing upfront, §4.2)
--base-url Base URL (default: BRIDGENODE_BASE_URL / https://bridgenode.cc/v1)
--max-per-call / --daily-cap Spending policy (fail-closed)

.env

# Required — your Solana wallet private key (base58)
BRIDGENODE_WALLET_KEY=...
# Optional: BRIDGENODE_BASE_URL, BRIDGENODE_MAX_PER_CALL, BRIDGENODE_DAILY_CAP

Security

  • Receipt verification (Free-Riding protection): after 200, PAYMENT-RESPONSE is verified — invalid receipt → error.
  • Spending policy (fail-closed): max USD per call / per day — checked BEFORE signing.

Requirements

  • Python ≥ 3.11
  • Solana wallet with USDC ATA (rent — agent's responsibility, §3.3)

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bridgenode_cli-0.1.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

bridgenode_cli-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file bridgenode_cli-0.1.1.tar.gz.

File metadata

  • Download URL: bridgenode_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for bridgenode_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 208f5a21ea92e7f56221051249d1fafd30603bc932a6cacdb5d803429d829026
MD5 61c34356750f868eceed354b13195519
BLAKE2b-256 0d1c7661b9d6170dfd6ada196fba83cae6ff6e0d5df51338ba9d3ef7a0a91bbb

See more details on using hashes here.

File details

Details for the file bridgenode_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bridgenode_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.4

File hashes

Hashes for bridgenode_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50ca3de06d343eb8842a4de8c35789319d867c798536198ef3190a6f56963f9e
MD5 4c576023e307ba04bf6d268c2267e84c
BLAKE2b-256 6dcbaaa9f5d7302572bc9b3bf810e76c799521f70603be5d9109427b27e05a93

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 Sentry Error logging StatusPage Status page