Agent in shambles without a number performing (8)
I believe the answer is:
enacting
'performing' is the definition.
(thesaurus)
I don't understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for enacting that I've seen before include "performing" , "Making (a bill) law" , "Establishing by law" .)