Club.noww.in
Introduction
I have worked on sensor design, e-commerce, airlines, medicine and CAD software, in several countries. The domains could not be more different, yet one problem kept coming back: people do not understand each other. Not because they are careless. Everybody simply looks at the same system from a different side. Legal sees data, the CEO sees cost, DevOps sees uptime.
Take one sentence from a kick-off meeting:
“We are building an agent to fix invoices.”
What does fix mean? Who uses it? Does it see customer data? Where does it run, and who owns it? Nobody asks, because everybody thinks they know. A year later the project has five different answers to each of those questions.
Large language models make this more urgent, not less. Anybody can now describe a system in a paragraph, and a model will happily draw it. The open question is whether that drawing is the architecture, or just an architecture.
Gnomon is my attempt at an answer. It is a small language, gnomocode, and a compiler that checks every statement against an ontology. A language model translates what people say into gnomocode; the compiler decides what is allowed; and the result can be drawn, queried and read back as prose. The compiler is written in Python, on top of Lark, rdflib and pySHACL.
I presented it as a keynote at DevAI by Data Science Summit in Warsaw on 20 October 2026, under the title of this article. This is the written version of that talk: why I built Gnomon, how it works, and what the measurements say about it.
Status
Work in progress, October 2026. A public repository is being prepared. Until it exists, this article is the best description of what is built and why it looks the way it does.
Motivation
Draw the invoice agent and you are done in five seconds: invoices go in, an agent does something, fixed invoices come out. The box is easy. The questions around it are the architecture: who owns the data, where the model runs, whether personal data is involved, who reviews the edge cases. That gap between words and a diagram somebody can be held to is what I wanted to close.
It has to work in both directions. Forward, from a conversation to a model that a developer, or an agent, can build from. Backward, from existing code and diagrams to text that people can read. The forward direction is the harder one, and it is what this article is mostly about.
Before writing any code, I wrote down what a language sitting in the middle has to offer:
- unambiguous terms;
- native words for what we build today: language models, memory, tools, MCP [15], A2A [16];
- easy to read and write, by people as well as by models;
- one model, many views, one per reader;
- versions, diffs and references;
- a way to say “I am not sure”.
The last one turned out to matter more than I expected.
Approach
I did not start with a language. I started with the cheapest option and let it fail.
Just ask the model. “Draw an architecture for an agent that fixes invoices.” The answer is fluent, plausible and different every time. It invents words, gives no errors and no line numbers, and there is nothing to diff. When it is wrong, nothing tells you where.
Objects. Pydantic [12] classes, filled in by the model through structured output. Validation is real and every provider supports it. But an architecture is a graph, not a tree. A missing fact is either an error or a null, and a conversation with a client is mostly missing facts. Two statements cannot be merged, nor can they contradict each other, and every new term means a new class and a new release. The vocabulary ends up cemented in code.
Existing notations. UML, BPMN, C4 [10], ArchiMate and SysML v2 [11] are standards, and people understand them. They come with fixed symbols and a fixed depth, none of them has a “maybe”, and only some of them check whether a diagram makes sense, as opposed to whether it is drawn correctly.
A language of my own, with a compiler. This is the one that stayed. The idea is old and boring, which is how I like my ideas: let the model talk, let the compiler decide.

The translator, text2gnc, turns natural language into gnomocode. The compiler, which is plain rules with no model inside, checks each statement and builds a graph. When it finds errors, it sends them back to the translator with line numbers and hints. Everything else, diagrams for different audiences, recommendations, even prose, is drawn from the graph.
Two consequences matter to me. The script is the source of truth, not a single call to a model: the same script always compiles to the same graph. And errors are located and readable, so a person and a model can both act on them.
The ontology is the key
Before designing a single keyword, I went looking for who had already described this world. Plenty of people had. A taxonomy says what is a kind of what: a language model is a machine learning model. An ontology goes further and adds relations and rules: an agent uses a model, a model runs on an environment, and a dataset cannot run on anything at all. Such vocabularies have been written in RDF [1] for years, and some are widely used: SKOS [3] for taxonomies, PROV-O [2] for provenance, DCAT [4] for data catalogues, DPV [7] for privacy, QUDT [8] for units and schema.org [9] for the web. OWL [6] defines the classes and SHACL [5] checks the graphs.
So the rule became: take terms, relations, types and hierarchy from what exists, and add the minimum. The result is a kernel of 57 terms and twelve modules (systems, deployment, integration, data, ML, agents, processes, operations, security, legal, cost and service levels) that a script imports only when it needs them. From day one there was also a licence rule: nothing copyleft goes in, so that the whole thing can later be distributed freely and commercially.

Why call the ontology the key? Because every other part of Gnomon is generated from it or checked against it. Take a single word that a script writes, runs_on. In the ontology it has three layers: a lexicon entry that gives the word and its inverse reading, a property with a definition, and a shape that says what may stand on either side of it.
ontology (abridged)
gnlex:runs-on a skos:Concept ; skos:prefLabel "runs on"@en ; gn:inverseReading "hosts"@en ; gn:denotes gn:runsOn . gn:runsOn a owl:ObjectProperty ; rdfs:label "runs on"@en ; skos:definition "The subject executes in or on the object."@en ; gn:acyclic true . gnsh:runsOn-subject a sh:NodeShape ; sh:targetSubjectsOf gn:runsOn ; sh:or ( [ sh:class gn:System ] [ sh:class gn:Model ] [ sh:class gn:Activity ] ) ; sh:message "only a system, a model or an activity can run on something" ; gn:diagnosticCode "type/signature" .That one definition feeds the whole tool chain. The lexicon decides which words a script may use, and therefore which words a model may generate. The shape becomes the compiler’s error message, word for word. The labels become the English sentences in which a script is read back. The concerns attached to each term decide which audience sees it on a diagram. And because Gnomon’s classes are declared as subclasses of the borrowed ones (a gn:Dataset is also a dcat:Dataset and a prov:Entity), the compiled graph is readable by tools that have never heard of Gnomon.
Info
The grammar of gnomocode is generated from the kernel alone. Words come from the lexicon, so adding a module adds vocabulary without changing the grammar. Extending the language is a matter of editing data, not releasing code.
The language
Why not let the model write RDF directly and validate it with SHACL? RDF is precise, but it is not something I want to read in a review. Here is the invoice agent as gnomocode, 23 lines:
fix-invoices.gnc
--- gnomon: 0.2.2 as_of: 2026-10 state: TARGET import: systems, deployment, ml, agent, process --- finance_team: Team erp: Application owned_by = finance_team runs_on = CloudEnvironment() ~0.5 # "in the cloud, I think" invoices: Dataset stored_in = erp contains_personal_data = true invoice_agent: AIAgent uses = LanguageModel() classifies(invoices, frequency = 200/DAY) fixing: Process = check >> ("amount > 10k" => review | post) review.performer = finance_team invoices -> check -> checked_invoices checked_invoices: DatasetIt compiles to 76 lines of RDF. Three forms carry almost everything: name: Type declares an element, property = value states a fact about it, and action(object) says what it does. Flows connect steps (>>) and data (->). The notation borrows from places people already know: front matter from Markdown, indented blocks and assignments from Python, arrows from graph query languages. Even the case of a word tells you its kind: Type, property, CONSTANT.
The front matter pins the release of the ontology the script was written against, says whether it describes the current state or a target, and imports only the modules the text needs. An old script therefore compiles against the same release, or gets migrated to a new one on purpose.
Look at the ~0.5 on the runs_on line. It means “I think so, but I am only half sure”, and it is part of the language. Confidence has a few reference points: 1 is confirmed in a system or a document, 0.8 is stated by someone who does the work, 0.5 is second-hand, 0.2 is a guess. Below 0.7 a fact is not an error, but it is reported as a finding. In the graph it becomes an annotated statement, so you can query for everything that still needs confirming:
fix-invoices.trig (excerpt)
rdf:subject :erp ; rdf:predicate gn:runsOn ; rdf:object minted:cloud-environment-0 ; gn:confidence 0.5 .The syntax at a glance
The invoice script uses only part of the language. Here is most of the rest in one script that compiles, with a comment on what each line does:
support.gnc
--- gnomon: 0.2.2 as_of: 2026-10 state: CURRENT import: systems, deployment, ml, agent, process --- sales_team: Team # declares an element support_team: Team cloud_account: CloudEnvironment tickets: Dataset product_catalogue: Dataset crm: Application runs_on = cloud_account ~0.8 # a fact and its confidence owned_by = sales_team # inverse reading of owns search_tool: Tool # a part of crm support_agent: AIAgent uses = search_tool, LanguageModel() # two values, one unnamed reads(product_catalogue) # an action: a new activity summarises(tickets, frequency = 50/DAY) # with its own properties LanguageModel[0] is gpt_4o # two names, one element gpt_4o: LanguageModel name = "GPT-4o" triage: Process = sort >> ("urgent" => call_back | answer) sort: Classification performer = support_agent duration = 3 MIN # a quantity with a unit call_back.performer = support_team tickets -> sort -> sorted_tickets # data flows through a step sorted_tickets: DatasetA few things are worth noticing. A declaration inside a block makes the element a part of its parent, so nesting is how you say “consists of”. An action such as reads(product_catalogue) does not need a name: the compiler creates an unnamed activity of the right kind, with the agent as its performer and the catalogue as its input, and numbers it so that later lines can refer to it. And | in a flow means exactly one branch is taken, while & means all of them are.
A compiler in Python, built on Lark
The compiler is plain Python 3.14, managed with uv. Parsing is done by Lark [20], a parsing toolkit for Python under the MIT licence. The grammar is not written by hand: gnomon grammar generates it from the kernel of the ontology, with one slot per class of words. A new module adds words, never grammar rules. An excerpt:
gnomocode.lark (excerpt)
declaration: NAME ":" type_ref confidence? assigned_flow? _NEWLINE block? block: _INDENT member+ _DEDENT own_property: NAME "=" values _NEWLINE own_action: NAME "(" [arguments] ")" confidence? _NEWLINE step_flow: step_term (">>" step_term)+ data_flow: reference ("->" reference)+ group: "(" branch ("|" branch)* ")" -> one_of | "(" branch ("&" branch)+ ")" -> all_of confidence: "~" NUMBER TYPE: /[A-Z][A-Z0-9]*[a-z][A-Za-z0-9]*/ CONST: /[A-Z][A-Z0-9_]*(?![A-Za-z0-9_])/ NAME: /[^\W\dA-Z]\w*/Indentation works exactly as in Python, because Lark ships a post-lexer for it. Subclass Indenter, name the tokens, and the LALR parser receives _INDENT and _DEDENT like any other token:
syntax.py (abridged)
from lark import Lark from lark.indenter import Indenter class GnomocodeIndenter(Indenter): NL_type = "_NEWLINE" OPEN_PAREN_types = ["LPAR", "LSQB"] CLOSE_PAREN_types = ["RPAR", "RSQB"] INDENT_type = "_INDENT" DEDENT_type = "_DEDENT" tab_len = 4 parser = Lark( grammar, parser="lalr", postlex=GnomocodeIndenter(), propagate_positions=True, )LALR keeps parsing fast and deterministic, which matters when the studio rechecks the script after every pause in typing. propagate_positions keeps the line and column of every node, so each diagnostic can point at the exact span of the source. A Lark Transformer turns the parse tree into statements; rdflib [21] builds the graph from them; the rules of the release derive further facts; and pySHACL [22] validates the result against the shapes of the ontology. Every violation is mapped back to the line it came from.
What the compiler says
Mistype a word and the compiler answers like a linter, with the line, a caret and a suggestion taken from the lexicon:
typos.gnc
--- gnomon: 0.2.2 as_of: 2026-10 state: TARGET import: systems, ml, agent --- finance_team: Team erp: Application invoices: Dataset stored_at = erp reviewer: HumanRolgnomon check typos.gnc
typos.gnc:11:5: error type/vocabulary: unknown property `stored_at` | 11 | stored_at = erp | ^^^^^^^^^ = hint: did you mean `stored_in` or `stores`? typos.gnc:12:11: error type/vocabulary: unknown type `HumanRol` | 12 | reviewer: HumanRol | ^^^^^^^^ = hint: did you mean `HumanRole` or `HumanReview`? typos.gnc: blocked (2 errors, 0 warnings, 0 infos)Syntax errors look the same. Indent a block by three spaces instead of four and you get:
gnomon check
syntax.gnc:9:1: error syntax/indentation: an indentation of 3 spaces | 9 | owned_by = finance_team | ^^^ = hint: indent with four spaces per levelA script that compiles still gets its findings. For support.gnc above the verdict is compiles (0 errors, 12 warnings, 18 infos), starting with lines such as:
gnomon check support.gnc
support.gnc:11:1: warning finding/missing-owner: no owner: `tickets` support.gnc:11:1: warning finding/missing-personal-data-marker: personal data not marked: `tickets` support.gnc:19:1: warning finding/missing-owner: no owner: `support_agent` support.gnc:28:52: warning finding/missing-performer: no performer: `answer` support.gnc:19:1: info finding/missing-runs-on: where it runs is not stated: `support_agent` support.gnc: compiles (0 errors, 12 warnings, 18 infos)With --format json the same diagnostics come as records. This is what the translator receives in the repair loop:
gnomon check --format json typos.gnc (first record)
{ "file": "typos.gnc", "line": 11, "column": 5, "end_line": 11, "end_column": 14, "severity": "error", "code": "type/vocabulary", "message": "unknown property `stored_at`", "hint": "did you mean `stored_in` or `stores`?", "rules": [] }From a sentence to a line to a picture
Each line of the script answers something somebody said. Suppose the kick-off meeting went on a few minutes longer. This is how its sentences map onto the script, and how the compiler reads each line back, in its own controlled English (gnomon explain, no model involved):
| ”We are building…” | state: TARGET | This description is of the target state, as of 2026-10. |
| ”…an agent…” | invoice_agent: AIAgent | Invoice agent is an AI agent. |
| ”…that uses an LLM…” | uses = LanguageModel() | Invoice agent uses the unnamed language model 0. |
| ”About 200 invoices a day.” | classifies(invoices, frequency = 200/DAY) | Invoice agent classifies invoices (classification 0). The frequency of the unnamed classification 0 is 200 per day. |
| ”Invoices hold customer data.” | contains_personal_data = true | Invoices contains personal data. |
| ”The ERP is in the cloud, I think.” | runs_on = CloudEnvironment() ~0.5 | Possibly (confidence 0.5): erp runs on the unnamed cloud environment 0. |
| ”Anything over 10k goes to review.” | check >> ("amount > 10k" => review | post) | After check comes exactly one of these: review when “amount > 10k”; post. |
| ”Finance does the review.” | review.performer = finance_team | The performer of review is finance team. |
The read-back matters more than it looks. A person who will never learn gnomocode can still check, sentence by sentence, whether the script says what they meant. And a language model that turns the script into prose works from these sentences, so it has nothing to guess.
The same lines are also a picture. The process line becomes the process view, with the branch, its condition and the performer of the review:

Vague is valid, contradictions are not
This is the principle I am most attached to. A real conversation is full of gaps and guesses. A language that rejects every incomplete statement will never be used; a language that accepts everything is useless. So the compiler draws a different line: it accepts vagueness and rejects contradictions.
invoice_agent: AIAgent is valid. It is vague, but it is true. The statements below are not, and the compiler says why, with the line and the reason taken straight from the ontology:
invalid.gnc
--- gnomon: 0.2.2 as_of: 2026-10 state: CURRENT import: systems, deployment, process --- finance_team: Team erp: Application invoices: Dataset runs_on = erp check: Activity automation_level = MANUAL automation_level = AUTOMATED erp: Dataset module_a: System part_of = module_b module_b: System part_of = module_agnomon check invalid.gnc
invalid.gnc:9:1: error inconsistency/disjoint-kinds: disjoint kinds: `erp` invalid.gnc:11:15: error type/signature: only a system, a model or an activity can run on something: `invoices` invalid.gnc:14:24: error inconsistency/single-value: two values of a single-valued term: `check` invalid.gnc:17:15: error inconsistency/cycle: partOf cycle: `module_a` invalid.gnc:19:15: error inconsistency/cycle: partOf cycle: `module_b` invalid.gnc: blocked (5 errors, 8 warnings, 5 infos)The compiler talks back
Diagnostics have three levels. Errors block; warnings and infos pass. The useful side effect is that the missing information turns into questions. The invoice script compiles, with 11 warnings and 15 infos, and those read like the agenda for the next meeting:
| no owner: invoices | Who owns the invoices? |
| no tool: invoice_agent | What can the agent actually do? |
| where it runs is not stated: invoice_agent | Where is it hosted? |
| personal data not marked: checked_invoices | Does the output fall under GDPR too? |
| a fact below the confidence threshold: erp runs on | Is the ERP really in the cloud? |
These are the questions nobody asked at the kick-off. The same messages, with their line numbers and hints, are what the translator receives in the repair loop. In practice that is what makes a language model usable here: it gets an error it can act on, not a shrug.
One model, many pictures
A diagram is a projection of the graph, not the model itself. Gnomon draws three views of a script (architecture, process and data lineage), filters them for an audience (executives, architects, legal and compliance, security, operations) and folds them to a level of detail. A lawyer sees the personal data and where it is kept; an architect sees every part.
The drawing itself is replaceable too. The same compiled graph goes to Gnomon’s own isometric canvas, to Mermaid, or to LikeC4, and nothing in the script changes:

Each renderer makes its own choices. The canvas sets the ERP on the slab of the cloud it runs on and marks personal data with a red lock. Mermaid labels every edge. LikeC4 stacks the same edges top-down. The facts underneath are identical, which is the point: you can argue about the picture without arguing about the system.
From the same graph, the rules of the ontology also recommend where an agent could take over work, ranked by effort, with the facts still missing to decide.
Evaluation
I did not want to show only a demo, so I built a way to measure the translation.

There are three measures. Coverage says how much of the original the prose still says. Faithfulness says how much of the prose the original supports. Graph F1 counts the facts two graphs share, and it is computed by code, with no model involved. The first two use a language model as a judge [13]: it extracts claims from a text, each with a quote of the original that code then verifies, and gives a verdict per claim.
The test set is 54 texts about architectures, agent systems, data pipelines, processes and audits, all from public sources that allow reuse: 40 from the Azure Architecture Center [18], 5 from the GDS Way [17] and 9 algorithmic transparency records of the UK government [19]. Each has a golden script written for it.
Does it compile?
With Claude Sonnet 5.5 as the translator, all 54 texts ended up as scripts that compile. 29 compiled at once, 23 needed one repair round, and 2 needed two or three.

Where do the facts go?
Of 100 claims in an original text, 58 survive the round trip. The interesting part is where the other 42 go. Splitting the loss into layers shows that about 40 are lost because the language, and my golden scripts, cannot say them yet. The translator loses only 7.

I find this the most useful result of the whole project. The bottleneck is the language, not the translator. That is a very different to-do list from “use a bigger model”, and it tells me which words to add next.
How far to trust the judge, and the graph?
Not blindly. The judge finds every claim of a text in the text itself, and 99.7 of 100 in a text with a fifth of its sentences removed. But when asked to notice the removed claims, it caught only 57 of 100. Two different judges (gpt-oss-120b and Claude Haiku 4.5) gave the same verdict on 73% of 6,054 claims, a Cohen’s kappa of 0.55, which counts as moderate [14].
The graph measure needs no judge. Against its own golden graph, a generated graph scores an F1 of 0.56 on average; against the golden graph of a different text, 0.29.

So the graph is clearly about the right text, and only about half of its facts match. Part of that is the translator choosing different relations and levels of detail for the same fact: two translations of one text agree with each other at an F1 of 0.74. This is enough for a demo, not yet proof, and I would rather say so here than have you find out.
What it looks like
All of this sits behind a local web page, Gnomon Studio: the chat on the left, the script in the middle with live diagnostics and its description in plain English, and the diagram on the right. You describe a system, a script appears, compiles or repairs itself, and the picture updates. Every later message extends the script instead of starting again.

Conclusions
- Everyone sees a different system. This is a people problem before it is a technology problem.
- A shared language beats a better drawing. A drawing can be nicer; only a language can be checked, diffed and versioned.
- The ontology carries the weight. Vocabulary, rules, error messages, read-back and views all come from one place. Borrowing it from existing standards made it smaller and more trustworthy than anything I would have invented.
- Let the model talk, let the compiler decide. Models are excellent at turning messy words into structure and poor at being consistent. Put the determinism somewhere else.
- Measure the layers separately. “58%” alone would have told me to improve the model. Splitting the loss showed me where the loss really was.
- Allow “I don’t know” in the language itself. It changes what people are willing to write down.
What is next: separating the public repository (the ontology, the compiler and the studio); conventions that narrow the ways of writing one fact, since the same text still gives different scripts; words for the 40% the language cannot say yet; and the backward direction at scale, from existing code and diagrams to text.
If you work on architecture descriptions, agent systems, or on making language models and rules cooperate, I would be glad to hear from you. Gnomon is also meant as a working tool for audits: mapping the processes and data of a company before anyone builds an agent for them. The project page collects the scenarios I have translated so far.
References
- W3C, RDF 1.1 Concepts and Abstract Syntax, Recommendation, 25 February 2014.
- W3C, PROV-O: The PROV Ontology, Recommendation, 30 April 2013.
- W3C, SKOS Simple Knowledge Organization System Reference, Recommendation, 18 August 2009.
- W3C, Data Catalog Vocabulary (DCAT), Version 3, Recommendation, 22 August 2024.
- W3C, Shapes Constraint Language (SHACL), Recommendation, 20 July 2017.
- W3C, OWL 2 Web Ontology Language Document Overview (Second Edition), Recommendation, 11 December 2012.
- Data Privacy Vocabularies and Controls Community Group, Data Privacy Vocabulary (DPV), W3C Community Group report.
- QUDT, Quantities, Units, Dimensions and Types.
- Schema.org.
- S. Brown, The C4 model.
- Object Management Group, Systems Modeling Language (SysML) 2.0, 2025.
- Pydantic documentation.
- L. Zheng et al., Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena, NeurIPS 2023 Datasets and Benchmarks Track.
- J. R. Landis, G. G. Koch, The Measurement of Observer Agreement for Categorical Data, Biometrics 33(1), 1977, pp. 159–174.
- Model Context Protocol.
- Agent2Agent (A2A) Protocol.
- Government Digital Service, How GDS provides user support, The GDS Way, Open Government Licence v3.0.
- Microsoft, Azure Architecture Center, CC BY 4.0.
- GOV.UK, Algorithmic transparency records, Open Government Licence v3.0.
- Lark, a parsing toolkit for Python, MIT licence; documentation.
- rdflib, a Python library for working with RDF.
- pySHACL, a SHACL validator in Python.











English (US)