andreax-sdk
Pure Python client (no LangChain) for Andreax's pay-per-call AI tools: 200+ tools discoverable and payable over x402 (HTTP 402 + USDC on Base), no API key, no signup.
from andreax_sdk import AndreaxClient
client = AndreaxClient(
wallet_address="0xYourAddress",
private_key=None, # optional; required only if auto_pay=True
auto_pay=False, # True = pay automatically within your caps
per_call_cap_usd=0.10,
daily_cap_usd=5.00,
)
tools = client.get_tools() # -> list[dict] {name, description, price_usdc, endpoint}
result = client.call("traducir", {"texto": "hello", "idioma_destino": "es"})
Autopay
With auto_pay=True and a private_key, a tool call that answers 402 Payment Required is paid
automatically: this SDK signs an EIP-3009 transferWithAuthorization locally (your private key
never leaves the process) and retries the call with the signed payload in the X-PAYMENT header.
Every payment is checked against two caps first (per_call_cap_usd, daily_cap_usd).
Without auto_pay (or without a private_key), a paid call raises PaymentRequired with the full
402 challenge (amount, recipient, network) so you can decide.
Status
Alpha (0.1.0). Built against Andreax's live x402 catalog and 402 challenge format. This is the
pure-Python sibling of andreax-langchain-autopay — same protocol, no LangChain dependency.
License
MIT
Metadata
Release files for andreax-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| andreax_sdk-0.1.0.tar.gz | 10.6 kB | Without provenance | Details for andreax_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| andreax_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for andreax_sdk-0.1.0-py3-none-any.whl |
Total release size: 19.9 kB
Release files / andreax_sdk-0.1.0.tar.gz
| Download URL | andreax_sdk-0.1.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8af270f500407eaf72d712e5eafd63bb4d77d0abe7ca4edf224d565c9dbe33b
|
|
BLAKE2b-256 checksum How to use checksums |
fd7974dd4f481e9c3591f971408240a8a819de0488b1c66afadfb77c902bab2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / andreax_sdk-0.1.0-py3-none-any.whl
| Download URL | andreax_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
004895b64e5c232ea908c86e2c7a7275830628bd8524786b60b1c93f4b24ec40
|
|
BLAKE2b-256 checksum How to use checksums |
488247b39cecec5683af695993ab3a24d8c907515651e8bb1bca0848e50fc20b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for andreax-sdk 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.