In the FAQ section of her website, author-illustrator Debbie Ridpath Ohi answered the question “How did you get your agent? Any advice on how I can get an agent?” She gives a list of things to consider BEFORE signing with an agent. She also provides several helpful links where people can learn more about what an agent does, querying an agent, and even look up agents who are currently accepting unsolicited queries.
I highly recommend that you read Debbie Ridpath Ohi’s answer to the questions: “How did you get your agent? Any advice on how I can get an agent?”, and that you check out the other links she shared.