Kaleyla Kaleyla
Security

Built for your security review.

Insight answers as the person asking, with only what they may see. Every answer keeps a record of how.

Tracetr_8f2cchecking…
  • Who's askingEmma Walsh · token signed by your app✓
  • Tenantfairview · Riverside only✓
  • What rana checked plan · not SQL the model wrote✓
  • Readread_only: true✓
  • Figuresfigures_match_rows: true✓
  • Sent to modelthe question and the rows it needed✓

Access

Your app decides. Always.

01

As the person, every time.

Who's asking comes from your app's signed token, never the browser.

HowA token per question, signed with your app's own key.
02

No master key.

Insight never holds your users' passwords or sessions. Its own database login is read-only and held to one tenant.

HowRows come from your read route as that person, or a read-only login held to their tenant.
03

Database reads, if you use them.

Read-only, held to one tenant by Postgres row security, named columns only.

HowA separate login that can only read what's named.

Data

What goes where.

Your data stays in your app. Here is everything that moves, and where it stops.

Your app's dataStays in your app. Read per question, as the person.
Insight's databaseQuestions, answers and traces, each tagged with its tenant. Runs in your containers.
The modelThe question and the rows needed to answer it. Kaleyla's model service passes them on and keeps nothing. Its models: gemini-3.1-flash-lite or gpt-6-luna, both in the US. Or use your own model.
DocumentsOnly when you turn them on. Files from your app are never kept; their passages for at most 30 days.
Document search by meaningOnly when an Owner turns it on. Each passage goes to Kaleyla's model service once to be indexed (bge-m3); each document question goes there with its top passages to be ranked (bge-reranker-v2-m3). Nothing is kept there. Or use your own embeddings model.

Nothing the model wrote.

What runs
  • Checked plans, not SQL

    Questions become plans on your datasets, checked before anything runs.

  • Limits per tenant

    One customer can't crowd out the others.

  • Safe in the browser

    Answers shown as text, never HTML. No third-party calls. Works under a strict CSP.

Signed and yours to run.

Supply chain
  • Signed releases

    Checked on download, and the npm package against the signed one.

  • Licence checked in your app

    Renewing it sends Kaleyla only your key and Insight's version. Nothing from your app.

  • Secrets stay out

    Kept out of git and out of your images.

Change control

Every change reviewed.

01

Asks first

The installer lists every change before writing any.

02

One pull request

On its own branch. It never reworks your code without asking.

03

One command out

create-insight remove reverts it all.

Scanned with OWASP ZAP: no confirmed High or Medium issues.

Bring us your questionnaire.

We'll answer it for your security team.