Krishnan315 downloadsRun code blocks in place with live output: a Python notebook with a debugger and variables view, MATLAB, C/C++, Swift and more on desktop, and Python on iPhone and iPad (beta).

Run the code in your notes, like a notebook. Python gets a live kernel with a real debugger and a variables view, MATLAB runs in a session of your own MATLAB, and C, C++, Swift, JavaScript and twenty-odd other languages run with the tools you have installed. The output, plots included, appears right under the block. Python also runs on iPhone and iPad (beta).
Install: in Obsidian, open Settings → Community plugins → Browse, search for “Tahoe Run”, then Install and Enable. (Directory page)
| Platform | Status | Tested on | Known limits |
|---|---|---|---|
| macOS | Supported | macOS 27, Obsidian 1.13 or later | None known |
| iPhone and iPad | Beta, Python only | Obsidian's mobile mode on a Mac, not yet a real device | A running block can't be stopped; no debugger, input() or pip |
| Windows | Python tested; the rest untested | Windows 11 with WSL 2 (Ubuntu): Python kernels in WSL and with Windows' own Python | Stop restarts a kernel running Windows' own Python (one in WSL stops like on a Mac); MATLAB has to be on your PATH or set in settings |
| Linux | Untested | Not yet | Written to work; MATLAB has to be on your PATH or set in settings |

plt.show() puts the plot under the block; FuncAnimation becomes a looping GIF.
drawnow loops as animations.FuncAnimation as looping GIFs, and progress bars that update in place.display(df), is a table; a Plotly figure (fig.show()) is an interactive chart, offline; and anything with an HTML, Markdown or LaTeX form shows that way: SymPy expressions as maths, df.style as styled HTML, IPython's HTML, Markdown and Math. It all appears in order among the printed lines.input(), getpass() and sys.stdin in Python ask in a field under the block, and C, Java, Go and the other languages' programs read what you type there too.`$total` anywhere in a note and it shows what total holds in the note's Python, updated after each run: "The mean is `$mean`." Attributes and indexes work too (`$df.shape`, `$scores['test']`); nothing is called.opencv-python into the note's Python, then runs the block again..ipynb notebook (with its outputs and plots), a .py script with # %% cells or a .m script with %% sections, and import notebooks and scripts as notes.Python, MATLAB, GNU Octave, JavaScript, TypeScript (through npx tsx), Swift, C, C++, Objective-C, Java, Kotlin, C#, Go, Rust, Ruby, PHP, Perl, Lua, R, Julia, Haskell, Bash, Zsh, AppleScript and SQLite. Any of them whose tools are installed works; the settings show which were found, and each language's command can be changed. The PATH comes from your login shell, so Homebrew tools are found. Compiled languages are built first.
If you try it on Windows, Linux or a real iPhone or iPad, I'd like to hear how it went: open a discussion.
#| eval: false (or %| eval: false in MATLAB) is skipped.~/.virtualenvs, conda, pyenv, Homebrew, python.org, and on Windows the ones in WSL) and can make a new virtual environment. To use a venv that isn't listed, paste its folder or its Python into the picker. The choice is kept for this computer only, so a synced vault can use a different Python for the same note on each computer. A note's python: property still works, as the choice on computers where that Python exists and nothing else was chosen.On Windows, Python can run in Windows or in WSL, the Linux alongside it, so the virtual environments you made in WSL work, as in VS Code's WSL mode.
/ (/home/you/envs/main/bin/python, /mnt/c/Users/you/project/env/bin/python, /usr/bin/python3) or \\wsl.localhost\… runs in WSL. So does a command written as wsl:python3.python3 WSL's too, and you can choose the WSL distribution there./usr/bin/python3, venvs in WSL's home folder, conda and pyenv) alongside Windows' own. A venv made in WSL inside a Windows folder (C:\…\project\env, with a bin folder) can be pasted by its Windows path.Write ```matlab blocks and press Run. On a Mac, Tahoe Run finds the newest MATLAB in Applications; elsewhere it uses matlab from your PATH. The first block waits about 10 seconds while MATLAB starts; after that, blocks run in milliseconds and share their variables. At most two notes keep a session at once, since each MATLAB uses about a gigabyte. Turn off *MATLAB session per note* to run each block with matlab -batch instead. ```octave blocks run with GNU Octave if it's installed.
Python blocks also run on iPhone and iPad, with Pyodide (Python 3.14 built for the web), inside Obsidian and offline. Download it once in Settings → Tahoe Run → Python on iPhone and iPad (about 13.5 MB); it goes into the plugin's folder, so a synced vault brings it to your other devices. numpy, matplotlib and the other packages built for Pyodide download the first time a block imports them, and stay. Each note keeps its own variables, plots show under the block, and hover values and the variables view work. On a phone or tablet there's no debugger, input() or pip, and a running block can't be stopped until it ends.
This part is in beta: it has been tested in Obsidian's mobile mode on a Mac, not yet on a real iPhone or iPad. Use it on this computer too runs a note exactly as a phone would.
When a block fails, its output gets an Explain button: a model reads the code and the error, explains what went wrong and suggests a fix, with Apply fix. Choose the model in the settings, or leave it on Automatic, which tries them in this order:
Check complexity of code block at cursor times a Python function (or a whole program that reads its input) on growing inputs and reports O(1) to O(2ⁿ) with a log-log chart.
Execute Code and Tahoe Run do the same core job: a Run button on fenced code blocks, which runs the code with the tools installed on your computer and shows the output under the block. Both read plain ```python, ```js and similar blocks, so most notes work in either.
The same: a Run button on each block, Run all for a note, Python blocks sharing one session per note, plots under the block, an input field for programs that ask for it, output you can save into the note, and a changeable command or path for each language.
What Execute Code does that Tahoe Run doesn't:
@vault_path, @note_path, @show(...), @html(...)), global code injection per language, {pre}/{post} blocks and labelled blocks you can import.```run-python-style blocks.What Tahoe Run adds: a Python debugger and variables view, MATLAB sessions, Python on iPhone and iPad (beta), Jupyter import and export, and installing a missing package from the error.
Switching: existing blocks run as they are. Arguments such as {label='x'} are ignored, ```run-python blocks need the run- removed, and Execute Code's saved output isn't read by Tahoe Run. Turn Execute Code off while you try Tahoe Run, so each block has one Run button.
pip, which downloads from PyPI, after you confirm.~/.virtualenvs (in WSL's home folder for a WSL Python). On Windows, finding Pythons runs a short script in WSL that lists them. Python settings are kept under this computer's name (its hostname) in the plugin's settings, so each computer that opens a synced vault has its own. The Apple Intelligence helper is kept in ~/Library/Caches/tahoe-run. To list your Pythons, it looks in the usual places they're installed.Tahoe is a set of plugins and a theme that work on their own and fit together.
| Tahoe Run | Run the code in your notes, like a notebook: Python with a debugger and variables view, MATLAB, and ~25 other languages. | this one |
| Tahoe Math | A calculator in your notes: type an expression ending in = and the answer appears. |
available |
| Tahoe | A clean, Mac-like theme, in light and dark. | available |
| Tahoe Code | An IDE in your code blocks: suggestions, checking as you type, quick fixes, go to definition, formatting and AI edits. | available |
| Tahoe Glass | Real refraction for the Tahoe theme's glass, and header cards on settings pages. | available |
| Tahoe Organize | Keep a growing vault tidy: inbox triage, smart folders, colored tags, link suggestions, vault health, literature notes and text from images. | available |
| Tahoe Intelligence | On-device AI for your notes: ask your notes, related notes, distilling permanent notes and more. | available |
| Tahoe OCR | Search the text in your images: screenshots, slides and scanned pages, read on your Mac. | available |
| Tahoe Pinyin | Pinyin above the Chinese in your notes, with the right reading for each word, tone colors and a practice mode. | available |
Better together
Questions are welcome in Discussions, and bugs and ideas in Issues. If Tahoe Run is useful to you, a star helps others find it.
Contributors:
Third-party code included in Tahoe Run, with its licences, is listed in THIRD_PARTY_NOTICES.md.
Tahoe Run is an independent project. It isn't affiliated with, or endorsed by, Apple, MathWorks, Jupyter or Anthropic.
MIT © 2026 Krishnan Adaikkappan
npm ci
npm run build # writes main.js
Releases are built by GitHub Actions: push a tag that matches the version in manifest.json, then publish the draft release it creates.