Metadata-Version: 2.4
Name: bridgenode-llm
Version: 0.1.2
Summary: BridgeNode SDK - Pay-per-request AI (LLM, Image, Video, Music, Voice) via x402 on Base and Solana
Project-URL: Homepage, https://bridgenode.cc
Project-URL: Documentation, https://github.com/applefanaimail-blip/llm
Project-URL: Repository, https://github.com/applefanaimail-blip/llm
Author-email: BridgeNode <hello@bridgenode.cc>
License-Expression: MIT
License-File: LICENSE
Keywords: ai,base,bridgenode,inference,llm,micropayments,usdc,x402
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Requires-Dist: eth-account>=0.11.0
Requires-Dist: httpx>=0.25.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: qrcode[pil]>=7.0
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.40.0; extra == 'anthropic'
Provides-Extra: dev
Requires-Dist: black==24.10.0; extra == 'dev'
Requires-Dist: mypy>=1.0.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff==0.14.11; extra == 'dev'
Provides-Extra: solana
Requires-Dist: solana<0.40,>=0.36; extra == 'solana'
Requires-Dist: x402[svm]>=2.0.0; extra == 'solana'
Description-Content-Type: text/markdown

# BridgeNode LLM SDK (Python)

> **bridgenode-llm** is a Python SDK for BridgeNode: pay-per-request AI inference via x402 micropayments on Base and Solana. No API keys required — your wallet signature is your authentication. Built for AI agents.

**Protocol:** x402 v2
**Payment:** USDC (Base native / Solana SPL)
**Gasless:** Solana fee sponsorship — agent needs 0 SOL

---

## Supported Models (3)

| Model | Type | Use case |
|-------|------|----------|
| `deepseek-v4-flash` | Chat | Default — fast, 1M context |
| `groq-llama-3.3-70b` | Chat | Eco tier — cheapest, fastest |
| `deepseek-v4-pro` | Chat | Premium — complex reasoning |

---

## Quick Start

```python
from bridgenode_llm import LLMClient

client = LLMClient()  # Uses BRIDGENODE_WALLET_KEY env var
response = client.chat("deepseek-v4-flash", "Hello!")
# x402 handshake handled automatically
```

## Installation

```bash
pip install bridgenode-llm
```

## License

MIT
