Skip to main content

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

Project description

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

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

gcp_agentflow-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

gcp_agentflow-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file gcp_agentflow-0.1.0.tar.gz.

File metadata

  • Download URL: gcp_agentflow-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for gcp_agentflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b535d48a6d293ae9fad64de04a004e79fc700bb8c133a8aca792d1775091557f
MD5 02d3072613b07279b4582ce055eafa42
BLAKE2b-256 e58dd84f5688a337017e35eb44a61a71ff77d524a6835abdfc4aced4b53d15dd

See more details on using hashes here.

File details

Details for the file gcp_agentflow-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gcp_agentflow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for gcp_agentflow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41ddbf43d6f65874c6a72c5fa151ce9648986a6f4b0160c4b314e33319265b9b
MD5 70793004c9b12e136b58683ae3768730
BLAKE2b-256 7ffc748e5dc34cd5271446ad5b20d2bcaaae3cef10d82cbba5140f7a95a00319

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