pub async fn run(args: AgentArgs) -> Result<(), Box<dyn Error>>
Run the agent with the given CLI arguments.