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.2.tar.gz (5.1 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.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wayforth_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 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.2.tar.gz
Algorithm Hash digest
SHA256 b4a4a28a1b9e0e34009db2525377adb0311e2bb8d9407f7047667f4bb11d3ece
MD5 c671c4daee1502cb0f3a1ca57476030f
BLAKE2b-256 049721bd8e2e62dc751fbc9fd1b7612d1f569d499500e654c890318a78c50ce9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wayforth_sdk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f65a0701606b624b3d384ab93ca041354cb8ca2424ce1e52e91b50bdc434cb7
MD5 e10d16b66b3f8ca198a0394f6b4ae3c8
BLAKE2b-256 5b5ae51bd81d6b68154f00b7fa160b623bda89c5922e37897d23b17063379b4d

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