separate agent and agent-config