An artificial intelligence device comprising: a microphone configured to receive a speech command; a speaker; a communication unit configured to perform communication with an external artificial intelligence device; and a processor configured to: receive a wake-up command through the microphone, acquire a first speech quality level of the received wake-up command, receive, from a first external artificial intelligence device through the communication unit, a second speech quality level of the wake-up command input to a microphone of the first external artificial intelligence device, output a notification indicating that the artificial intelligence device is selected as an object to be controlled through the speaker, when the first speech quality level is larger than the second speech quality level, and receive an operation command through the microphone, characterized in that the processor is further configured to: acquire an intention of the received operation command, wherein the acquired intention indicates performing an operation corresponding to the operation command by a second external artificial intelligence device, and transmit the operation command for performing the operation to the second external artificial intelligence device according to the acquired intention through the communication unit. a microphone configured to receive a speech command; a speaker; a communication unit configured to perform communication with an external artificial intelligence device; and a processor configured to: receive a wake-up command through the microphone, acquire a first speech quality level of the received wake-up command, receive, from a first external artificial intelligence device through the communication unit, a second speech quality level of the wake-up command input to a microphone of the first external artificial intelligence device, output a notification indicating that the artificial intelligence device is selected as an object to be controlled through the speaker, when the first speech quality level is larger than the second speech quality level, and receive an operation command through the microphone, characterized in that the processor is further configured to: acquire an intention of the received operation command, wherein the acquired intention indicates performing an operation corresponding to the operation command by a second external artificial intelligence device, and transmit the operation command for performing the operation to the second external artificial intelligence device according to the acquired intention through the communication unit. receive a wake-up command through the microphone, acquire a first speech quality level of the received wake-up command, receive, from a first external artificial intelligence device through the communication unit, a second speech quality level of the wake-up command input to a microphone of the first external artificial intelligence device, output a notification indicating that the artificial intelligence device is selected as an object to be controlled through the speaker, when the first speech quality level is larger than the second speech quality level, and receive an operation command through the microphone, characterized in that the processor is further configured to: acquire an intention of the received operation command, wherein the acquired intention indicates performing an operation corresponding to the operation command by a second external artificial intelligence device, and transmit the operation command for performing the operation to the second external artificial intelligence device according to the acquired intention through the communication unit. acquire an intention of the received operation command, wherein the acquired intention indicates performing an operation corresponding to the operation command by a second external artificial intelligence device, and transmit the operation command for performing the operation to the second external artificial intelligence device according to the acquired intention through the communication unit.