Add local support to fix-agent