refactored: to utilise the google adk and production grade agent
Some checks failed
validation / verify (push) Failing after 10s

This commit is contained in:
2026-09-02 21:42:10 +01:00
parent b9a924cf4a
commit a24a44e28c
279 changed files with 12003 additions and 390 deletions

20
app/adk/workflows.py Normal file
View File

@@ -0,0 +1,20 @@
"""ADK Workflows module for GCP Solution Architecture Agent.
Uses google.adk.workflows.Workflow and google.adk.workflows.WorkflowStep primitives.
"""
from typing import Any, Dict, List
from app.adk.agents import OrchestratorLoopAgent
from app.adk.compat import Workflow, WorkflowStep
from app.skills.loader import SkillLoader
def create_gcp_adk_workflow(skill_loader: SkillLoader, max_iterations: int = 5) -> Workflow:
"""Compose the multi-agent ADK workflow."""
orchestrator = OrchestratorLoopAgent(skill_loader, max_iterations=max_iterations)
step = WorkflowStep(step_name="OrchestratorReviewLoopStep", agent=orchestrator)
return Workflow(
name="GCP_Solution_Architecture_Workflow",
steps=[step],
)