scoutwyze-compute
Client + LangChain/Haystack Tool wrappers for ScoutWyze Compute — a machine-readable GPU placement recommendation API for AI infrastructure agents and MLOps pipelines. Ranks live 8x H100 80GB (RunPod-backed) offers by price and data freshness; strictly separates what a provider reported from what ScoutWyze calculated. This is a routing/recommendation layer, not an execution platform — it never reserves, provisions, or runs anything.
Dual-rail, both real:
- Bearer — a prepaid API key, billed per successful match (a
no_matchresult is never charged). Get one free withPOST /v1/signup, fund it withPOST /v1/checkout-sessions(real Stripe Checkout). - x402 — pay per call in USDC on Base, no
signup, no API key, no ETH for gas. Uses the real x402 "exact" EVM
scheme (EIP-3009
TransferWithAuthorization): you only ever sign a message, this server's own facilitator broadcasts the settlement.
Install
pip install scoutwyze-compute # Bearer rail only, zero extra deps
pip install "scoutwyze-compute[x402]" # + x402/USDC-on-Base rail
pip install "scoutwyze-compute[langchain]" # + LangChain Tool wrapper
pip install "scoutwyze-compute[haystack]" # + Haystack Tool wrapper
pip install "scoutwyze-compute[all]" # everything
Usage
Plain client
from scoutwyze_compute import rank_via_bearer, rank_via_x402
result = rank_via_bearer("https://scoutwyze-compute.fly.dev", "sw_live_...", {"gpuClass": "H100"})
print(result["body"]["recommended"])
LangChain
from scoutwyze_compute.langchain_tool import make_bearer_tool
tool = make_bearer_tool(api_key="sw_live_...")
Haystack
from scoutwyze_compute.haystack_tool import make_bearer_tool
tool = make_bearer_tool(api_key="sw_live_...")
offers = tool.invoke(gpuClass="H100")
See the main repo
for full API docs, llms.txt, and openapi.json.
License
MIT
Release files for scoutwyze-compute 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 | |
|---|---|---|---|
| scoutwyze_compute-0.1.0.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scoutwyze_compute-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / scoutwyze_compute-0.1.0.tar.gz
| Download URL | scoutwyze_compute-0.1.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
032321e1a093eb1ecfdbc841e5eb1156e1f534bcd6079e21b026c3f47ea21591
|
|
BLAKE2b-256 checksum How to use checksums |
d4734814c2fefc46ff664ef306be6b09ae88e902cc356b218c345bc146ed9c8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / scoutwyze_compute-0.1.0-py3-none-any.whl
| Download URL | scoutwyze_compute-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51234119971d72902c31ad2278f0891fae66f7415855e3748000f04f78d2c377
|
|
BLAKE2b-256 checksum How to use checksums |
bf0a3e2dd594953625774fe202cf6a686782ffee179c7f1c126f8f417d1abff6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|