[Matahari] [PATCH 1/2] network agent api