Open-source · AGPL-3.0
KERN is an open-source language for opinions about code. The same .kern rules run in your CLI, editor, CI, and agents.
One rule, many places
A .kern rule compiles into checks that run wherever your team works.
rules/no-unguarded-effect.kern
rule no-unguarded-effect
match db.write or net.send
require auth.guard within 3 hops
severity errorkern review src/ — local audit, exit codes for CI
Same rule, posted as a PR comment with file:line evidence
Inline diagnostic + autofix, free extension
Agents call review tools to catch their own mistakes
Compiles to
Install
npm install -g @kernlang/clikern review src/Or skip install:
Try in PlaygroundOpen source · AGPL-3.0 · Built by a small team.