Skip to main content

GCP AgentFlow

Agentic AI orchestration toolkit for Google Cloud Workflows, Pub/Sub, BigQuery, Datastore, and ML pipelines.

gcp-agentflow helps engineers design and operate event-driven Google Cloud automation patterns where Pub/Sub events trigger workflow decisions, Datastore stores operational state, BigQuery stores analytics, and ML/Agentic AI logic recommends the next action.

What it is for

  • Google Cloud event-driven architectures
  • Agentic AI workflow orchestration
  • Pub/Sub message routing
  • Datastore operational state tracking
  • BigQuery analytics event logging
  • ML-based routing and decision support
  • Workflow-ready payload generation

Install

pip install gcp-agentflow

Python Usage

from gcp_agentflow import AgentDecisionInput, decide_next_action

event = AgentDecisionInput(
    event_type="file_arrived",
    source="pubsub",
    risk_score=72,
    payload={"bucket": "incoming", "name": "file.csv"}
)

decision = decide_next_action(event)
print(decision.action)
print(decision.reason)

CLI Usage

gcp-agentflow decide --event-type file_arrived --risk-score 72

Key Concepts

gcp-agentflow is intentionally lightweight. It does not force a specific architecture. It provides reusable building blocks:

  • Decision Engine: Determines whether to route, retry, quarantine, approve, or alert.
  • Workflow Payload Builder: Creates clean payloads for Google Workflows or Cloud Run services.
  • Pub/Sub Publisher Wrapper: Publishes JSON events safely.
  • BigQuery Event Logger: Inserts structured analytics events.
  • Datastore State Store: Saves and retrieves operational state by key.

Build and Publish

python -m pip install --upgrade build twine
python -m build
twine check dist/*
twine upload dist/*

License

MIT

Author: Raghava Chellu

Metadata

Release files for gcp-agentflow 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gcp-agentflow 0.1.0
File Size Uploaded Provenance
gcp_agentflow-0.1.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gcp-agentflow 0.1.0
File Interpreter ABI Platform
gcp_agentflow-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / gcp_agentflow-0.1.0.tar.gz

Download URL gcp_agentflow-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b535d48a6d293ae9fad64de04a004e79fc700bb8c133a8aca792d1775091557f
BLAKE2b-256 checksum
How to use checksums
e58dd84f5688a337017e35eb44a61a71ff77d524a6835abdfc4aced4b53d15dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / gcp_agentflow-0.1.0-py3-none-any.whl

Download URL gcp_agentflow-0.1.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41ddbf43d6f65874c6a72c5fa151ce9648986a6f4b0160c4b314e33319265b9b
BLAKE2b-256 checksum
How to use checksums
7ffc748e5dc34cd5271446ad5b20d2bcaaae3cef10d82cbba5140f7a95a00319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for gcp-agentflow 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page