Google's Magenta Artificial Intelligence project was unveiled last month, which aims to get AI to create art.
It is part of the Google Brain research project, and uses the TensorFlow open source AI platform to create algorithms able to generate music.
On Thursday Magenta released its first effort, a 90-second piano melody. The tune was created by a trained neural network, which the human team provided with four notes up front.
Here you can have a listen to the first song ever composed by a robot.