Add more infos about agent when create, return agent