agent: API always writes something to clients