I asked a question on SO: How to implement an agent?. I got unhelpful comments/answers, I've learned nothing, and I don't have the faintest clue how to improve my question. Some people are more interested in telling others they are wrong than in leaving helpful hints about how they could reformulate a question properly. That is sad and definitely doesn't help improve the quality of content on Stack Overflow.
In general, SO is not a good place to look for advice on how to start something; specific problems fare much better. The FAQ says:
There are indeed entire books written about the basics of artifical agents. I don't think the problem is with your writing so much as the actual question. I see you've tried to update it with hypothetical details, but it's still incredibly broad. The best advice for you is probably to read some books on the subject and/or take a course, which wouldn't constitute much of an answer either; self-contained and detailed/complete answers are best for SO. It just doesn't fit.