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.txtholds the nodes, the edges between them and your rules, andwiremap/evidence.txtpoints 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:checkchecks the model against the code and your rules,fmtformats it,reportlists the changes between two versions of the model, andviewdraws 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.