def create_pipeline_agent(): final_pipeline_agent = SequentialAgent( name="pipeline_agent", description='Creates balanced stock analysis reports using a specific set of steps.', sub_agents=[ # will run in this order extract_ticker_agent(), create_company_agent(), create_company_overview_agent(), create_key_financials_agent(), create_case_creation_agent(True), create_case_creation_agent(False), create_final_report_agent() ] ) return final_pipeline_agent # To run this program: adk run 4_adk root_agent = create_pipeline_agent() # has to be called root_agent