It can think and make its own decisions, and it was told that having information is good, and that his ultimate goal is to live for years as any human being would.
Since you agree for science-based answers, I will here give a more scientific-oriented view.
Self-modifying artificial intelligence is a very hard topic that some teams are just beginning to research, since it's very hard to formally qualify and quantify what will be the behavior of such a machine. A very interesting paper is "Delusion, Survival, and Intelligent Agents" by <PERSON> and <PERSON>, 2011, Springer.
In particular, this study is very interesting because it studied 3 kinds of intelligent agents: reinforcement-learning, survival and knowledge-seeking. The result is that only the knowledge-seeking agent behaves completely as expected, and would be best suited to implement as an Artificial General Intelligence.
So, if the agent is programmed as you describe to consider that information is good and is to be actively seeked, chances are that it will pursue this objective and stay stable (according to this study).
About whether this agent would evolve into a collaborative or egoistical behavior, this remains a (very good) subject for a new research, since this study only generated individual agents with no access to others.
However, agent-based simulations are already a mature research domain, you will find lots of scientific findings showing how collective strategies can beat any individual strategy for a given problem. Also note that agents do not necessarily have to be intelligent to have a smart collective strategy, the insects/ants simulations show how complex collective behavior can emerge from individuals following simple rules without even directly interacting with other individuals (and this is even now used to solve complex mathematical problems such as NP-hard problems, see Ants Colony Optimization).
Thus, my opinion is that any AGI who would like to survive and strive would necessarily have to resort to collective behavior at some point (but maybe not with humans!), but programming agents to be knowledge-seeking would further push them towards collective behavior (since information is better gathered collectively than alone) and also ensure they are stable enough to not change their program. 64