Skip to main content

A Genetic Dynasty of Agentic Clones for Jupyter Notebooks

Project description

PyPI version PyPI downloads Python versions License

Cleon

Cleon logo

Cleon brings the magic of LLM Agents to Jupyter notebooks. Have interactive conversations about your notebook and even have agents augment and run cells using the Jupyter extension.

Bring your own tokens via Codex, Claude or Gemini subscriptions or standard token apis.

Features

  • invocation is as low friction as typing a single configurable prefix in a code cell
  • run code at the same time while waiting for agents to respond
  • queue agent prompts and approve actions just like cli agents

Default Prefixes

@ hi codex
~ hi claude
> hi gemini <- currently slow

Installation

Default (extension included, no Jupyter)

pip install cleon

This installs the Python magics and backend plus the prebuilt Cleon extension package, but does not pull in JupyterLab itself (so it won’t reinstall Jupyter if you already have it).

Launch with the bundled helper (creates/uses ~/.cache/cleon/jupyter-env):

cleon jupyter lab

You can also run cleon jupyter notebook if you prefer the classic UI.

The launcher will install JupyterLab + the Cleon extension into its managed env if they’re missing. If you install the Cleon Jupyter extension while Jupyter is running, restart Jupyter (and refresh the browser) so the extension loads.

Full install into your current env

pip install "cleon[jupyter]"

This pulls in JupyterLab 4+ and the prebuilt Cleon extension into your active environment.

Minimal install

Need to skip Jupyter/extension? Install without deps and add only what you want:

pip install --no-deps cleon

There is a placeholder extra cleon[no-jupyter], but it’s a no-op; use --no-deps for a truly lean install.

Cleon install

Usage

Cleon in use

Codex

  • Make sure your codex is already authed, or copy your ~/.codex/auth.json from another machine.

Claude Code

  • Install npm install -g @mariozechner/pi-coding-agent
  • Run cleon.login()
  • Complete auth token flow

Sessions

  • Currently supports codex sessions, try cleon.stop() and cleon.resume()

Options

  • cleon.status()
  • cleon.sessions()
  • cleon.resume()
  • cleon.stop()
  • cleon.mode("learn")
  • cleon.mode("do")

Bugs or Feedback

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

cleon-0.1.14.tar.gz (16.3 MB view details)

Uploaded Source

Built Distributions

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

cleon-0.1.14-cp39-abi3-win_amd64.whl (307.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

cleon-0.1.14-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.6 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

cleon-0.1.14-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (16.3 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

cleon-0.1.14-cp39-abi3-macosx_11_0_arm64.whl (14.2 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

cleon-0.1.14-cp39-abi3-macosx_10_12_x86_64.whl (14.5 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file cleon-0.1.14.tar.gz.

File metadata

  • Download URL: cleon-0.1.14.tar.gz
  • Upload date:
  • Size: 16.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cleon-0.1.14.tar.gz
Algorithm Hash digest
SHA256 78314657e17b04a2d0401fde287f027d35025af3ecc7eb1d4026310fb63cd612
MD5 daab29975837722a5171486bb8b3c558
BLAKE2b-256 88bbf40549220cdfa066a7590f6f38d13cb4df02c2e4c2f15702fb1d23977231

See more details on using hashes here.

File details

Details for the file cleon-0.1.14-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: cleon-0.1.14-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 307.7 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cleon-0.1.14-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 49fef6d8c45988fb4d884ac6283ec0e177dd7aa6c9e17f881138f0054e204f3f
MD5 bbc3571318a60327dcbfc65d3b48ac18
BLAKE2b-256 206cc3311a0e24996af895d9d20f50f97ef35264bf717454d45a1a886e48d295

See more details on using hashes here.

File details

Details for the file cleon-0.1.14-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cleon-0.1.14-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 192822c37f86edd5dbefefc6511bbbb948f46b683f0b8d0964a7ee7adb04eddf
MD5 e1f765bac7c592a55ba1186bc63bda54
BLAKE2b-256 fd4c798b3c14152ed4982b587036d13f6d09b4dcd1385f16d832b34ae4898160

See more details on using hashes here.

File details

Details for the file cleon-0.1.14-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cleon-0.1.14-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 51ff0a965526af0dcb8601c571f3c65e56ea51fe4239ded2e8cfd70fdd21367a
MD5 b06c571319567f43de2b573f88c4a7b5
BLAKE2b-256 8e271523c06d8606335f8184f2d2ed9f091926f109aa2f81bd1bb6a403b2308f

See more details on using hashes here.

File details

Details for the file cleon-0.1.14-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cleon-0.1.14-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1fc17e23ac8fab0279948ddba50bf4c377b111bd37b77c114e2c9169b3bd0a7d
MD5 566b5e5da1d2168c4f909c9c452243a7
BLAKE2b-256 85a0d2e80a352272ed5c433c55357f3b976d7fdb218715c93b09df35dc8c8c97

See more details on using hashes here.

File details

Details for the file cleon-0.1.14-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cleon-0.1.14-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 81bf4aec304e85f3d98f0667981c43772279db45723289fb1c4cfd084825ab43
MD5 071e6768d27e50f46f88399368b7d888
BLAKE2b-256 cbd2a2226840175b5e269456c354e4950a91c437a8a5552e7e13a3d7d6c0b5a0

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