Skip to main content

bridgenode-cli

PyPI version Downloads License: MIT-0 Python versions CI BridgeNode on x402-list

BridgeNode CLI — AI inference for AI agents, no API keys. Pay per request with Solana USDC via x402. The payment handshake is fully automatic, and fees are sponsored — no SOL needed.

Installation

pip install bridgenode-cli

Or install the full toolkit (SDK + CLI):

pip install bridgenode

Usage

# Single chat completion (payment handshake fully automatic)
bridgenode chat "Hello!" --model deepseek-v4-flash

# Smart routing: auto / eco / premium
bridgenode chat "Analyze this code" --mode auto

# Model list + prices (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 (billed upfront)
--base-url Base URL (default: BRIDGENODE_BASE_URL / https://bridgenode.cc/v1)
--max-per-call / --daily-cap Spending policy (fail-closed)

Configuration (.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: every response receipt is verified — invalid receipt → error.
  • Spending policy (fail-closed): max USD per call / per day — checked BEFORE signing.

Why BridgeNode (vs API keys)

BridgeNode CLI Traditional AI APIs
Sign-up None Account + verification
API key Not needed Required
Billing Pay-per-request (USDC) Subscription / credits
Fees Gas sponsored On you
Spending caps Fail-closed per call/day Account-level

FAQ

Do I need SOL? No — fees are sponsored; only the USDC request amount is paid.

Is there an API key? No — your wallet signature (SIWX) is the identity.

Can I cap spending? Yes — --max-per-call / --daily-cap (fail-closed, checked before signing).

Which models? See bridgenode models or https://bridgenode.cc/v1/models.

Requirements

  • Python ≥ 3.11
  • A Solana wallet with a USDC token account (ATA)

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.9.tar.gz (10.5 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.9-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bridgenode_cli-0.1.9.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for bridgenode_cli-0.1.9.tar.gz
Algorithm Hash digest
SHA256 0c0b6e959d5cac73cf0a3af2dba2604766bada948bc048d06df3fd7b1ed56aa6
MD5 cd8879b15122dc4ad2625d37c21605ec
BLAKE2b-256 7a5b1219a87c75367cdf9db1f4455250ffb78d3f823c7a7fae78552854af90f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for bridgenode_cli-0.1.9.tar.gz:

Publisher: publish.yml on applefanaimail-blip/bridgenode-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: bridgenode_cli-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for bridgenode_cli-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7eaa65c2691a7a65da20140efca10daa7382a4ed292e56835a24ce47a28dc5c2
MD5 bce3ff188f8a30f531588d5ef1f46c77
BLAKE2b-256 38b09a249553f13f60cb0a4be380006bc6f2173b88b558c6ff70b706caaf43ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for bridgenode_cli-0.1.9-py3-none-any.whl:

Publisher: publish.yml on applefanaimail-blip/bridgenode-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.10

2 files

This release

0.1.9 This release

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page