Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wayforth_sdk-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wayforth_sdk-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file wayforth_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: wayforth_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 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

Hashes for wayforth_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bfe0c3a5e5d572354d4eaae1eca823c38ef9501fff872c28c9a56f6d72c0e4b3
MD5 ffb310665b57e340db781efd2e8e2a61
BLAKE2b-256 5cc8e300d5df0e9fae62f763b604cc0c5f50419f5d40649e7f4ab9579c20896f

See more details on using hashes here.

File details

Details for the file wayforth_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: wayforth_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 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

Hashes for wayforth_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8aba10cf039edbd48d2430f36224f240f6d02fd98f038cb61f1f3084b5e7e3cc
MD5 8b2efb2433f1a35b96b1acf55c034d27
BLAKE2b-256 7bd0b6f78b2f6f708ffb5f08213dfb196bdc938bf8deae34081e04becdef98bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page