Skip to main content

AI Agent sidebar panel for JupyterLab.

Project description

Cellsistant

AI Agent sidebar panel for JupyterLab.

Requirements

  • Python: 3.9+
  • JupyterLab: 4.x

Installation

pip install cellsistant
jupyter lab

Development

Build Commands

Frontend (TypeScript):

npm run build           # Development build
npm run build:prod       # Production build
npm run watch            # Watch mode

Backend (Python):

pip install -e .         # Install in editable mode
python -m build          # Create distribution

Testing

Python tests:

pytest
pytest cellsistant/tests/

TypeScript tests:

npm test

Linting

Python:

npm run lint:python       # Check and fix
npm run format:python     # Format

TypeScript:

npm run lint              # Check and fix
npm run lint:check        # Check only

All:

npm run lint:all          # Check and fix all
npm run lint:all:check    # Check all

Project Structure

cellsistant/
├── __init__.py          # Server extension, API handlers
├── chat_utils.py        # Chat utilities
├── history.py           # Chat history
├── prompts.py           # System prompts
├── rate_limiter.py      # API rate limiting
├── retry.py             # API retry logic
├── settings.py          # Settings management
├── tools_definitions.py # Tool definitions
└── tests/               # Python tests

src/
├── index.ts             # Extension entry point
├── chat-panel.ts        # Chat panel widget
├── chat-ui.ts           # Chat UI components
├── api.ts               # API client
├── tools.ts             # Tool interfaces
├── tool-registry.ts     # Tool registry
├── permission-manager.ts # Tool permissions
└── tools/
    ├── notebook-tools.ts
    ├── file-tools.ts
    ├── search-tools.ts
    ├── shell-tools.ts
    └── package-tools.ts

License

BSD-3-Clause. See LICENSE.

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

cellsistant-0.1.2.tar.gz (2.3 MB view details)

Uploaded Source

File details

Details for the file cellsistant-0.1.2.tar.gz.

File metadata

  • Download URL: cellsistant-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for cellsistant-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e73f4f4a69f21e7bff4d07986afc19fbe23eb7bedecda2f3286bba99ca2f83fc
MD5 1b68d8da51b3abfff32b1ffb8dcd0484
BLAKE2b-256 bb36c8d37a6a219e925c49eaaf432b2681cb786ab0bfb10f67904779df52aba1

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