Wide receiver Antonio Brown has agreed to a contract with the New England Patriots hours after being released by the Oakland Raiders.

Brown and the Patriots agreed to a one-year deal worth up to $15m that includes a $9m signing bonus.

Brown took to social media to announce the deal in his own way, posting a picture of himself with a Patriots jersey and hat.

The news came on a whirlwind day in which Brown was abruptly released by Oakland just two days before the Raiders' season opener against the Denver Broncos.

The move capped a tumultuous week in Oakland and came just hours after the receiver posted a message to Instagram on Saturday morning that ended with "Release me @raiders".

He became a free agent as of 4.01pm Eastern Time on Saturday and was free to sign with any team. He's now eligible to play in the second week of action.

"We tried every way possible to make it work," Raiders coach Jon Gruden told reporters.

"All I'm going to say is it's disappointing. I'm really proud of our players, our coaches, our owner, our front office. We did everything we could to make this work. I'm sorry it didn't. I apologise, but I will tell you I'm very proud of what we did as an organisation to try. I wish Antonio nothing but the best."

Brown's release came less than 24 hours after Gruden said he expected Brown to play in Monday's season opener.

Brown was fined $215,000 on Friday for a confrontation with Raiders general manager Mike Mayock on Wednesday. The conduct fine voided the approximately$30 million of guarantees in his contract, while the Raiders also reportedly would not be obligated to give him any termination pay.

The Raiders acquired Brown in a trade in March, but according to multiple reports, the Raiders have yet to pay Brown any money.

Spotrac, which tracks players' salaries and bonuses, points out that Brown already missed out on a $500,000 bonus for not attending at least 85% of the offseason program and would be due no money or have any salary cap impact if he were cut before the first game of the season.

There has been plenty of drama around Brown since he joined the Raiders.

In the most recent episode, Brown and Mayock had to be physically separated during a testy exchange on Wednesday, ESPN and NFL Network reported, leading to Brown opening a team meeting on Friday morning with what was dubbed an "emotional apology".

ESPN's Josina Anderson reported that Brown confronted Mayock over being fined almost $54,000 and called Mayock a "cracker" and addressed him with a number of "cusswords" during the altercation.

Anderson reported Mayock began to walk away because he felt the situation would escalate.

Brown also missed time due to a frostbite-like condition on his feet, an incident Gruden said wasn't Brown's fault but stemmed from improper protection on his feet during cryotherapy.

Then he sat out during a dispute with the NFL over his helmet, returning only after losing two grievances.