Skip to main content

Codebuff Agent

JupyterLab extension for AI-powered code assistance with embedded agent services.

Architecture

This extension runs agent services in-process:

  • Provides the JupyterLab frontend UI
  • Handles Jupyter-specific integration (kernel communication, notebook manipulation)
  • Runs LLM-based agent services directly via codebuff_core

Prerequisites

  • JupyterLab: Version 4.0 or higher

Installation

Development Installation

# Install dependencies
yarn install

# Build extension
yarn build

# Install in JupyterLab (development mode)
pip install -e .
jupyter labextension develop . --overwrite

Starting the Development Environment

cd extensions/jupyter
jupyter lab

Configuration

Configure LLM settings in ~/.jupyter/codebuff_config.json:

{
  "provider": "vllm",
  "vllm": {
    "endpoint": "https://openrouter.ai/api/v1",
    "apiKey": "",
    "model": "openai/gpt-4o"
  }
}

Development

Watch Mode

# Terminal 1: Watch TypeScript
yarn watch:src

# Terminal 2: Watch labextension
yarn watch:labextension

Testing

# Run UI tests
yarn test:ui

# Run UI tests with browser visible
yarn test:ui:headed

License

MIT

Frontend lint

Run jlpm lint:check for ESLint (TypeScript/TSX under frontend/) and Stylelint (CSS under frontend/styles/). jlpm lint runs the same checks; jlpm lint:fix applies automatic fixes. Generated lib/, labextension bundles, and dependencies are excluded.

Prettier is a separate, opt-in formatting operation: jlpm prettier:check reports existing formatting differences and jlpm prettier rewrites frontend files. It is intentionally outside lint so restoring lint does not reformat the whole UI.

The existing codebase reports unused variables, redundant escapes, ANSI regexes, and CSS selector ordering/duplicates as warnings. Syntax and recommended correctness rules remain errors, including invalid React hook usage. Streaming while (true) readers and empty catch blocks are allowed intentionally. ESLint does not establish module reachability; that guard is tracked in issue #59.

Metadata

Release files for codebuff-agent 2.1.83

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for codebuff-agent 2.1.83
File Interpreter ABI Platform Actions
codebuff_agent-2.1.83-py3-none-any.whl Python 3 none any Details for codebuff_agent-2.1.83-py3-none-any.whl

Release files / codebuff_agent-2.1.83-py3-none-any.whl

Download URL codebuff_agent-2.1.83-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
064a00e27c816c9c797aa32204a8699ecf9377163322ac8c81bc8f6aecdf9c15
BLAKE2b-256 checksum
How to use checksums
c8ed7647a36dbeed8c1d6e891ccb4330c6f2dd0308d6d335a56565ad82786fd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for codebuff-agent 2.1.83

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page