She has a more important purpose in writing this novel - she had some sort of message she wanted her readers to understand, instead of just writing entertainment.
An agenda is your plan, what you want to accomplish.
Look up "hidden agenda" and you'll get a sense of how else agenda can be used.
[a writer, not a teacher]
Student or Learner