FC Barcelona reached an agreement with versatile forward Sergi Martinez that will keep him with the club through the end of the 2023-24 season, the club announced Monday.