Agent Sensing With Stateful Resources