Remove parentesis from agent