Integration: Codex and JupyterLab
I tried a few ways of working with an LLM inside JupyterLab: magic commands, editing files through Codex, even using Cursor. All of them felt like different shades of “this is not what I actually want.”
Finally, I found something that works. More or less.
In the console, I can just tell Codex in plain natural language what I want, and it gives me the result. No notebook reloading, no extra manual juggling.
I can’t say this solution is ideal. To be honest, it’s still not completely stable. But so far, it’s the best option I’ve found.
If you want to try it, just clone the GitHub repo
and follow the instructions. At the very least, it may save you some pain in the neck while figuring out Python library compatibility.
Feel free to share this post with friends who want to use an agentic assistant in JupyterLab.
