Barcelona have announced Deco as the club's new sporting director.
According to the club, the director of football Mateu Alemany will leave the club at the end of the transfer window.
Deco had been working with Alemany unofficially until now but has now been officially unveiled in his new role, which he takes on after giving up his agent duties.
Barça statement said, "Barcelona and Anderson Luis de Souza "Deco" have reached an agreement regarding his joining the club.
"The first team player between 2004 and 2008 signs a contract as sporting director at the club for the next three seasons.

"Deco will be in charge of setting FC Barcelona's sporting philosophy and putting together the squad with the coach and the coaching and becoming head of the football section.
"This incorporation is in line with the statement released on 2 May in which the President and the director of the Football Area, Mateu Alemany, agreed his release from his duties once the current transfer window comes to an end on 2 September.
"As stated in the release Deco and Mateu Alemany will continue to work together until the closing of the transfer window.
Latest Stories
-
37 Military Hospital shuts down Emergency Unit for fumigation from June 4
8 minutes -
From thirst to triumph: VIMA delivers safe water to forgotten village in Ghana
42 minutes -
Overhaul or scrap Council of State – CDD-Ghana Research
3 hours -
Abdul-Rasheed Saminu sets new National Record in the men’s 100m, books qualification for Tokyo World Championships
3 hours -
Supreme Court allows Trump to revoke legal status for 500,000 migrants
3 hours -
Eugene Boadi: Bryan Acheampong’s impact on entertainment sector
3 hours -
Faizan Zaki, 13, crowned US National Spelling Bee champion
4 hours -
US to double tariffs on steel and aluminium imports to 50%, Trump says
4 hours -
Wontumi denied access to family – lawyer confirms amidst detention
4 hours -
Meet the Brazilian sensation Fonseca hoping to shock Draper
4 hours -
Women ‘worthy’ of French Open night sessions
4 hours -
Alcaraz made to suffer in four-set win over Dzumhur
5 hours -
Minority Caucus probe into TV doctor Ann Sansa Daly’s credentials
5 hours -
In Oval Office farewell, Trump says Elon Musk is ‘not really leaving’
5 hours -
Suspect in South African student’s murder killed in police shootout
5 hours