add simpleAgent.c
test