[medium] load agent configuration from external file