npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@soft-yyw/kepler.gl-ai-assistant

v3.1.4

Published

kepler.gl AI assistant

Downloads

5

Readme

Kepler.gl AI Assistant Module

The AI Assistant is a module that adds an AI chatbot to Kepler.gl. This module aims to integrates Kepler.gl with AI-powered capabilities, enabling it to interact with multiple AI models seamlessly.

Overview

The AI Assistant Module facilitates communication, processes prompts, and optionally calls back into the main application to deliver results. This setup supports advanced functionalities like tool-based function calling for enhanced interactivity.

image

The system is designed to enable Kepler.gl, a React-based single-page application, to integrate an AI Assistant Module for performing tasks with large language models (LLMs) like OpenAI GPT models, Google Gemini models, and Ollama models.

An example of how the AI Assistant Module can be used to update a basemap in Kepler.gl:

image

This flow enables a seamless interaction where a user can update a basemap in Kepler.gl through a simple AI-driven prompt, showcasing the integration of LLMs with application actions and rendering.

The AI Assistant Module OpenAssistant (Github: https://github.com/geodacenter/openassistant) is a open-source project that helps adding AI capabilities to your React SPA applications while keeping your data secure and private.

Key features:

  • Built-in chat UI.
  • Built-in "Screenshot to Ask" feature.
  • Built-in "Talk to Ask" feature.
  • Support OpenAI, Google Gemini, Ollama models.
  • Support function calling with type hint.
  • Support custom message UI for function calling.
  • Addons:
    • query your dataset using duckdb
    • map your data
    • analyze and visualize your data ...

Proposal

From the previous PRs, we have a working prototype of the AI Assistant Module with the following features:

  1. Show dataset/layer/variable info.
  2. Change the basemap style.
  3. Load data from url.
  4. Create a map layer using variable.
  5. Create a histogram.
  6. Create a scatter plot with regression line.
  7. Classify the data of a variable.
  8. Spatial join two datasets.

The next step is to integrate more kepler.gl features into the AI Assistant Module.

P0

Support more kepler.gl map layers

  • [x] create map layer based on the dataset metadata (variable names and types)
  • [ ] edit layer properties based on the layer attributes
  • [ ] blend and rearrange layers

Support color palette

  • [ ] choose color palette for the layer
  • [x] create custom color palette

Support custom map styles

  • [ ] choose map layers (water, buildings, roads, etc.)
  • [ ] create custom map style from url

Support map settings

  • [ ] update map legend for the layer
  • [ ] set split map (guide user to choose maps to split on left and right)

Support time playback

  • [ ] identify the time variable from the dataset metadata
  • [ ] set time playback for the layer