validate agents - store to mongo