Ottokar I of Bohemia
Agnes was the daughter of King Ottokar I of Bohemia, making her a descendant of Saint Ludmila and Saint Wenceslaus, patron saints of Bohemia. Agnes' mother was Constance of Hungary, who was the sister of King Andrew II of Hungary, so Agnes was a first cousin to St. Elizabeth of Hungary.