bridgenode
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 the full toolkit meta-package: it installs the Python SDK (bridgenode-llm) and the CLI (bridgenode-cli) in one step.
Installation
pip install bridgenode
This installs:
bridgenode-llm— the Python SDK (LLMClient):from bridgenode_llm import LLMClientbridgenode-cli— the command-line tool:bridgenode chat "Hello!"
Quick start (Python)
from bridgenode_llm import LLMClient
client = LLMClient() # key from .env (BRIDGENODE_WALLET_KEY)
resp = client.chat("deepseek-flash", [
{"role": "user", "content": "Hello!"}])
print(resp["choices"][0]["message"]["content"])
Quick start (CLI)
bridgenode chat "Hello!" --model deepseek-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
Features
- No API keys, no registration — pay per request with USDC
- Automatic x402 handshake — 402 → signed transaction → 200, fully hidden
- Fee sponsorship (gasless) — the agent needs zero SOL
- Fail-closed spending policy — per-call and daily caps checked before signing
- Receipt verification — every response receipt is verified (invalid → error)
- Smart routing —
mode: auto / eco / premium - MCP support — BridgeNode is also available as an MCP server
Requirements
- Python ≥ 3.11
- A Solana wallet with a USDC token account (ATA)
Links
- Website: https://bridgenode.cc
- Models & prices: https://bridgenode.cc/v1/models
- Documentation: https://bridgenode.cc/llms.txt
- Protocol: x402 V2 (https://docs.x402.org)
- Full SDK docs & FAQ: https://pypi.org/project/bridgenode-llm
Metadata
Release files for bridgenode 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bridgenode-0.1.9.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bridgenode-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / bridgenode-0.1.9.tar.gz
| Download URL | bridgenode-0.1.9.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48da86adb0892aebea9e33e4e85c608c885851ca59d4f157bcf5f479ef5c9bdf
|
|
BLAKE2b-256 checksum How to use checksums |
9225a5bd68ec5c840f301ff46cae4dfe8c4e6f5bf526c89b90050d681c196d08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency logRelease files / bridgenode-0.1.9-py3-none-any.whl
| Download URL | bridgenode-0.1.9-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b44b427d3493d27ecc01b0f89ed0a7786e4425e905c585013d4ff423c6c60b5
|
|
BLAKE2b-256 checksum How to use checksums |
fa8242f5ca3c11b5a0b7180112053ad771bb1ead00b4a5c50d5b12b87958bbd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency log