Skip to main content

Chat — attach AI to your map

product="chat" mounts the Kaleidr Control Tower (chat-driven navigation, POI summaries, place pins) over a map you already render. The chat bundle auto-detects your map vendor (Mapbox, MapLibre, Google, Leaflet, …).

const handle = Kaleidr.mount('#chat-panel', {
product: 'chat',
publishableKey: 'kld_pk_live_…', // ai scope
map: myMap, // your live map instance
});

The chat panel plots places onto myMap and frames the camera as the conversation resolves locations. Streaming uses the SSE wire contract; usage bills the ai scope against your org quota.

Headless (no map) is supported — omit map for a chat-only panel.

See the per-vendor guides: Mapbox · Google Maps · MapLibre.