[minor] refresh agent details from api in console
[minor] prettier search result display in console