if your AI is voice activated, you can do this with notepad and text to speech turned on.
so it might look like that.
if your AI is on a wireless network, you might broadcast a message to your network.
No program can 'find' some other device sitting in your room without more details. I mean there are device discovery techniques, but they only work if the device is using the protocol for the discovery. And there is a security layer too, assuming the AI device is protected from the hacker sitting in your driveway.
Basically, we are not there yet. We do not yet have the technology to just do things without knowing some deep details about what we are doing.