Skip to content

Introduction ​

Wiremap keeps a model of your system's architecture in your repository: the services and scheduled jobs, the stores and channels they use, and the outside systems they call. It has three parts:

  • A small model language that reads easily in a diff: wiremap/model.txt holds the nodes, the edges between them and your rules, and wiremap/evidence.txt points each node and edge to the line of code that makes it.
  • A skill for agents: your agent writes the model from the code, updates it with each change, and reports what a pull request changes.
  • A CLI, wiremap: check checks the model against the code and your rules, fmt formats it, report lists the changes between two versions of the model, and view draws the map.

Here is the model of a small online bookshop. Hover or tap a node, and try the Change tab:

For maps of real open-source systems, see the examples.

Next: install Wiremap.