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.2.tar.gz (188.0 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.2-py3-none-any.whl (158.2 kB view details)

Uploaded Python 3

File details

Details for the file googlechatai-0.0.2.tar.gz.

File metadata

  • Download URL: googlechatai-0.0.2.tar.gz
  • Upload date:
  • Size: 188.0 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.2.tar.gz
Algorithm Hash digest
SHA256 6cc5310910f2d782f047a953bb5681e7656cd3b8ab69d9beadf289e0c253fd27
MD5 d9384e576c32a23403007c4e7eedc1fa
BLAKE2b-256 063d3e43b27f12858e7fefd765b0a00bccd98a59b40761a1e623b7d3cea176c9

See more details on using hashes here.

File details

Details for the file googlechatai-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: googlechatai-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 158.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 76c7204ef8417c10ede664eb9ee01d620628a9f41fd8d1a8076aeba63a3f2b98
MD5 11213dc3859c4f71b42975f67d92c07e
BLAKE2b-256 b41a1d44b4df71e074c5cfe4f6a8a6074099e80345986f7f478bfbb15684c740

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