Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

googlechatai-0.0.1.tar.gz (187.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

googlechatai-0.0.1-py3-none-any.whl (158.1 kB view details)

Uploaded Python 3

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

Hashes for googlechatai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d44558dc8e24f1896ddfe94ffeca5f85ef02f84f9704109966684139c988676c
MD5 cc3e81a15bd33420e8d04aa51fa97848
BLAKE2b-256 9a078d1cf040f456cb81488bb4f467b76a2ee68e8dd23404e1956a25a51a7a18

See more details on using hashes here.

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

Hashes for googlechatai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60ba1590128fa9bc0776ebdca9f4119b2588185bf777916776911a803d0b61e6
MD5 920a95120a0db8ba753f04b9803d1fbf
BLAKE2b-256 e14e1282643a180723fee9d2e6b05c08eefa20a4fbc552f31e037e35442ba361

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page