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.4.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.4-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for bart_dias_jupyter_extension-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c11241de423a3119128f5f9916077d2a75d3528e682f3bbd2b0b6b923218e771
MD5 0f57685f1e477e31ca64b91647812c72
BLAKE2b-256 c3ce763136430c7407cf79e1b4d41c89616736e5a8e47add71ab98beac328a29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bart_dias_jupyter_extension-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c38edddc91e40dacf578ce0a8f894d8eebb7294c3d3a794eb4eb2962d9c10548
MD5 1f0c31013d8fc877880e8e237c5e04fd
BLAKE2b-256 fe933e160b7afdb69bf8d92a30f9399120d65bad7fef8db7abc0598f67c6d8ad

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