| name | dssib-vertex-pipelines |
| description | -- name: dssib-vertex-pipelines description: Guide for deploying Dynamic Swarm (DSSIB) Fan-Out agents on Vertex AI Pipelines with ML Metadata integrat... |
--
name: dssib-vertex-pipelines
description: Guide for deploying Dynamic Swarm (DSSIB) Fan-Out agents on Vertex AI Pipelines with ML Metadata integration.
Deploying DSSIB Agents on Vertex AI Pipelines
Use this skill when deploying or architecting a multi-agent fan-out orchestration system (like NovaStorm) on Google Cloud. Instead of using Cloud Run for long-running asynchronous background agents, Vertex AI Pipelines is the preferred native orchestrator.
Core Concepts
- Vertex AI Pipelines (
kfp): Use Kubeflow pipeline definitions to orchestrate the ReAct loop. It handles the parallelization gracefully.
- Parallel Fan-out: Rather than spawning async
asyncio tasks in an HTTP container, use kfp.dsl.ParallelFor to achieve robust parallelism for the analytical agents querying BigQuery in parallel.
- ML Metadata (MLMD): The most important benefit is native lineage tracking. Use
kfp.dsl.Metrics and kfp.dsl.Artifact to track all generated outputs (insights, visual charts, mutated agent scripts/skills) into Vertex ML Metadata.
- Dataplex Integration: The ML Metadata naturally feeds back into the Dataplex Universal Catalog, ensuring that the insights generated by the swarm are deeply integrated into the data governance layer.
- Scheduled Execution: Use the
PipelineJobSchedule.create API to orchestrate hourly or daily pipeline runs, streamlining the architecture by removing the need for external Cloud Scheduler to Cloud Run HTTP triggers.
- GEPA (Generative Evolutionary Prompt Augmentation): Use dynamic LLM temperature-dilated mutation to evolve analytical agents' "Skill DNA" over extended simulations (e.g., 50 epochs), hybridizing crossover skills.
- Secure Secret Injection: Never pass API keys or credentials as plain text pipeline arguments. Always mount them dynamically inside the component via Secret Manager at runtime.
Implementation Example Pattern
from kfp import dsl
from google.cloud import aiplatform
@dsl.component
def bq_insight_generator(target: str) -> str:
return f"Insight for {target}"
@dsl.pipeline(name="dssib-fanout-pipeline", description="Dynamic Swarm Orchestration")
def fanout_pipeline(table_targets: list):
with dsl.ParallelFor(table_targets) as target:
insight = bq_insight_generator(target=target)
Advantages Over Cloud Run + HTTP Triggers
- Automatic UI visualization of the 10+ parallel fan-out steps in Vertex AI.
- Native metadata logging (tracking LLM prompts, token counts, and output insights as pipeline artifacts).
- First-class Google Cloud integrations with BigQuery, Dataplex, and TimesFM models.