Couldn't you just do AgentExecutor(...).run(task="...") and launch an autonomous AI in only one line?