add config for agent