Metadata-Version: 2.4
Name: cy-sdk
Version: 0.1.0
Summary: Cy agent SDK — the agent-facing client for the Cy gateway (Slack + connected services).
Author-email: Neon Blue <hello@neonblue.ai>
License: Proprietary
Project-URL: Homepage, https://cy.neonblue.ai
Keywords: cy,neonblue,agent
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# cy-sdk

The agent-facing client for the **Cy** gateway. Distributed as `cy-sdk`, imported as `cy_sdk`:

```python
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.
