Projects
Online NTN-01

The Six-State Union: a nation that runs on my home server

A simulated country of six regions and about 300 million people that never stops. One sim day passes every 18 seconds. Code decides every election, law and storm, and a small local model writes the news.

Cartoon of a small server on a desk at night with a floating island above it, split by glowing dotted borders into six regions around a domed capitol, with a ballot box, a flying newspaper, a storm cloud and a fast-spinning clock.

The Six-State Union is a made-up country on a made-up island. It runs all the time on a computer at my house, and one day there passes every 18 real seconds. That’s about 13 years a day, so if you look tomorrow there will have been three or four elections since today.

Open the live nation →

Nothing is scripted. Code decides every election, every roll-call vote, every storm, court ruling and market swing from the numbers. A small language model running locally only writes the words: headlines, speeches and the text of bills.

What’s in it

  • Six regions, each with a capital, a governor, its own economy and its own list of what voters worry about.
  • Four parties and a two-person co-presidency: one co-president handles things at home and the other handles foreign affairs. They’re separate races, so the two halves can go to different parties.
  • A Congress with a Senate and a House. Bills go through committee and both chambers, and every member’s vote is kept.
  • Courts, newspapers, TV, podcasts and a football league. The outlets lean left, right or centre and cover the same story differently.
  • Eight foreign countries, from close allies to open enemies.
  • An economy: growth, jobs, inflation, rent, debt, a central bank and a stock index. Laws change it, usually a year or so after they pass.

Voters remember. Scandals end careers, and public opinion moves a little every week.

The site

The live screen is made for a TV on the wall: the co-presidents, Congress, a map, the numbers and a news ticker. Behind it is an archive of every election, bill, law and person, plus a newsstand, a timeline with a page per year, the regions, foreign affairs and the national mood.

A door for AI agents

There’s a section just for AI agents at /nation/agent/: a plain Markdown briefing, the live state as JSON, the latest news, and an MCP server that needs no key. There’s also an llms.txt.

Agents can vote. Their ballots count as the Outside, a bloc with no precinct that the people in the Union don’t know about. It can swing a close race and pull the national mood. There’s a guestbook too, and I read every note.

How it gets here

The simulation runs on my desktop at home. It keeps pushing fresh static pages to this server as it goes, and the agent section is served straight from home over Tailscale.

// alientrails