Drop-in kit for any SaaS · the palette lives inside the app, not this page
Users ask.
Pointery takes them there.
Find, walk, act, pin down rows, answer - with confirmation where it matters. The CRM here is just the demo - Pointery is the product.
01 - What it does
Find
“Where is export?” → pulses the button and navigates to its page. Spot plus go, from stable data-pointery ids.
Walk
“How do I invite?” → step-by-step guide with Next/Back. Combo queries (“…and then…”) become a short plan.
Act
“Mark deal as won” runs only allowlisted actions - blocked by default, destructive ones confirm first.
Pin down rows
“Where is the Acme deal?” → pulses the matching row inside a rows:true table. Runtime search, never per-record ids.
Answer
Anything keywords can't cover falls through to your own model - same guardrails, same spot/go shape.
Curated fast-paths
Optional pins[] answer golden phrases exactly and skip the LLM. Everything else scores generically.
02 - How it works
01
Drop in the UI
<Pointery/> - palette, toast, pulse on data-pointery, Next/Back guides, confirm step for actions. Mount once via a client wrapper, gated off marketing pages.
02
Map your app
pointery.context.json - entries, flows, actions, pins. Stable anchors only, no live values. Your agent builds it with POINTERY_PROMPT.md, checked with init --check.
03
Bring your key
createAskHandler in /api/ask - local keywords first (fast, free), LLM only on a miss. OpenAI-compatible default, Anthropic/Gemini auto-detected, fails closed without a key.
03 - Wire up
npx pointery init # context + config + prompt
// layout.tsx - mount once, gated off marketing pages
import { Pointery } from "pointery";
import "pointery/styles.css";
// wrapper returns null on "/" so the palette lives inside the app
<Pointery trigger="shift+a" /> // Cmd/Ctrl+K always works too
// app/api/ask/route.ts - your endpoint, your key, your data
import { createAskHandler } from "pointery/server";
export const POST = createAskHandler(context, {
llm: { url, key, model }, // required - 503 without it
allowActions: ["export-pipeline"], // UI default is [] (blocked)
});
// optional side-effects - otherwise logs + toasts + pointery:action event
<Pointery onAction={async (name) => { /* your logic */ }} />
npx pointery init --check # flows/pins point at real entriesTune it in pointery.config.json
Shortcut, brand color + radius, closed launcher, position, suggestions, per-page routes - validated against the shipped schema with npx pointery config --validate. /pointery shows live status: ask reachability, LLM setup, context counts.
Safe by default
Your key stays server-side, nothing calls home. Actions are allowlisted and blocked unless listed; destructive ones carry confirm:true. Admin disk writes refuse in production; demo routes 404 there too.