implement chat::createTasks
detection bug fix
small change
added taskManager
added Agent resolve interface
implement fetching chat data