Pass plugin instance to AI manager