Agency country is the country an Upwork agency declares as its location, shown on its directory card and profile, which may differ from the countries where its members live.
The owner sets the country, and usually a city, in the agency's settings, and Upwork prints it on the agency profile and on the card in the agency directory. It is a declaration: Upwork verifies the identity and location of the individual people behind accounts, but the agency's stated location is where the business says it is based, which for a registered company is normally its country of registration and for an informal team is wherever the owner is. Clients use it through the location filter in talent search and through job posts that restrict applicants to certain countries, so the choice affects which jobs the agency can see and bid on.
The country tells a client where the agency is run from, not where the work is done. A distributed agency with an owner in one country and developers in three others shows one country; the member countries are on the members' own profiles. It also tells the client something about jurisdiction, since the Optional Service Contract Terms and any agreement the two sign sit under the laws the parties choose, and a client who needs a particular jurisdiction should ask rather than infer it from the card.
How Upwork Insights uses it
The index places every agency in the country on its directory card and nothing else, so the countries page shows 149 countries with their agency counts, combined and median earnings and median rate; agencies with no listed country are in the index but not on the map. Each country page ranks its agencies by lifetime earnings, and an agency's own page carries its rank in country. India, for example, lists 8,174 agencies.