That said, I do think he absolutely deserved to be released, not because he didn't deserve to be locked up in the first place, but because he's clearly been rehabilitated and has done great work during his time in prison. All that considered, ten years seems like a not unreasonable prison sentence for what he did. I hope he'll continue to do good when he's released.
That said, it was entrapment and everyone involved should be deeply ashamed and prosecuted. At least those two agents did get some wire fraud charges [0], but the entrapment angle got explored because the charges were dropped.
[0] https://www.justice.gov/opa/pr/former-federal-agents-charged...