Skip to main content

gtwy-sdk

Official Python client for the GTWY API — build and call agentic AI, RAG, and LLM-powered agents.

pip install gtwy-sdk
from gtwy import Gtwy

client = Gtwy(auth_key="<authKey>")

response = client.chat.completions.create(
    agent_id="my-agent-id",
    user="What's the capital of France?",
)
print(response.content)

auth_key is the key you get from the GTWY platform (labeled authkey there). It can also come from the GTWY_AUTH_KEY environment variable. base_url defaults to https://api.gtwy.ai; override it (constructor arg or GTWY_BASE_URL) to point at a different environment.

See gtwy/SKILLS.md for the full reference: every resource (chat, batch, rerun), every request field, response shapes, delivery modes (sync/webhook), and error handling. This file ships inside the installed package (not just this repo) — after pip install gtwy-sdk it's reachable at gtwy.SKILLS_PATH / gtwy.get_skills_doc(), so an AI agent (e.g. Claude) can read it and use this SDK correctly without ever cloning this repo.

Development

cd python
pip install -e .

Download files

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

Source Distribution

gtwy_sdk-0.3.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

gtwy_sdk-0.3.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file gtwy_sdk-0.3.0.tar.gz.

File metadata

  • Download URL: gtwy_sdk-0.3.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.0

File hashes

Hashes for gtwy_sdk-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a0ec58f19f25e11b19673316906c6f3350ec89c03a856ced076b86ae6ed8306a
MD5 93b31238e033b2cbc34ad5d8374bd6c8
BLAKE2b-256 53a0e10b2424af67449934cdbaa7b9431c28e60da58cd500aadf452b2a62e1ee

See more details on using hashes here.

File details

Details for the file gtwy_sdk-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: gtwy_sdk-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.0

File hashes

Hashes for gtwy_sdk-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f86437e3825c5dce09cd5987e9c6a8457eab7a65db8d49500e88911ddad5b2c2
MD5 e425b14a72c6bc429dbfd0dcfd85bd54
BLAKE2b-256 48446d41109fa8370bb30ec6433ba51472b53b5b51654590170096111b1d862c

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 Sentry Error logging StatusPage Status page