Skip to main content

bridgenode-sdk

PyPI version License: MIT-0

BridgeNode — AI inference without API keys. Pay per request with Solana USDC via x402. No API keys, no registration — the payment handshake is fully automatic, and fees are sponsored (the agent needs no SOL).

This is an alias package: it installs the full BridgeNode toolkit (Python SDK + CLI) via the bridgenode meta-package.

Installation

pip install bridgenode-sdk

This installs bridgenode-llm (the Python SDK) and bridgenode-cli (the CLI).

Quick start (Python)

from bridgenode_llm import LLMClient

client = LLMClient()  # key from .env (BRIDGENODE_WALLET_KEY)
resp = client.chat("deepseek-v4-flash", [
    {"role": "user", "content": "Hello!"}])
print(resp["choices"][0]["message"]["content"])

Quick start (CLI)

bridgenode chat "Hello!" --model deepseek-v4-flash
bridgenode models  # list models + prices (no payment)

Configuration (.env)

# Required — your Solana wallet private key (base58)
BRIDGENODE_WALLET_KEY=***
# Optional
# BRIDGENODE_BASE_URL=https://bridgenode.cc/v1
# BRIDGENODE_MAX_PER_CALL=0.05   # spending policy: max USD per call (fail-closed)
# BRIDGENODE_DAILY_CAP=1.0       # spending policy: max USD per day

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_sdk-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

bridgenode_sdk-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bridgenode_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb0bba2eaf1a0c30eb594afecd397c38fa41cc48f914cd57c2ff4897d584a443
MD5 5a4ad2050c6f2a6621159d6f889f4b12
BLAKE2b-256 a754d185ef1a02288a4a4c4df978138f13f815935597be47004f5462b37cadd6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bridgenode_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d572f7063c6ff4c6ed0f21e46e030e2b5b9535a886d36b29396f6735404d5297
MD5 22675bdb00c5e7414d6fe45302907ac1
BLAKE2b-256 3d4a516d3ce9b86a08fa456a1f5a71e8e43f1ce181e16f3f4486c938fc31886d

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