Use set for agents in Node