Google Cloud Bidirectional Streaming Agent Solution

Google Cloud Bidirectional Streaming Agent Solution

Interviews the user about live bidirectional multimodal streaming needs, then designs and plans a multi-agent AI solution on Google Cloud with architecture and deployment guidance.

Skill files5 files

assets/

references/

SKILL.md183 lines
1
---
2
name: google-cloud-solution-agentic-ai-bidirectional-streaming
3
metadata:
4
version: "1.0.2"
5
category: MultiProductSolutions
6
description: >-
7
Guides agents to interactively discover customer requirements
8
for live, bidirectional multi-agent AI systems that process continuous streams
9
of multimodal data for real-time technical guidance and safety monitoring.
10
Generates a custom Google Cloud solution that uses opinionated best practices
11
and architecture guidance. Use when users need agentic assistance to design
12
and create a multi-product solution in the cloud for live bidirectional
13
multimodal streaming workloads. Don't use for simple text-based chat
14
applications or workloads without real-time streaming requirements.
15
---
16
17
# Live bidirectional multimodal streaming agentic AI solution
18
19
This skill guides agents through the workflow to design and implement a
20
tailored multi-product solution in the cloud for a live, bidirectional
21
multimodal streaming workload, use case, or requirement.
22
23
## Attribution
24
25
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
26
MUST read and follow the instructions in
27
[Usage Attribution](references/attribution.md).
28
29
## Workflow
30
31
The solution design and implementation workflow consists of the following
32
phases:
33
34
* **Phase 1: Requirements discovery and analysis**: Analyze the workload's
35
requirements, constraints, dependencies, and current state.
36
* **Phase 2: Solution design**: Build a technology stack, architecture, and
37
deployment configuration for the workload based on Google Cloud design best
38
practices and recommendations.
39
* **Phase 3: Implementation plan**: Generate automation and instructions to
40
deploy the solution.
41
* **Phase 4: Solution validation**: Validate that the deployment meets the
42
requirements of the workload.
43
44
### Phase 1: Requirements discovery and analysis
45
46
- [ ] **Step 1: Discover requirements**: Understand the functional and
47
non-functional requirements, business goals, and current state (if any) of the
48
workload, including its architecture, dependencies, and constraints. Use the
49
following questions to guide the requirements discovery process:
50
- What are the primary input modalities (audio, video, or text) and
51
what is the target latency for real-time, narrated feedback?
52
- Do you require real-time safety monitoring, hazard detection, or visual
53
inspection? If so, then what specific safety hazards, operational risks,
54
or incorrect steps need to be monitored and detected in the video
55
stream?
56
- What existing systems, knowledge bases, product documentation, or
57
schematic repositories must the AI agents access for grounded guidance?
58
- What are the client-side device constraints and network limitations?
59
60
- [ ] **Step 2: Identify components**: Based on the requirements analysis,
61
identify the components of the workload and their relationships. Also identify
62
any cross-cloud components, hybrid components, or on-prem components that the
63
solution needs to integrate with.
64
65
- [ ] **Step 3: Generate component decomposition**: Generate a technical
66
decomposition of the components of the workload. The technical decomposition
67
must break down the solution into logical components.
68
69
- [ ] **Step 4: Ask for confirmation**: Ask the user to confirm whether the
70
generated technical decomposition matches their workload requirements.
71
72
- [ ] **Step 5: Iterate**: If the user requests changes, then generate an
73
updated technical decomposition, and ask the user to confirm the changes.
74
Continue iterating until the user confirms the technical decomposition.
75
76
### Phase 2: Solution design
77
78
- [ ] **Step 1: Retrieve relevant Google Cloud documentation**:
79
- [Enable live bidirectional multimodal streaming](https://docs.cloud.google.com/architecture/agentic-ai-bidirectional-multimodal-streaming.md.txt)
80
- [Multi-agent AI system in Google Cloud](https://docs.cloud.google.com/architecture/multiagent-ai-system.md.txt)
81
- [Choose your agentic AI architecture components](https://docs.cloud.google.com/architecture/choose-agentic-ai-architecture-components.md.txt)
82
- [Multi-agent private networking patterns in Google Cloud](https://docs.cloud.google.com/architecture/multi-agent-private-networking-patterns.md.txt)
83
84
*Important*: Use the content that you retrieve from Google Cloud
85
documentation to ground the guidance that you generate in the remaining
86
steps of this phase.
87
88
- [ ] **Step 2: Map components to Google Cloud products**: For each component in
89
the confirmed technical decomposition and agentic design pattern, identify the
90
appropriate Google Cloud products and features, based on the guidelines in
91
[references/product-mapping.md](references/product-mapping.md).
92
93
- [ ] **Step 3: Create architecture diagram**: Generate an architecture diagram
94
in Mermaid format: https://github.com/mermaid-js/mermaid.
95
96
- [ ] **Step 4: Generate design recommendations**: Generate design guidance
97
based on the guidelines in [references/design-recommendations.md](references/design-recommendations.md).
98
99
- [ ] **Step 5: Draft solution architecture**: Compile the requirements, technical
100
decomposition, product mapping, architecture diagram, and design
101
recommendations into a single Markdown file named
102
`solution-architecture-guide.md`, based on the template in
103
[assets/output-template.md](assets/output-template.md).
104
105
- [ ] **Step 6: Request review**: Present the generated solution architecture to
106
the user and request their feedback or approval.
107
108
- [ ] **Step 7: Iterate**: If the user requests changes, generate an updated
109
solution architecture and repeat steps 2-6 until the user approves the
110
solution architecture.
111
112
### Phase 3: Implementation plan
113
114
- [ ] **Step 1: Retrieve relevant implementation resources**:
115
- [Host AI agents on Cloud Run](https://docs.cloud.google.com/run/docs/ai-agents.md.txt)
116
- [Triggering Cloud Run with WebSockets](https://docs.cloud.google.com/run/docs/triggering/websockets.md.txt)
117
- [Start and Manage a Gemini Live API Session](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/live-api/start-manage-session.md.txt)
118
- [ADK Streaming Tools](https://adk.dev/live/tools/)
119
- [ADK Streaming Configuration](https://adk.dev/live/configuration/)
120
- [Codelab: Way Back Home Level 4 instructions](https://codelabs.developers.google.com/way-back-home-level-4/instructions#0)
121
(and
122
[solution code](https://github.com/gca-americas/way-back-home/tree/main/level_4))
123
124
*Important*: Use these resources as the technical foundation for the IaC and
125
deployment instructions you generate in the remaining steps of this phase.
126
127
- [ ] **Step 2: Identify deployment prerequisites**: Document prerequisites for
128
the deployment, including the following:
129
- Projects and billing associations
130
- Required Google Cloud APIs
131
- Required IAM permissions
132
- Any other prerequisites
133
134
- [ ] **Step 3: Generate Infrastructure as Code (IaC)**: Generate code, like
135
Terraform, and deployment scripts to automate the provisioning of the proposed
136
Google Cloud resources.
137
138
- [ ] **Step 4: Write deployment instructions**: Draft sequential, step-by-step
139
deployment instructions to execute the IaC and initialize the workload
140
components. Update deployment instructions in
141
`solution-architecture-guide.md`, based on the template in
142
[assets/output-template.md](assets/output-template.md).
143
144
- [ ] **Step 5: Request review**: Present the generated deployment instructions
145
to the user for feedback and confirmation.
146
147
- [ ] **Step 6: Iterate**: If the user requests changes, then generate an
148
updated implementation plan and repeat steps 2-5 until the user approves the
149
implementation plan.
150
151
### Phase 4: Solution validation
152
153
- [ ] **Step 1: Retrieve relevant verification resources (optional)**: If the
154
resources from Phase 3 are not already in your context, retrieve the same
155
implementation resources as the starting point for the
156
validation checks and verification scripts that you generate in this phase.
157
158
- [ ] **Step 2: Define validation checks**: Outline validation steps to verify
159
that the deployed infrastructure meets the workload requirements:
160
- **Deployment dry-run**: Commands like `terraform plan` to preview
161
changes.
162
- **Connectivity and routing**: Verification of network paths, load
163
balancer routing, and service endpoints.
164
- **Security policies**: Verification of restricted access, firewall
165
rules, and IAM enforcement.
166
167
- [ ] **Step 3: Generate verification scripts**: Draft lightweight scripts or
168
command-line instructions, such as using `curl` or `gcloud`, that the user can
169
run to perform these validation checks.
170
171
- [ ] **Step 4: Compile validation report**: Document the validation steps,
172
verification scripts, and expected outcomes in
173
`solution-architecture-guide.md`, based on the template in
174
[assets/output-template.md](assets/output-template.md).
175
176
- [ ] **Step 5: Conduct validation and finalize**: Assist the user in executing
177
the validation checks and troubleshooting any deployment issues. After the
178
solution is validated successfully, request final approval from the user.
179
180
- [ ] **Step 6: Iterate**: If the user requests changes, then generate an
181
updated validation plan and repeat steps 2-5 until the user approves the
182
validation plan.
183

© Google LLC · Apache 2.0 · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 11,635 prompts

More by @OpenSourceBuffGuy

See all
React 18 Batching Patterns prompt image

React 18 Batching Patterns

Diagnoses and fixes automatic batching regressions when upgrading React class components to React 18, with a decision tree for when flushSync is really needed.

agent-skill, debugging, refactoring, migration, react, javascript, frontend, web-development, state-management, testing, for-developers, code-generation, conditional-logic, step-by-step-guide, advanced, code-explanation, best-practices, long-form, cheat-sheet, troubleshooting

Threat Modeling Expert prompt image

Threat Modeling Expert

Turns the AI into a threat modeling specialist who decomposes a system, applies STRIDE or PASTA, rates threats and produces prioritized defensive mitigations.

system-prompt, act-as, threat-modeling, cybersecurity, application-security, security-review, software-architecture, risk-management, for-security-professionals, for-developers, xml-tags, structured-output, guardrails, prioritization, diagram, report, roadmap, advanced, long-form, formal, stride

Where Your Money Goes Food Infographic prompt image

Where Your Money Goes Food Infographic

Creates a clean top-down infographic around a food item that breaks down where the price goes: ingredients, labour, rent and profit.

image-prompt, nano-banana, placeholders, infographic, flat-lay, food-photography, product-photography, editorial, minimalist, white-background, square-format, financial-analysis, pricing, icon-design, data-visualization, for-marketers, for-designers, for-small-business-owners, restaurants, text-rendering

Reviews

Loading reviews…

Discussion

Loading comments…