mcpField
G
google-cloud-solution-agentic-ai-bidirectional-streaming

google-cloud-solution-agentic-ai-bidirectional-streaming

github.com/googleCloud & DevOps21.6k5.6k installsUpdated today
Repository

About google-cloud-solution-agentic-ai-bidirectional-streaming

This Agent skill guides teams through designing and implementing Google Cloud solutions for live, bidirectional multimodal streaming workloads. Its workflow covers requirements analysis, architecture, deployment planning, and validation, grounded in Google Cloud documentation.

Key features

  1. 01Analyze workload requirements and constraints
  2. 02Decompose components and request confirmation
  3. 03Map components to Google Cloud products
  4. 04Generate Mermaid architecture diagrams
  5. 05Draft IaC, deployment, and validation plans

Use cases

  1. 01Plan live audio, video, or text streaming solutions
  2. 02Design a cloud architecture for multiple agents
  3. 03Create infrastructure deployment plans
  4. 04Check deployment connectivity, security, and requirements

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/google/skills --skill google-cloud-solution-agentic-ai-bidirectional-streaming

After installing, type/google-cloud-solution-agentic-ai-bidirectional-streamingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/
output-template.md
references/
attribution.md
design-recommendations.md
product-mapping.md

Details

From the project README

Live bidirectional multimodal streaming agentic AI solution

This skill guides agents through the workflow to design and implement a tailored multi-product solution in the cloud for a live, bidirectional multimodal streaming workload, use case, or requirement.

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.

Workflow

The solution design and implementation workflow consists of the following phases:

  • Phase 1: Requirements discovery and analysis: Analyze the workload's requirements, constraints, dependencies, and current state.
  • Phase 2: Solution design: Build a technology stack, architecture, and deployment configuration for the workload based on Google Cloud design best practices and recommendations.
  • Phase 3: Implementation plan: Generate automation and instructions to deploy the solution.
  • Phase 4: Solution validation: Validate that the deployment meets the requirements of the workload.
Phase 1: Requirements discovery and analysis
  • Step 1: Discover requirements: Understand the functional and non-functional requirements, business goals, and current state (if any) of the workload, including its architecture, dependencies, and constraints. Use the following questions to guide the requirements discovery process:

    • What are the primary input modalities (audio, video, or text) and what is the target latency for real-time, narrated feedback?
    • Do you require real-time safety monitoring, hazard detection, or visual inspection? If so, then what specific safety hazards, operational risks, or incorrect steps need to be monitored and detected in the video stream?
    • What existing systems, knowledge bases, product documentation, or schematic repositories must the AI agents access for grounded guidance?
    • What are the client-side device constraints and network limitations?
  • Step 2: Identify components: Based on the requirements analysis, identify the components of the workload and their relationships. Also identify any cross-cloud components, hybrid components, or on-prem components that the solution needs to integrate with.

  • Step 3: Generate component decomposition: Generate a technical decomposition of the components of the workload. The technical decomposition must break down the solution into logical components.

  • Step 4: Ask for confirmation: Ask the user to confirm whether the generated technical decomposition matches their workload requirements.

  • Step 5: Iterate: If the user requests changes, then generate an updated technical decomposition, and ask the user to confirm the changes. Continue iterating until the user confirms the technical decomposition.

Phase 2: Solution design
Phase 3: Implementation plan
  • Step 1: Retrieve relevant implementation resources:

    Important: Use these resources as the technical foundation for the IaC and deployment instructions you generate in the remaining steps of this phase.

  • Step 2: Identify deployment prerequisites: Document prerequisites for the deployment, including the following:

    • Projects and billing associations
    • Required Google Cloud APIs
    • Required IAM permissions
    • Any other prerequisites
  • Step 3: Generate Infrastructure as Code (IaC): Generate code, like Terraform, and deployment scripts to automate the provisioning of the proposed Google Cloud resources.

  • Step 4: Write deployment instructions: Draft sequential, step-by-step deployment instructions to execute the IaC and initialize the workload components. Update deployment instructions in solution-architecture-guide.md, based on the template in assets/output-template.md.

  • Step 5: Request review: Present the generated deployment instructions to the user for feedback and confirmation.

  • Step 6: Iterate: If the user requests changes, then generate an updated implementation plan and repeat steps 2-5 until the user approves the implementation plan.

Phase 4: Solution validation
  • Step 1: Retrieve relevant verification resources (optional): If the resources from Phase 3 are not already in your context, retrieve the same implementation resources as the starting point for the validation checks and verification scripts that you generate in this phase.

  • Step 2: Define validation checks: Outline validation steps to verify that the deployed infrastructure meets the workload requirements:

    • Deployment dry-run: Commands like terraform plan to preview changes.
    • Connectivity and routing: Verification of network paths, load balancer routing, and service endpoints.
    • Security policies: Verification of restricted access, firewall rules, and IAM enforcement.
  • Step 3: Generate verification scripts: Draft lightweight scripts or command-line instructions, such as using curl or gcloud, that the user can run to perform these validation checks.

  • Step 4: Compile validation report: Document the validation steps, verification scripts, and expected outcomes in solution-architecture-guide.md, based on the template in assets/output-template.md.

  • Step 5: Conduct validation and finalize: Assist the user in executing the validation checks and troubleshooting any deployment issues. After the solution is validated successfully, request final approval from the user.

  • Step 6: Iterate: If the user requests changes, then generate an updated validation plan and repeat steps 2-5 until the user approves the validation plan.

Comments

Markdown supported