Skip to main content

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

Release files for cleon 0.1.15

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

Source distribution (sdist)

Source distribution for cleon 0.1.15
File Size Uploaded
cleon-0.1.15.tar.gz 16.3 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for cleon 0.1.15
File
cleon-0.1.15-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
cleon-0.1.15-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
cleon-0.1.15-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
cleon-0.1.15-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
cleon-0.1.15-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 78.1 MB

Release files / cleon-0.1.15.tar.gz

Download URL cleon-0.1.15.tar.gz
Size 16.3 MB
Tags Source
SHA-256 checksum
How to use checksums
0719d281d5a8bab04b837cf2b9f018a46e80894a534c193f41046dd601ab4b4f
BLAKE2b-256 checksum
How to use checksums
ac9a51a08f31c048a901e5e8522d96e834b8bad0225f9a1502958712d6d6b777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / cleon-0.1.15-cp39-abi3-win_amd64.whl

Download URL cleon-0.1.15-cp39-abi3-win_amd64.whl
Size 307.7 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
457434d4da6dde7b009e81204451a688f22ceddbe1f1f18d1aa5b9265328e49f
BLAKE2b-256 checksum
How to use checksums
5038841a3749c45a69bae56d460d455f826c5fd211284d09fc2c8f3abf30ef17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / cleon-0.1.15-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cleon-0.1.15-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 16.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
cec71dfd7097d4f4d966c9d5726ddce3e056a83a636b85a36ce99bf421deeef5
BLAKE2b-256 checksum
How to use checksums
8618b7a4fb4e6fb4bac943d2140e923dbd3cf89d09efbaa9911718d016d6a814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / cleon-0.1.15-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL cleon-0.1.15-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 16.3 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
c4bd7b285a762c2cf5597c41bf6b6c804cd160166a161687528bc15c0cdadfb6
BLAKE2b-256 checksum
How to use checksums
50868322eadedaaf3afb260f4408087eecbc6317160e832437d5fe948bd0c575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / cleon-0.1.15-cp39-abi3-macosx_11_0_arm64.whl

Download URL cleon-0.1.15-cp39-abi3-macosx_11_0_arm64.whl
Size 14.2 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
628f211a653c19dd897635d7100126b50b50e3d120ca1ec4df04e86f1773c9d4
BLAKE2b-256 checksum
How to use checksums
b23112c209f5396d813749a5be0ae063d14e63d492fa896c083503ae526224c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / cleon-0.1.15-cp39-abi3-macosx_10_12_x86_64.whl

Download URL cleon-0.1.15-cp39-abi3-macosx_10_12_x86_64.whl
Size 14.5 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
50846ab44ed92403300be27a9364a5190214460aa255bd90a69f807076a7c6f8
BLAKE2b-256 checksum
How to use checksums
c66db7e197152614d5da1213d11bbb792a199d47fbe18b6f1877c64fc13a647a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.15 This release

6 release files

0.1.14

6 release files

0.1.13

6 release files

0.1.12

6 release files

0.1.11

6 release files

0.1.10

6 release files

0.1.9

6 release files

0.1.5

10 release files

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