Skip to main content

AI-powered chat assistant for Dash development - integrated dev tools extension

Project description

Dash AI Chat

AI-powered chat assistant for Dash development - an integrated dev tools extension.

Overview

Dash AI Chat brings an intelligent AI assistant directly into your Dash development environment. Chat with an AI that can read your code, make changes, run commands, and help you build faster.

Key Capabilities

  • Code Understanding: Ask questions about your codebase and get intelligent answers
  • File Editing: Request changes and review them before applying
  • Command Execution: Run shell commands through the assistant
  • Log Access: View backend and frontend logs from your running app
  • Code Search: Find patterns and navigate your project structure

Installation

Install via pip:

pip install dash-ai-extension

Or with uv:

uv add dash-ai-extension

Quick Start

Once installed, the extension automatically integrates with Dash dev tools:

import dash
from dash import html

app = dash.Dash(__name__)
app.layout = html.Div("Hello, Dash!")

if __name__ == "__main__":
    app.run(debug=True)  # Dev tools enabled

Look for the "Dash Chat" button in the dev tools sidebar.

First-Time Setup

On first use, you'll authenticate via Plotly Cloud:

  1. Click "Sign In" in the chat modal
  2. Complete authentication in the browser window
  3. Your session is saved locally for future use

How It Works

Safe Code Changes

The assistant never writes files automatically. Instead:

  1. Ask the assistant to make changes to your code
  2. Review staged changes in the panel below the chat
  3. Expand individual changes to see the diff
  4. Click "Apply All" to write changes, or "Clear" to discard
  5. Revert individual changes if needed

You're always in control.

Real-Time Feedback

Watch the assistant work in real-time:

  • See file reads, edits, and commands as they happen
  • View results immediately
  • Understand the assistant's reasoning

Session Persistence

Your chat history and staged changes are automatically saved to .dash-chat-state.json in your project directory. Everything persists across app restarts.

Features

  • Intelligent file handling: Large files are pre-filtered to relevant sections for faster responses
  • Targeted edits: Uses find-and-replace instead of full file rewrites
  • Security built-in: Path validation, command filtering, and restricted file operations
  • SSE streaming: Real-time updates as the assistant works

License

Copyright (c) 2025 Plotly, Inc. All rights reserved.

This software is proprietary and confidential. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_ai_extension-0.1.0a2.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dash_ai_extension-0.1.0a2-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file dash_ai_extension-0.1.0a2.tar.gz.

File metadata

  • Download URL: dash_ai_extension-0.1.0a2.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dash_ai_extension-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 73dc824c6faa6fee449b75ec1272c24dc6e46b3feca544b5954db653a7782c69
MD5 479cf8a4fd832e668a3416dfb5d1725e
BLAKE2b-256 972da5b07ae07de670006cb7bedd701530cf0040225a5cb59611c3264f6b8c42

See more details on using hashes here.

Provenance

The following attestation bundles were made for dash_ai_extension-0.1.0a2.tar.gz:

Publisher: publish-pypi.yml on plotly/dash-ai-extension

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dash_ai_extension-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for dash_ai_extension-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5c2cbdf51ab432d5acaa67d2fc8920b48e443a49df23a05d3ed5963e9c4b9d7
MD5 351b86ac8acbda8c46016f8776a4b70a
BLAKE2b-256 76bbe635759b94bcd23849accf53387f72086ddefcf39d71f935b6da83cfaedc

See more details on using hashes here.

Provenance

The following attestation bundles were made for dash_ai_extension-0.1.0a2-py3-none-any.whl:

Publisher: publish-pypi.yml on plotly/dash-ai-extension

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page