Agent Reconciler

I still need to get the AgentReconciler tested, but this is where I want to take the agent package. All feedback welcome!
Can you prune this and as.resources? After this patch they're not getting referenced at all afaict