BUFFALO, N.Y. — The Philadelphia Eagles have agreed to trade star running back LeSean McCoy for Buffalo Bills linebacker Kiko Alonso, a person familiar with the deal told The Associated Press.

The person spoke under condition of anonymity Tuesday night because the teams had not announced the deal. ESPN first reported the trade.

McCoy had an inconsistent season last year after leading the NFL with 1,607 yards rushing in 2013.

Incoming Bills coach Rex Ryan has said he wants his offense to rely heavily on a running attack. Buffalo is expected to lose C.J. Spiller to free agency next week.

Alonso played college football in Oregon under Eagles coach Chip Kelly. The 2013 second-round draft pick was a contender for NFL defensive rookie of the year. He missed all of last season with a knee injury after while working out in Oregon in July. He is expected to fully recover in time for the 2015 season.

Panthers

HARDY TO MEET WITH NFL BRASS: Panthers defensive end and soon-to-be free agent Greg Hardy will meet with NFL officials in New York on Wednesday to discuss his domestic violence case, a source told The Associated Press on Tuesday.

Hardy has been on the commissioner’s exempt list since September. He becomes a free agent March 10.

Hardy, 26, was convicted of assault on a female and communicating threats last summer, but charges were dismissed Feb. 9 during an appeal trial when his accuser failed to testify. Prosecutors say Hardy reached a civil suit agreement with the accuser.

The NFL has said it is investigating Hardy’s case.

The league unsuccessfully petitioned to have evidence from Hardy’s first trial unsealed.

49ers

TEAM SIGNS AUSTRALIAN RUGBY STAR: Australian rugby star Jarryd Hayne has agreed to a contract with the San Francisco 49ers, a person with knowledge of the deal said Tuesday.

The person spoke on condition of anonymity to The Associated Press because a formal announcement is not planned until Hayne signs. He is expected to receive $100,000 guaranteed.

Hayne is giving up his career in the Australian National Rugby League to pursue an NFL job across the world. He likely will compete for a job as a running back and return man on special teams.

The 27-year-old Hayne, who is 6-foot-2 and 220 pounds, held a news conference in Sydney to announce he would join the 49ers. San Francisco is beginning to build a roster for new coach Jim Tomsula. His experience coaching in NFL Europe helped sway Hayne, who also generated interest from Detroit and Seattle.

Around the league

The Eagles released CB Cary Williams, who was signed as a free agent from Tennessee in 2013 and started all 32 games over the last two seasons. ... QB Jameis Winston met with the Buccaneers on Tuesday, hoping to make a good impression on the team considering taking the Heisman Trophy-winning quarterback with the first pick in the NFL draft. “I just want them to know I am human and I’m a great person, and this smile isn’t fake,” Winston said. ... The Titans released veteran safety Bernard Pollard and replaced him by claiming linebacker Jonathan Massaquoi off waivers.