Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>QueryPilotNew to Visual Studio Code? Get it now.
QueryPilot

QueryPilot

QueryPilot

|
1 install
| (0) | Free
AI-powered natural language database assistant for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

QueryPilot

QueryPilot is an AI-powered natural language database assistant for VS Code. Users can describe their data needs in plain English, and the extension generates appropriate SQL queries, validates them, executes them against connected databases, and displays results.

Features

  • Natural Language to SQL: Ask for data in plain English and get SQL instantly.
  • AI Providers: Supports multiple AI providers, including Groq and Google Gemini.
  • Secure Credentials: Utilizes VS Code SecretStorage to securely store your database and API credentials.
  • Schema Caching: High-performance database schema caching.
  • Read-only Validation: Built-in security checks to prevent destructive database operations (only allows SELECT/WITH).
  • PostgreSQL Support: Out-of-the-box support for PostgreSQL databases.

Usage

  1. Open the command palette (Ctrl+Shift+P / Cmd+Shift+P).
  2. Type QueryPilot: Show Sidebar to open the webview panel.
  3. Configure your Database connection (e.g. PostgreSQL credentials).
  4. Configure your preferred AI provider (Groq or Gemini) and enter your API Key.
  5. In the Natural Language Query section, type your request (e.g. "Show me all active users from last week") and click Generate Query.
  6. Review the generated SQL and its explanation, and click Run Query to execute it securely.

Configuration

QueryPilot supports configuring different AI models to suit your needs:

  • Groq: Models like Llama 3 (8B/70B), Mixtral, Gemma.
  • Gemini: Models like Gemini 1.5 Pro, 1.5 Flash.

Security

QueryPilot implements strict read-only validation. Any attempt to execute INSERT, UPDATE, DELETE, DROP, or ALTER queries through the extension will be automatically blocked to protect your database.

Requirements

  • VS Code version 1.125.0 or higher.
  • A supported database (currently PostgreSQL).
  • An API Key for your preferred AI provider (Groq or Google Gemini).

Extension Settings

(No specific user settings; configuration is done via the QueryPilot Sidebar.)

Known Issues

  • Currently supports PostgreSQL only. Support for other databases is planned for future releases.

Release Notes

0.0.1

Initial release of QueryPilot.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft