YFN Lucci is back on the outside after being arrested for murder -- but a judge is imposing limitations to keep him from booking it outta town, or hurting anyone.
Photos and video emerged Monday of the Atlanta rapper getting sprung from jail -- where he'd been in custody since turning himself in last month. He seems happy to be free, for now, but he had to drop a bundle ... a $500k bond to get released.
Lucci's also not allowed to have contact with any alleged victims, witnesses or co-defendants in the case ... nor can he associate with any known gang members or convicted felons. He can't even post on social media, although his pals made sure to get video of his release on the Internet.
Lucci's attorney, Drew Findling, tells us, "The bond was negotiated last week and finalized today. He was released just before 4 pm. There are a variety of conditions which is somewhat consistent with these cases, which included surrendering his passport."
One last thing ... the court's barred him from visiting a specific recording studio in downtown Atlanta.