[medium] console search, v1
[medium] add API endpoint to query agents
[medium] add agent reader in console