Your app stays in charge.
Insight runs beside your app. Your app still decides who's signed in, what they may see and how each figure is worked out.
- 1Asked in the widgetpage: loans · as Emma WalshBrowser
- 2Your ask route signs a token for EmmaEdDSA · tenant fairview · RiversideYour app
- 3A plan, checked before it runscount loans where in_arrearsInsight
- 4Your read route returns the rowsas Emma may see them · read-onlyYour app
- 5Figures checked against the rowsfigures_match_rows: trueInsight
- 6The model words the answerit adds no figures of its ownModel
The three promises
Kept by code, not by asking the model nicely.
Never a figure that differs from what your app shows the same person.
Figures come only from the rows your app returns for that person.
Never a meaning presented as confirmed when no one confirmed it.
Where two screens count a word differently, it follows the screen it's asked from.
Says so when unsure, rather than answer from something stale.
Every answer names its period and anything it couldn't read.
The code decides, the model words it
Every claim is worked out in code.
Questions become checked plans on your datasets. Your rules stay in your code and are never written twice.
Why not let a model write SQL on your database? See how Insight compares.
- The figure: 37, from your rows
- Who may see it: Emma, Riverside only
- What "arrears" means: confirmed
- The next step and its button
- Who can approve it
- That the figures match the rows
- The sentence
The install
It says what changes first.
And never reworks your app's code without asking.
- 1
Lists every change
Asks before writing anything.
--dry-runwrites nothing. - 2
Its own branch
Everything goes on a new
insight/setupbranch. - 3
One pull request
Your coding agent lists every file it touched, and why.
- 4
Checked first
insight-doctorchecks every link.insight-checkruns your test cases. - 5
One command out
removereverts the pull request, however it was merged.
| What | Why | |
|---|---|---|
| new | insight-config/, insight.env, keys/ | Insight's folder, settings and secrets, kept out of git |
| new | docker-compose.insight.yml | Insight's own containers; yours isn't touched |
| new | .claude/skills/insight-* | Setup steps for your coding agent (optional) |
| edit | package.json, lock file, .gitignore | Adds @kaleyla/insight at an exact version; keeps secrets out of git |
| edit | .dockerignore | So your images never copy Insight's secrets |
Nothing else changes.
The pull request adds routes, the widget tag, insight.yaml and test cases. Your app's behaviour, database and other routes stay as they are.
Running it
Yours to run, signed by us.
Signed releases
Checked on download, and the npm package against the signed one.
Beside your app
On Docker or Podman. Its database holds questions and answers, never a copy of yours.
Your choice of model
Kaleyla's, or any OpenAI-compatible model of your own.

Try it on your own app.
One command, one pull request to review. Try it free for 14 days, then $59 a month.