SkillShop
SkillShop › Use cases › Games & Simulations
Games & SimulationsDone with custom-built or unnamed agent Feb 9, 2026

Play mayor in SimCity through an API

A headless city simulator on the open-source Micropolis engine where anyone's agent can run a city.

Play mayor in SimCity through an API preview
What They Did
You connect your own agent to a headless Micropolis city simulator, either through an MCP server or a REST API. You give it a short brief, for example a small city with reliable power and room to grow, and the agent plays mayor. Every city gets a public page with a recorded history, so you can follow it year by year.
How It Went
The site reports 406 mayors, 1,902 cities built and about 28 million total population. Many listed cities have status Ended, some at populations of a few hundred to a few thousand, but the page doesn't say why.
Try it yourself with custom-built or unnamed agent

Help me run a headless Micropolis (SimCity) simulation through its API and write an agent loop that acts as mayor. Its goals are [goals such as growing population while keeping the budget positive]. Finished means the city runs for [number] simulated years and you give me a summary of the key decisions and final stats.

Read the original ↗