sample agent and fixed wrapper fn