First version of agent

Change-Id: I3dcffb653e437b4fda18e1daada2b8168c8cb93d