Skip to main content

Bart.dIAs is an assistant for the WebGRIPP environment, focused on parallel programming analysis.

Project description

Bart.dIAs - WebGRIPP AI Assistant

Bart.dIAs is an assistant for the WebGRIPP environment. Currently, it is solely an assistant for parallel programming that analyzes sequential code to identify bottlenecks and suggest parallelization strategies. It combines critical path analysis with pattern recognition to provide targeted recommendations for improving application performance.

Features

  • Bottleneck Analysis: Identifies sequential bottlenecks in Python code.
  • 🔄 Parallelization Strategies: Suggests strategies to parallelize code using recognized patterns.
  • 🎯 Critical Path Analysis: Combines CPA with pattern recognition for targeted recommendations.
  • 🤖 LLM Chat: Conversational interface to discuss code optimizations.
  • 📎 Code Context: Analyze open files directly from JupyterLab.

Prerequisites

  • JupyterLab 4.x
  • Node.js 18+
  • Ollama running locally (default: http://localhost:11434)
  • Bart.dIAs MCP Server (for deep code analysis)

Installation

1. Install Dependencies

cd bart_dias_jupyter_extension
jlpm install

2. Build Extension

jlpm build

3. Install in JupyterLab

jupyter labextension install .

Usage

  1. Open the Bart.dIAs extension from the right sidebar.
  2. Open a Python file you want to analyze.
  3. Click the attach button (📎) to send the code to the assistant.
  4. Ask for parallelization suggestions or performance analysis.

Project Structure

bart_dias_jupyter_extension/
├── src/                    # Frontend (React/TypeScript)
│   ├── index.ts            # Extension entry point
│   ├── components/         # UI Components
│   ├── services/           # API & MCP logic
│   └── hooks/              # State management
├── style/                  # CSS Styles
└── pyproject.toml          # Python Packaging

Technology Stack

  • Frontend: React 18, TypeScript, Lumino
  • Analysis: LangChain, MCP Adapters
  • AI: Ollama (Local LLMs)

License

MIT

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

bart_dias_jupyter_extension-0.1.5.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

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

bart_dias_jupyter_extension-0.1.5-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

Details for the file bart_dias_jupyter_extension-0.1.5.tar.gz.

File metadata

File hashes

Hashes for bart_dias_jupyter_extension-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fe080546a3c72784fbe78abfbb889725c12fefe085d5df542331c3fe8bb909fb
MD5 c4dde857ed63671d0128562ec5cd83c7
BLAKE2b-256 387182582acf0801a081bb308b22d9a65f009d1dc03e794ffe22d6fa1cf1d0ec

See more details on using hashes here.

File details

Details for the file bart_dias_jupyter_extension-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for bart_dias_jupyter_extension-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6d161ed626f2378fb32b0cfc1e07063bbbd157d443a45dcf0ee4c4cc70019396
MD5 4e048eb2a3dd2f76f1577b0be138566d
BLAKE2b-256 b79534fa7e47c56f852db7e66233bf7597b9eec8902f86dd0416571840ae870a

See more details on using hashes here.

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