Python SDK for Wayforth — search engine and payment rail for AI agents
Project description
wayforth-sdk
Python SDK for Wayforth — discover and call AI services from the catalog.
Install
pip install wayforth-sdk
Or with uv:
uv add wayforth-sdk
Usage
from wayforth import WayforthClient
client = WayforthClient()
# Check API status
print(client.status())
# Search for services by natural language intent
results = client.search("fast cheap inference for coding")
for svc in results[:3]:
print(f"{svc['name']} (tier {svc['coverage_tier']}) — {svc['endpoint_url']}")
# List all translation services
translators = client.list_services(category="translation")
print(f"Found {len(translators)} translation services")
API
WayforthClient(base_url=...)
Defaults to the production API. Pass a custom base_url to point at a local instance.
search(intent, category=None, limit=5) -> list[dict]
Returns services ranked by keyword overlap with intent. Optional category filter ("inference", "translation", "data").
list_services(category=None, tier=None, limit=100) -> list[dict]
Lists services, optionally filtered by category and/or coverage_tier (0–2).
status() -> dict
Returns API health: {"status": "ok", "service": "wayforth-api", "version": "...", "db_status": "ok"}.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 wayforth_sdk-0.1.0.tar.gz.
File metadata
- Download URL: wayforth_sdk-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
276558c2659743f99679a256717b0af954d3f195317787454d0986791249a5fc
|
|
| MD5 |
f2ae839e7f0bd52a16343c47516d831a
|
|
| BLAKE2b-256 |
59976c656379ac797dc066e0d27820c69be01cd7c75533b5e9773ade8da3b88b
|
File details
Details for the file wayforth_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wayforth_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa1cb4a62263165a40908ceb846386c89ef3c2a4fafdc5653f0f2c448a41f641
|
|
| MD5 |
194ff52874716f423ffcefc820bf60dc
|
|
| BLAKE2b-256 |
f8d3bd73a2990318921033221bdd4980009d15e1401136142b1999a1b9c33ecf
|