The Inheritance Cycle by Christopher Paolini. Eragon is the first book. The dragon is one of two protgonists, and highly intelligent.