Skip to main content

Yukti

Yukti lets you ask Codex about everything visible above the current notebook cell. The notebook stays the conversation: markdown, code, outputs, earlier questions, and earlier answers all become context for the next %%ask question.

Install for development

You need JupyterLab 4, Node.js, and an authenticated Codex CLI.

codex login
cd /Users/yeshwanth/Code/Personal/yukti
npm install
npm run build:prod
uv pip install -e .

Restart JupyterLab after installation.

Use Yukti

Load the kernel extension once near the top of the notebook:

%load_ext yukti

Then ask a question in a cell:

%%ask
Why did the previous query return these rows?

Yukti chooses how to apply the response. Questions remain rendered answers in the %%ask cell. Requests for new notebook content add code and markdown cells below it. Requests to change earlier cells update those cells.

Yukti sends cells above that question through a Jupyter Comm channel. Outputs are limited to 8 KB each, and the complete request is limited to 512 KB. Yukti starts a disposable Codex App Server thread with its own visible base instruction, an empty working directory, a read-only sandbox, and no project instruction files.

Yukti accepts only ChatGPT subscription authentication. It stops before the model call when Codex reports API-key authentication.

Change what %%ask may do

By default Codex only reads the transcript. A %%yukti cell raises that limit for every later %%ask cell in the same kernel session:

%%yukti
permissions: elevated

The cell prints the settings it applied. An empty %%yukti cell, or %yukti, prints the help with the settings in force. Three profiles set them together:

Profile Sandbox Working directory Network Tools
sandboxed (default) read-only disposable temp directory off no
elevated workspace-write the kernel's directory off yes
full danger-full-access the kernel's directory on yes

Any line after permissions overrides one value:

%%yukti
permissions: elevated
cwd: ~/Code/report
writable_roots: /tmp/scratch
network: on
approvals: auto_review
  • sandbox: read-only, workspace-write, or danger-full-access
  • cwd: the directory Codex works in, or empty for a disposable one
  • network, tools: on or off
  • writable_roots: extra writable directories, separated by commas
  • approvals: never, or auto_review to let a Codex subagent decide

With elevated or full, Codex may edit files and run commands. Yukti prints one line per command and per file it changes. A notebook cannot show an approval prompt, so Yukti accepts any approval request that still reaches it: the sandbox and the working directory remain the real limits. Project instruction files stay off in every profile, so an AGENTS.md never competes with Yukti's instruction.

See the exact Codex request

Add --debug to show the authentication type, base instruction, thread settings, and complete notebook transcript in the cell output:

%%ask --debug
Why did the previous query return these rows?

Debug mode starts the local App Server protocol and stops before the model turn.

Verify the installation

jupyter labextension list
python -m compileall -q yukti

The extension list should show yukti as enabled.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_yukti-0.0.8.tar.gz (241.7 kB view details)

Uploaded Source

Built Distribution

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

jupyterlab_yukti-0.0.8-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_yukti-0.0.8.tar.gz.

File metadata

  • Download URL: jupyterlab_yukti-0.0.8.tar.gz
  • Upload date:
  • Size: 241.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.3

File hashes

Hashes for jupyterlab_yukti-0.0.8.tar.gz
Algorithm Hash digest
SHA256 d6da19d8a19c5e9d5992d7b8bed8d8a9bace97ea294456896cfc3321e8affeb8
MD5 e84293b5fb852e63eaa51057e7281753
BLAKE2b-256 c04ce063c3c3ed9e3b6ec3fc0be566553f07b8e5e2058ac39dd11a4cf5f3de9c

See more details on using hashes here.

File details

Details for the file jupyterlab_yukti-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_yukti-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 66eda28295bf104c6f74e3519bbde7e91570267751c1d0fd1df132a496a3660e
MD5 ceda6b5e928fdb8911b5348f30913807
BLAKE2b-256 06397934d871fd7cca8f18d5a9c22485d230f108988ae3cfc9223e685a33b1cf

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.14

2 files

0.0.9

2 files

This release

0.0.8 This release

2 files

0.0.7

2 files

0.0.6

2 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