v0.7: base agent logic added, agent message server interface