Introduction
schemap gives your coding agent a way to explain systems with maps instead of walls of text.
Ask it to map a codebase, a system, a process or a request. The agent writes a small typed JSON file. schemap validates it, with repair hints the agent acts on, lays it out and delivers:
map.html: one self-contained interactive viewer: a single file to open, share or host anywhere.map.svg: the same map as a static image for any markdown, light by default, dark if the map asks for it.- a snippet that embeds the image and links to the interactive map.
Why a map, not a diagram tool
Section titled “Why a map, not a diagram tool”- The agent never draws. It writes facts: nodes, edges, groups. schemap does the layout, so maps stay readable and the agent spends its effort on getting the facts right.
- Checked before you see it. Every reference, kind rule and field is validated. Problems come back as precise diagnostics with the allowed fixes.
- Explorable. Select a card to see what it connects to, trace everything upstream and downstream, find the route between two nodes, play the flow.
- Stable. The same JSON always gives byte-identical files, so maps diff cleanly in git.
Five kinds
Section titled “Five kinds”| kind | for |
|---|---|
architecture |
services, stores and infrastructure, and their calls |
dataflow |
data moving through pipelines and streams |
workflow |
steps done by different owners, in order |
lifecycle |
the states of one thing and its transitions |
sequence |
messages over time between a few participants |
Integrations
Section titled “Integrations”Maps go where your team works:
- GitHub Actions: every pull request that changes a map gets a comment with a preview, a link to the interactive map and what changed. Broken maps fail the check.
- Agent skill: Claude Code and other agents that support skills.
- Markdown and docs sites: the SVG anywhere markdown renders, the interactive map in an iframe.
- CLI:
validate,deliver,serveanddiffin any script or CI system.
See Integrations for each one.
Next: Quick start.