Using the agent-based model SWISSland, we simulate farm-level responses and interactions under two institutional shocks: tariff reductions and direct payment reductions. Using a framework we developed, we assess resilience capacities, resilience attributes, and the provision of private and public goods, following the shock. Results indicate that valley farms are vulnerable to tariff reductions and mountain farms to direct payment reductions. Payment cuts cause minor changes in private and public goods provision, while tariff reductions reduce provision levels. It shows that different shocks require different resilience attributes, underscoring the need for ex-ante resilience assessments to develop targeted measures strengthening farm resilience.