Vision
TRIZ (the Theory of Inventive Problem Solving) lives today mostly in flipcharts, spreadsheet transcriptions of the classical contradiction matrix, and scanned PDF tables — informal artifacts an LLM can hallucinate against without anyone noticing. kTRIZ turns TRIZ's core vocabulary into ordinary, compiler-checked Kotlin types: engineering parameters, inventive principles, contradictions and the contradiction matrix become types and pure functions instead of prose. An LLM that invents a parameter simply fails to compile — the compiler becomes the oracle that catches the error before a human ever sees it.
Scope
V1 started deliberately narrow: the contradiction spine (39 parameters, Contradiction, matrix lookup) plus a minimal typed function model as a kUML-rendered stretch goal — not the entire TRIZ universe. Substance-field (Su-Field) modeling has since grown from that stretch goal into its own milestone (M2, seeroadmap) — a guided ARIZ workflow and evolution trends remain explicitly out of scope for now (physical contradictions have since shipped): a small, shippable core beats a broad promise. The same discipline that kSTEP applies to STEP/ISO 10303.
Why kTRIZ?
LLM+TRIZ is already a well-populated research field — AutoTRIZ, TRIZ-GPT, TRIZ-RAGNER and work on patent contradiction extraction all extract TRIZ artifacts via prompting, RAG or named-entity recognition. None of them validate the result against a type system. The one formal, structured strand that exists — IDM/OTSM-TRIZ with an OWL ontology — is external, pre-LLM, and asks practitioners to learn a new formalism. kTRIZ is the deliberate third way: an embedded typed DSL in a mainstream, training-data-rich host language (Kotlin), with the compiler itself as the oracle.
Values
- Correctness first: the compiler decides what compiles, not a spreadsheet transcription after the fact.
- TRIZ-native: Altshuller's own classical vocabulary, not a reinvented ontology.
- AI-first: LLM agents are first-class users from day one.
- License-conscious: public-domain parameters and principles ship freely; the matrix's own license risk is handled explicitly, not assumed away.
- Open by default: Apache 2.0, a public roadmap, development in the open.
Relationship to kUML and kSTEP
kTRIZ is the third sibling in a family of Typed Domain Grounding DSLs, alongside kUML(IT and software modeling — UML 2, SysML 2, C4 — already shipping) and kSTEP(mechanical engineering, ISO 10303/STEP, in early implementation). Same author, same architecture, shared conventions from file format to release discipline — three different domains proving the same thesis: give an LLM a statically typed DSL plus compiler feedback, and it becomes a reliable modeling partner instead of an eloquent guesser.
History
kTRIZ started as one of several typed-domain ideas alongside kUML and kSTEP. A first review in mid-2026 deliberately deferred its start as a standalone product, given the opportunity cost of kUML, kSTEP and several other active projects running in parallel. A scoping pass in August 2026 resolved the open questions anyway — DSL scope, matrix licensing, the literature gap, target users, naming — without committing to a start date. Implementation began shortly after, before any funding decision, once scoping made clear there was no reason left to wait.
Get involved
kTRIZ is built in the open — the repository atgithub.com/ktriz-lang/kTRIZhas a complete, tested core toolchain (contradiction spine, function models with SVG rendering, an MCP server, a scripting host) plus a complete substance-field (Su-Field) DSL with all 76 standard solutions, its own SVG rendering and MCP tools, tagged asv0.3.1, now also with physical contradictions and twelve MCP tools. No published artifact yet, and the API is unstable. Star or watch to follow along; issues and discussions are open — for TRIZ practitioners, LLM tooling developers, and anyone interested in Typed Domain Grounding outside software.