Cy agent SDK — the agent-facing client for the Cy gateway (Slack + connected services).
Project description
cy-sdk
The agent-facing client for the Cy gateway. Distributed as cy-sdk, imported as cy_sdk:
from cy_sdk import api
# connected services (api.<service>.<verb>)
accounts = api.klaviyo.get("/api/accounts/", headers={"revision": "2024-07-15"})
api.klaviyo.post("/api/lists/", body={"data": {"type": "list", "attributes": {"name": "VIPs"}}})
# Slack (the bot token stays in the gateway, never here)
api.slack.message(channel, "hello")
Stdlib-only (urllib); reads CY_GATEWAY_URL + CY_API_KEY from the environment.
Talks to the Cy gateway's /agent/* endpoints. Not connected → NotConnected;
a write that needs human sign-off → blocks on approval, then proceeds.
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 cy_sdk-0.1.0.tar.gz.
File metadata
- Download URL: cy_sdk-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ce6726075be6d5a20344d4a17131fa1ff1bc89d36974776ec85a66a7663f6f9
|
|
| MD5 |
4e718a4b5e48861b8f5ac31145490820
|
|
| BLAKE2b-256 |
bc43dcf4df75be403bd8ec0ce84d0edf228860cc7b7aa0f4f5b051c1d2c2795f
|
File details
Details for the file cy_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cy_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab55c64f0265e8fdf59ffd2ac257de954af8bf4b49a44cfb5bed11b43211aa05
|
|
| MD5 |
e5f5d1419951a995717e9698bdb48939
|
|
| BLAKE2b-256 |
bd19dc2b242db43633deaec2a7ce97f3e535cdd738fe5607050811aed7db6994
|