Chapters
Choose a chapter from the left panel or create a new one.
Krys.ML – System & Process Capture
22 Sept 2026
Syntax, examples, and practice notes
Krys.ML is a lightweight, expressive modelling language for describing systems.
Models are written as text using a minimal syntax and automatically rendered as diagrams using a small set of visual elements — boxes, arrows, diamonds, and tags.
Krys.ML can be used to communicate processes, states, cycles, structures, relationships, failure modes, or combinations of these.
It is designed for capturing ideas quickly and communicating them at a high level, particularly during meetings and early-stage thinking. Rather than imposing a specific diagramming convention, Krys.ML is oriented around what the user needs to communicate.
# Block Diagram
10. THESE: Krys.ML
- Header
- left panel
- centre panel
- right panel
- footer
000. Start: launch Krys.ML
10. DO: select project name ~header
# Default is "New Project"
20. DO: triple click ~field
30. DO: type new name ~field
40. DO: create/edit diagrams ~chapters
50. IF: finished
- YES: save project ~File
- NO: continue working
loop to 40
999. END: close tab/window
# Cycle 10. create 20. Read 30. Update 40. Delete 10. Create
# Interface Diagram 10. start: Server ~Krys.ML 20. Network 30. happy: User's browser 40. happy: User's data 30. happy: User's browser
| Element | Format | What it does |
|---|---|---|
| Number + dot | 10. | Every step starts with a number and a dot. Mandatory. |
| Keyword | DO:, IF:, THESE:, START:, END:, HAPPY:, SAD:, MERGE:, PROCESS: | Optional. Sets the node shape. A step with no keyword renders as a plain blue rectangle. |
| Colon | DO: etc. | Mandatory on all keywords except LOOP TO. |
| Branch dash | - something | Under an IF or THESE. Defaults to Yes. |
| Explicit branch | - YES:, - NO: | Both need the colon. Indented under the parent step. |
| Implicit decision | ...something? | A trailing ? works instead of IF:. |
| Loop | LOOP TO n | Returns to step n. No colon. |
| Case | any case | START:, Start:, start: all valid. |
| Branch numbers | auto (40a, 40b) | Generated by the parser. Don't write them. |
@actor for people, ~system for systems. Use them when the actor is intrinsic to the step; use a separate chapter when it isn't.# at the start of a line disables it. // and <!-- --> also work. Pick one style and stick with it.? can replace IF:. PROCESS: and DO: are interchangeable.Krys.ML — System & Process Capture
Krys.ML is a simple syntax scripting language for creating process, relationship, and interface diagrams, as well as basic flow charts. It's also a single file, offline compatible, open source software tool that will always be freely available to everybody.
Krys.ML exists to put automation into the hands of people who don't code.
That is, while there is value in the items on the right, we value the items on the left more.
Use Ctrl+S (or Cmd+S) to save the page. Open in a private/incognito window if you don't need to save what you are working on.
As the owner of Krys.ML, I hold myself to the standards of the profession I trained in:
This follows the IET Rules of Conduct and the Engineering Council's Statement of Ethical Principles.
— Kris Martin, ICTTech TMIET
Krys.ML – System & Process Capture
"Krys.ML makes no network requests. No data is sent, stored, or processed outside your browser. Everything you create stays on your device until you choose to save or export it. This app does not use cookies, analytics, or tracking."
Krys.ML – System & Process Capture
"Krys.ML is provided 'as is' without warranty of any kind. You are responsible for backing up your own data and for how you use the tool. The author is not liable for any loss of data or for any decisions made based on diagrams produced by this tool."
MIT License
Copyright (c) 2026 Kris Martin
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.