As the Forger family, Twilight (under the fake name Loid), Yor, and Anya pose as model citizens while guarding their own secrets. That’s easier said than done, given the tense political climate within their country.

Twilight is a secret agent who serves the nation of Westalis. His home country maintains a tentative state of peace with the neighboring nation of Ostania. However, tensions between both nations continue to simmer, creating an era of unease over when conflict could break out again.

Source: https://www.distractify.com/p/when-does-spy-x-family-take-place