Skip to main content

bridgenode-sdk

PyPI version Downloads License: MIT-0 Python versions

BridgeNode — AI inference for AI agents, no 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.5.tar.gz (3.4 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.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bridgenode_sdk-0.1.5.tar.gz
  • Upload date:
  • Size: 3.4 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.5.tar.gz
Algorithm Hash digest
SHA256 8370c0875e8056e5feb1ea24df7372f27c2cb21095e79d77e4a6f93f957ef32b
MD5 13a7bf2b3e81f823dbd3e3a9ca093d09
BLAKE2b-256 bd072e937b6d0286d011ab674412ccb7335e93a34c1d26285466e9217d6cba7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bridgenode_sdk-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 01956a2a3c4788716b0676fdd59692f1db683314a980908610de2b769e533db9
MD5 0bd80ae020510279373386eb386d011c
BLAKE2b-256 ec0f9615f6f590d3fe8fdad83d43f986a65524e6699fb976bff5fd82be89b4c8

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