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(api_key="<pauthkey>")
response = client.chat.completions.create(
agent_id="my-agent-id",
user="What's the capital of France?",
)
print(response.content)
api_key can also come from the GTWY_API_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
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 gtwy_sdk-0.1.0.tar.gz.
File metadata
- Download URL: gtwy_sdk-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a7557d611650e1068a39df45511d4e17fea14f04d9cc233c936f9808ff3d97a
|
|
| MD5 |
6af4a0cae926083ec3a26e01d17966ab
|
|
| BLAKE2b-256 |
a3fb18fbaa93f5f26108cf2403a3651c02a47ed4c8a2580d54a497a13a185b31
|
File details
Details for the file gtwy_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gtwy_sdk-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
161e1021ee344672dbc05163751153c6cc1f387b560cfd5ba0868744f558b816
|
|
| MD5 |
b794eaf14debfcd6ee90de1e2d45036c
|
|
| BLAKE2b-256 |
12a129253ede342713ee585cd914d2fe5f727f3d757fa55368cf2ea403a6ef42
|