Add ID to agents, implements Agent's logs. close #11