You're thinking of Annabeth Chase (not "Annebeth")—one of the most central characters in Rick Riordan's Percy Jackson & the Olympians series and its sequels.
Annabeth subverts the "sidekick" trope. She's not Percy's support—she's his equal. Her fatal flaw (hubris) mirrors his (loyalty), and their partnership drives the series' emotional core. She also appears prominently in The Heroes of Olympus as one of the Seven.