Kaleyla Kaleyla
Widget, API, MCP

Your app’s assistant, in one tag.

Start with the widget: one script tag in your app. Add the API and MCP when you need them.

No build step Works under a strict CSP Takes your theme
fairview.app/loans?branch=riverside

Loans · Riverside branch

412Active
37In arrears
$186kThis month
Insight
How many loans are in arrears here?
37 loans in arrears, Riverside only.

Launcher. A floating button that opens a panel.

The widget

Ready in one tag.

Your app serves it from its own address. No package to import, no build change.

  • Your lookTakes your theme's colours and fonts, dark mode included.
  • Safe in the pageAnswers shown as text, never HTML. No third-party calls.
  • Always currentThe page gets the version of Insight that's running.
<!-- in your signed-in layout -->
<script src="/api/insight/widget.js" defer></script>
<insight-chat name="Insight" layout="launcher">
</insight-chat>

What your users get

More than answers. A colleague who knows the app.

01 · Figures, charts, tables

Exact, and only what they may see.

Each step shows as it runs, so they see how the figure was found.

Arrears by officer?
02 · The screen and Show me

Knows what's open. Points to the button.

Asks about the record in front of them, and lights the button for the next step.

How do I restructure it?
03 · Documents

Quotes the policy, with the line.

Answers from your files, each claim matched to the passage it cites.

Can I restructure it again?
04 · Conversations and flags

Picks up where they left off.

Past conversations stay with them. One click flags a wrong answer to your team.

Was this answer wrong?

Board and watches

Their own board. It tells them when things move.

Any answer can go on the board. Each tile runs again as the person, every time it's shown.

Watch this… · In arrears

Tell me when it

goes above35
goes below…
moves by more than10%
Or send a summary
everyMondayat08:00
In the bell, in your appWatch

Theirs to keep. Never acts for them.

  • Runs as themEach tile asks again as the person, so it never shows what they may not see.
  • Theirs to shapeRename it, change its chart or period, drag it to a third, half or full width.
  • Two kinds of watchA line it crosses, or a summary on a schedule.
  • Says, never actsAlerts come to the bell in your app. Nothing is changed or sent.

API and MCP

Your own screens. Your AI agents.

Same layer, same answers, as the same person.

API

Your own screens

Your app posts the question with the person's token, then shows the answer its own way.

POST /v1/ask
{ "question": "How many loans are in arrears?" }
→
{ "answer": "37 loans are in arrears…",
  "rows": [{ "count": 37 }],
  "checks": { "figures_match_rows": true },
  "trace_id": "tr_…" }
MCP

AI agents

One read-only ask tool. Agents get the same answers your users do. Why not a database MCP server?

# the agent calls
ask("How many loans are in arrears at Riverside?")
→ "37 loans are in arrears at Riverside,
   as things stand now."

Start with the widget.

One command, one pull request, one tag. Try it free for 14 days, then $59 a month.