rewrote the agent filter apis