bridgenode-cli
BridgeNode CLI — AI inference be API key. Mokėjimas: Solana USDC per x402 (automatinis handshake, fee sponsorship — SOL nereikia).
Diegimas
pip install bridgenode-cli
Naudojimas
# Vienas chat completion (x402 handshake paslėptas, §4.1)
bridgenode chat "Labas!" --model deepseek-v4-flash
# Smart routing (§5.1/§5.8): auto / eco / premium
bridgenode chat "Išanalizuok šį kodą" --mode auto
# Modelių sąrašas + kainos (§5.2) — be mokėjimo
bridgenode models
Parinktys
| Parinktis | Aprašas |
|---|---|
--model |
Explicit model id (žr. bridgenode models) |
--mode |
auto / eco / premium (smart routing) |
--max-tokens |
Max output tokenų (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
# Privalomas — jūsų Solana wallet private key (base58)
BRIDGENODE_WALLET_KEY=...
# Neprivalomi: BRIDGENODE_BASE_URL, BRIDGENODE_MAX_PER_CALL, BRIDGENODE_DAILY_CAP
Apsaugos
- Kvito verifikacija (Free-Riding apsauga): po 200 tikrinamas
PAYMENT-RESPONSE— netikras kvitas → klaida. - Spending policy (fail-closed): max USD per call / per day — tikrinama PRIEŠ pasirašant.
Reikalavimai
- Python ≥ 3.11
- Solana wallet su USDC ATA (rent — agento atsakomybė, §3.3)
Nuorodos
- Tinklalapis: https://bridgenode.cc
- Protokolas: x402 V2 (docs.x402.org)
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.0.tar.gz
(8.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bridgenode_cli-0.1.0.tar.gz.
File metadata
- Download URL: bridgenode_cli-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b4925b651d7bc468be6df098085b0bbde3bd42e1eb6f0a124fa6af259d22e5f
|
|
| MD5 |
9975881c9c9fa002b82edf0a9a596b78
|
|
| BLAKE2b-256 |
1691ea6582b0017e6d66a4a14c36e0d0b2f837e04975a6a3897c38206353f0b5
|
File details
Details for the file bridgenode_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bridgenode_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44f0f7b7aad387f4ca91aff06c97bb0fe562cc8e2a6cb7b04b7b8b7a74812486
|
|
| MD5 |
ab9ce7a7d55f79a05e726fb17c18ead0
|
|
| BLAKE2b-256 |
d8d03d8bac032edd4e28dc0ba705b8c725d1c217fd2db30b8609ffc37b458189
|