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.15.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.15-cp39-abi3-win_amd64.whl (307.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

cleon-0.1.15-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.15-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.15-cp39-abi3-macosx_11_0_arm64.whl (14.2 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

cleon-0.1.15-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.15.tar.gz.

File metadata

  • Download URL: cleon-0.1.15.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.15.tar.gz
Algorithm Hash digest
SHA256 0719d281d5a8bab04b837cf2b9f018a46e80894a534c193f41046dd601ab4b4f
MD5 d4f68817ed18cc8015be9c2842ba58b3
BLAKE2b-256 ac9a51a08f31c048a901e5e8522d96e834b8bad0225f9a1502958712d6d6b777

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cleon-0.1.15-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.15-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 457434d4da6dde7b009e81204451a688f22ceddbe1f1f18d1aa5b9265328e49f
MD5 b9e2fe4100fa486696ea55b514c2854d
BLAKE2b-256 5038841a3749c45a69bae56d460d455f826c5fd211284d09fc2c8f3abf30ef17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cleon-0.1.15-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cec71dfd7097d4f4d966c9d5726ddce3e056a83a636b85a36ce99bf421deeef5
MD5 fda5ec80318f74b1eeb044eff3bf4048
BLAKE2b-256 8618b7a4fb4e6fb4bac943d2140e923dbd3cf89d09efbaa9911718d016d6a814

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cleon-0.1.15-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c4bd7b285a762c2cf5597c41bf6b6c804cd160166a161687528bc15c0cdadfb6
MD5 03e83b58b37ae9218937f08f4bab517a
BLAKE2b-256 50868322eadedaaf3afb260f4408087eecbc6317160e832437d5fe948bd0c575

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cleon-0.1.15-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 628f211a653c19dd897635d7100126b50b50e3d120ca1ec4df04e86f1773c9d4
MD5 bc7c525138c4802f043a2d13afb4d43a
BLAKE2b-256 b23112c209f5396d813749a5be0ae063d14e63d492fa896c083503ae526224c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cleon-0.1.15-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 50846ab44ed92403300be27a9364a5190214460aa255bd90a69f807076a7c6f8
MD5 dfcb963d285544d12a93776ae5fa44d2
BLAKE2b-256 c66db7e197152614d5da1213d11bbb792a199d47fbe18b6f1877c64fc13a647a

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