import asyncio from app.agent import ToolCallAgent from app.flow.base import FlowType from app.flow.flow_factory import FlowFactory async def run_flow(): agent = ToolCallAgent() flow = FlowFactory.create_flow( flow_type=FlowType.PLANNING, agents=agent, ) result = await flow.execute("Create a web app that shows Japan travel destinations") print(result) if __name__ == "__main__": asyncio.run(run_flow())