Add metadata agent

Change-Id: Ic669140191727d8ca6b0ceca9c68cdc7785e05f8