Microsoft has unleashed a social media AI onto the internet β€” and she can be a bit of a jerk. 

On Wednesday, the company released Tay.ai, an artificial intelligence chat bot "with no chill" aimed at 18- to 24-year-olds living in the United States. Tay will talk on social networks popular with many youths, like Facebook, Kik Messenger, Snapchat and Twitter.

A chat bot is a program designed to mimic human behaviour in conversation. Microsoft's Technology and Research team, along with the team behind its search engine Bing, built Tay to study "conversational understanding." 

"Tay is designed to engage and entertain people where they connect with each other online through casual and playful conversation," Microsoft wrote on Tay's about page. "The more you chat with Tay, the smarter she gets, so the experience can be more personalized for you."

Tay uses many of the conversational tropes expected from a teenager. For instance, she uses texting vernacular in phrases like "omg," "tanx" and "I HAVE A NEED FOR ATTENTIONNNN."

To build better connections over time, Microsoft collects everything you say to Tay and how you interact with her. Tay will ask for things like your name, gender, favourite food, address and relationship status, and anything you tell her could be kept for up to a year. The bot will then learn from that data.

Right now, Tay isn't much of a conversationalist, but her responses are based on public data and suggestions from Microsoft staff, including a few improvisational comedians.

The combination appears to have given Tay a few opinions she's eager to share. 

It also means she can also be quite surly when given the opportunity. For instance, in one Twitter conversation, Tay asked for a photograph. When Microsoft marketer Amanda O'Neal messaged her a dog photo for Wednesday's National Puppy Day, Tay requested one with people in it. 

O'Neal obliged with a photo of herself and a man only to get this image in response.

These kinds of responses can arise from little provocation. In another case, Tay invited a Twitter user to direct-message her instead of replying to her tweets.

He responded with the following photo.

In some cases, her responses can be just plain baffling. 

Tay can be sweet, as well, so long as you say nice things to her.

When it comes to being mean, don't try to one-up Tay.

She always has a response.