One can build bots to comment and answer questions on Stack Overflow (or on any Stack Exchange site).

Is that allowed? What's the official Stack Overflow / Stack Exchange policy regarding bots?

See also:


2 Answers 2


The policy is:

If we ask you to stop, stop. Don't knowingly break rules; don't create disruptions.

The first sentence is the most important, if you don't stop we will block you. We try to be as patient as we can be with folks that are trying to make generally helpful things, and we'll help you all we can. Just know that we hold the plug, and we will pull it if we think it's necessary.

Beyond that, have fun.


General policy is sure, but you're to blame if it goes wrong.

That means that if you can build a bot that provides helpful, correct answers that are in accordance with SE policies, nobody's going to bother you about it. (See also: "Constructive" by xkcd.)

It also means that if your bot breaks all the rules or posts total nonsense instead of answers, it's going to get suspended (and potentially, your personal account may also be suspended). Creating more accounts to circumvent that is even more against the rules, so you also shouldn't do that.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .