Python package for the Google Chat AI SDK.
Project description
googlechatai
googlechatai is a polyglot Google Chat AI SDK for building serious Google
Chat apps, AI assistants, and workflow extensions without living at the raw
REST-object layer. This is the Python package (standard library only, Python
3.10+); a matching Node.js package is published as googlechatai on npm,
kept behaviorally aligned through shared fixtures and cross-language
conformance tests.
Highlights:
- Deep normalization of Chat events, messages, actions, cards, and attachments into stable, model-ready structures.
- A webhook router with slash command, mention, reaction, membership, and dialog handlers, plus dedupe, deadline, and inbound request verification (Chat app bearer tokens and Pub/Sub push OIDC, verified with a stdlib-only RS256 implementation).
- Dry-run call plans for sends, replies, threads, reactions, and pins, and an executor that turns plans into real API calls with retries, idempotency, and explicit live-mode safety gates.
- Live streaming of model output through message edits via
stream_chat_reply/astream_chat_reply, driven by a deterministic scheduler with patch cadence, size-limit truncate/split, cancellation, and resume. - AI-first helpers: conversation context builders, attachment pipelines,
placeholder responses, async response handoff, token stores, and queue
adapters. Optional FastAPI/ASGI adapters install with
pip install "googlechatai[fastapi]".
Status: early development (0.0.x). APIs may change between minor versions while the SDK stabilizes.
googlechatai is an independent project and is not affiliated with or endorsed by Google LLC. Google Chat is a trademark of Google LLC.
Licensed under the Apache License 2.0. See LICENSE and NOTICE.
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 googlechatai-0.0.1.tar.gz.
File metadata
- Download URL: googlechatai-0.0.1.tar.gz
- Upload date:
- Size: 187.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d44558dc8e24f1896ddfe94ffeca5f85ef02f84f9704109966684139c988676c
|
|
| MD5 |
cc3e81a15bd33420e8d04aa51fa97848
|
|
| BLAKE2b-256 |
9a078d1cf040f456cb81488bb4f467b76a2ee68e8dd23404e1956a25a51a7a18
|
File details
Details for the file googlechatai-0.0.1-py3-none-any.whl.
File metadata
- Download URL: googlechatai-0.0.1-py3-none-any.whl
- Upload date:
- Size: 158.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ba1590128fa9bc0776ebdca9f4119b2588185bf777916776911a803d0b61e6
|
|
| MD5 |
920a95120a0db8ba753f04b9803d1fbf
|
|
| BLAKE2b-256 |
e14e1282643a180723fee9d2e6b05c08eefa20a4fbc552f31e037e35442ba361
|