The Diverging Route — AI in model railroading

Track diagram. A straight main line runs along the bottom. Above it a passing siding leaves the main line and rejoins it, with AI buzzwords along the way: LLMs, Prompts, Agents, Skills, MCP (Model Context Protocol), Vibe coding, Automation. Either way, you end up at the same place. LLMs Prompts Agents Skills MCP Vibe coding Automation Track diagram. A straight main line runs down the left. Beside it a passing siding leaves the main line and rejoins it, with AI buzzwords along the way: LLMs, Prompts, Agents, Skills, MCP (Model Context Protocol), Vibe coding, Automation. Either way, you end up at the same place. LLMs Prompts Agents Skills MCP Vibe coding Automation

Model railroading is many hobbies in one. A single layout asks you to be a historian and a carpenter, an electrician and a signal engineer, a programmer and a photographer, and in the end a railroader running trains with friends. On a real railroad, the diverging route is the other way through a switch, where a train leaves the straight main line and heads somewhere new. The Diverging Route takes that turn: it brings AI into each of those crafts, often in ways the hobby hasn’t tried before.

The main line is still there. Wiring every turnout by hand and learning every trick of the craft is as rewarding as it ever was. What Artificial Intelligence adds is help with the skills we haven’t had time to learn: reading a wiring diagram, writing a script, drawing a part for the 3D printer, digging a fact out of an old record. Jobs that could stop a project for months can take an afternoon. That leaves more time for building, running trains and sharing the layout with friends. The Diverging Route is different, but the destination is the same.

Topics

Each topic follows AI through one part of building and running the railroad, and each job says what was asked, what came out, and a verdict on how well it went. Start with whichever matches the job in front of you. For the story in the order it happened, read Bringing the Railroad Together, written in October 2026. The topics are the reference, and they keep growing as I find new routes to try. Four of the projects are also a clinic for the Sunrise Trails Division: The Diverging Route clinic has the slides and speaker notes.

Want to learn more about AI, or try it on your own railroad? Carry on to Getting started below for the habits that made the biggest difference.

Topic 1

Prototype research

Getting the real island right, and keeping a source for every fact and picture.

Place & era · Histories · Archive · Stories & paperwork

Topic 2

Construction

From drawings to benchwork: everything that had to be planned, cut or printed before track went down.

Helix plan · Helix fixtures · Framing plans · Station maps

Topic 3

Electronics

How what happens at the track reaches the computer, and keeping a record of every wire.

First client · LCOS (Layout Control Operating System) bridge · Wiring inventory

Topic 4

Control & signals

How the computer knows where every train is, and how the dispatcher lines routes and clears signals.

Panels · Dispatcher desks · Signals · Tables file

Topic 5

Operations

Giving every car a reason to move, and keeping the paperwork and the software in agreement.

Car cards · Traffic simulator · Ops Pro plugin · Ops Pro setup · STS–JMRI (Java Model Railroad Interface) sync · Stock intake

Topic 6

Locomotives

Getting each locomotive ready for a session, on its own or running as a pair.

Throttle roster · Roster photos · Speed matching

Topic 7

The workshop

How the work itself is organised so it stays correct and easy to find, and what other modelers can reuse.

One repository · One source · Agents & skills · Website · Shared tools

Topic 8

Master Model Railroader

The destination: the Achievement Program of the National Model Railroad Association (NMRA), and how AI keeps the score and readies the paperwork.

Keeping score · Operations log · Electrical SOQ · Applications

Getting started

New to AI? You don’t need to understand how it works to use it well. These habits made the biggest difference, roughly in the order to try them, and the topics above show them at work: Prototype research keeps a source with every picture, and The workshop keeps decisions written down in one place.

  1. Start with something you already knowAsk about a locomotive, a prototype railroad or a technique you know well. You will quickly see where it is sharp and where it bluffs, and that tells you how far to trust it on things you don’t know.
  2. Give it the whole pictureSay what you are modelling, the era, the scale and what you already have, then say what you want back: a list, a table, a plan, a paragraph. Good context beats clever wording.
  3. Make it show its sourcesAsk where a fact came from, then look. It can sound completely sure and still be wrong about a date, a road number or a part number. Check anything that matters against the real thing: a photograph, a manual, a tape measure, a test run.
  4. Work in small stepsAsk for one thing, look at it, then ask for the next. Let it suggest and you decide. Small steps are easy to check and easy to undo.
  5. Hand it the tedious partsLists, paperwork, renaming files, tidying data, first drafts and small scripts are where it saves the most time. Keep the fun parts, like building and running trains, for yourself.
  6. Write down what you decideIt does not remember earlier chats. Keep a short note of your choices and the reasons, and paste it in when you start again.
  7. Keep a master copySave your own files before it changes anything, and keep working versions apart from finished ones. If something goes wrong, you can go back.
  8. Keep the creditIf it helps you find history, photographs or quotes, keep the source with them. A picture or a fact with no source is hard to trust later.

Good first things to try

Going further

Once chat feels comfortable, tools such as Claude Code, Cursor and Codex can work directly on a folder of your own files: your layout’s JMRI profile, your scripts, your documents. They read what is there, make changes you can review, and run checks. They work from a short instructions file at the top of the folder, usually called AGENTS.md or CLAUDE.md, that says what the project is, how it is organised, what must never be touched and how to check the work. Write it once and every session starts with the same understanding instead of from scratch. Keep a backup or put the folder under version control such as Git, so every change can be undone, and have the agent propose changes for you to approve. For how to write that file, see the AGENTS.md guide, which Codex and Cursor read, and Anthropic’s best practices for Claude Code.