On December 10, 2017, Gilyard scored a freshman season-high 23 points with five three-pointers in a 74–71 win over James Madison. He made the game-winning three-pointer with 0.4 seconds left. On February 28, 2018, Gilyard recorded 13 points, six assists and three steals in a 90–65 win over UMass, surpassing Kenny Atkinson's school freshman assist record and becoming the first NCAA Division I freshman to reach 80 steals since Oklahoma State's Marcus Smart in 2013. He closed the season with 89 steals, breaking the program record previously held by Anthony Dobbins. As a freshman, Gilyard averaged 11.4 points, 4.1 assists and 2.8 steals per game, which ranked sixth in the country, and started in all 32 games. In the third game of his sophomore season, on November 16, 2018, Gilyard scored a season-high 31 points, 27 of which came in the second half, and recorded six assists in a 78–70 victory over IUPUI. On February 11, 2019, he was named Atlantic 10 Conference Player of the Week for his first time after averaging 22.5 points, 5.5 assists and five steals per game in wins over George Mason and George Washington. Gilyard averaged 16.2 points, 5.2 assists and 2.8 steals per game as a sophomore, earning second-team All-Atlantic 10 and Atlantic 10 All-Defensive Team honors. He joined Allen Iverson and Jason Kidd as the only Division I players since 1992 to record at least 868 points, 290 assists and 177 steals by the end of their sophomore seasons. On November 18, 2019, Gilyard was recognized as Atlantic 10 Co-Player of the Week after averaging 22.0 points, 5.5 assists and four steals per game in victories over Vanderbilt and Cal State Northridge. On December 9, he was again named conference Co-Player of the Week after averaging 16.5 points, 8.5 assists, six rebounds and five steals in wins over Hampton and South Alabama. Against Hampton, Gilyard registered his first double-double, with 18 points and a season-high 10 assists, and scored his 1,000th career point. On January 25, 2020, he scored a season-high 29 points in an 87–79 loss to seventh-ranked Dayton. As a junior, Gilyard was named Atlantic 10 Defensive Player of the Year and first-team All-Atlantic 10 after averaging 12.7 points, 5.7 assists, a Division I-high 3.2 steals and 3.1 rebounds per game. Following the season Gilyard declared for the 2020 NBA draft. On May 21, Gilyard announced he was withdrawing from the draft and returning for his senior season at Richmond.