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.
Release files for googlechatai 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| googlechatai-0.0.2.tar.gz | 188.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| googlechatai-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 346.2 kB
Release files / googlechatai-0.0.2.tar.gz
| Download URL | googlechatai-0.0.2.tar.gz |
|---|---|
| Size | 188.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cc5310910f2d782f047a953bb5681e7656cd3b8ab69d9beadf289e0c253fd27
|
|
BLAKE2b-256 checksum How to use checksums |
063d3e43b27f12858e7fefd765b0a00bccd98a59b40761a1e623b7d3cea176c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / googlechatai-0.0.2-py3-none-any.whl
| Download URL | googlechatai-0.0.2-py3-none-any.whl |
|---|---|
| Size | 158.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76c7204ef8417c10ede664eb9ee01d620628a9f41fd8d1a8076aeba63a3f2b98
|
|
BLAKE2b-256 checksum How to use checksums |
b41a1d44b4df71e074c5cfe4f6a8a6074099e80345986f7f478bfbb15684c740
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|