Modified agent-config query