Skip to content
| Marketplace
Sign in
Visual Studio Code>Azure>KupilotNew to Visual Studio Code? Get it now.
Kupilot

Kupilot

Preview

obi

|
332 installs
| (1) | Free
Kusto Copilot chat extension for Visual Studio Code helps in creating kql queries based on your schema
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Kupilot



An unofficial Azure Data Explorer (aka Kusto) Copilot, integrated in your IDE


Intro

Kupilot is a VSCode extension that adds GitHub Copilot support for Azure Data Explorer (aka Kusto).

Please note - Kupilot currently supports working against a single Database at a time.

Highlights

Kupilot can help you build better queries, investigate issues, ask questions and explore YOUR database.
See it in action:



Pre-requisites

Azure CLI

  1. This extension does not use secrets. Instead, it uses Azure CLI to authenticate with Kusto. Make sure you have it installed (instructions here).
  2. Run az login to authenticate with Azure. You may need to run az login --tenant <tenant-id> if you have multiple tenants.

Installation

  1. Kupilot is available in the marketplace, just search for it in the VSCode extension tab or navigate to the marketplace and install it.
  2. Configure the extension with one of the options below:
    1. Execute Kupilot: Configure command (in the command palette)
    2. Manually set the following settings in your settings.json:
    "kupilot.clusterUri": "https://<cluster-name>.<region>.kusto.windows.net",
    "kupilot.database": "<database-name>",
    "kupilot.tenantId": "<tenant-id>",
    
    1. Prompt @kupilot with /configure command in the chat.

Usage

In GitHub Copilot chat, tag @kupilot to summon Kusto Copilot!

You can ask any question in free text, or use the following commands:

Explore DataBase

/exploreDb

List all tables and their coloumns in the database, as well as share additional information if found. Optionally, you can add a question as well.

Optimize

/optimize

Optimize a query based on Kusto best practices.

Teach me something new

/somethingNew

Teach me a new thing about Kusto and KQL.

Explain a selection

/explain

Explain the selected code snippet to me.

Development

Setup

  1. Before starting, make sure you followed the Installation steps.
  2. This project works with Node >= 20.11.0. Before starting, make sure you're using the correct node version.
  3. Run npm install in the root of the repository.
  4. Run npm run compile (after every change) to compile the TypeScript code.
  5. Open the debug view in VSCode and run the "Run Extension" task, this will build the extension and open a new VSCode instance.
  6. Open the Copilot Chat extension in the new VSCode instance and interact with the extension.

CI

On every Pull Request, the CI will build a .vsix file. You can sideload it into VSCode if you want to do E2E testing. You can find the workflow here.

CD

For releasing a new version, you need to bump the version in package.json and push the code into master. A new release will be created automatically. See the Versioning Guidelines below for more information.

Versioning Guidelines

We use Semantic Versioning. When you're ready to release a new version, update the version field in package.json and create a new release. Currently versioning is managed manually by incrementing the version in package.json.

Guidelines gist:

  • Major version increments when you introduce breaking change, or significant changes to the extension.
  • Minor version increments when you add new features.
  • Patch version increments when you fix minor issues.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft