Reaktiv Workbook
Open-source reactive Python workbooks that combine spreadsheet-style cells, notes, plots and a dependency graph in one plain .workbook.py file.
At a Glance
Reaktiv Workbook core is MIT licensed; install via pip or uvx and run on your own machine, or try examples in the browser.
Engagement
Available On
Listed Nov 2026
About Reaktiv Workbook
Reaktiv Workbook is an open-source tool for building reactive Python workbooks, where spreadsheet-style cells, live notes, plots, widgets and actions live in a single plain .workbook.py file. Change an input and every value, chart and paragraph that depends on it updates, while unaffected cells do not rerun. It is MIT licensed and built on the reaktiv signals library for Python.
What It Is
Reaktiv Workbook is a reactive alternative to the notebook workflow for data exploration, models and small dashboards. A workbook is ordinary Python that can be reviewed in a pull request, diffed in Git and run with python. The same file can be viewed as Notes (documents with live values, sliders and charts), Cells (a spreadsheet-style grid of inputs, formulas and plots) or a Graph (a dependency graph drawn from the code).
How the reactivity works
A cell depends on exactly what it reads while it runs, so there is nothing to declare or wire up. A change marks dependent cells as stale and they recompute in dependency order; a result that comes out the same stops the update there. Derived values are lazy and cached. The cell kinds include signals for inputs, computed formulas, linked signals (suggested values that can be overridden), resources for values that arrive later such as files or API calls, effects, and actions for steps triggered from a button or an agent. Side effects stay explicit in effects and actions.
Running it
The project documents several ways to use it:
reaktiv-workbook newcreates a workbook, optionally from a bundled example such as welcome, budget or project-planner.editopens the browser editor on your machine, using your own Python environment.runserves the notes and controls as an interactive app.checkevaluates a workbook and reports cell errors, for use in CI.--sandboxinstalls the packages a workbook declares into its own environment with uv.- A browser version runs Python locally through Pyodide, and the site states nothing is uploaded.
Python 3.12 or newer is required for the command-line tool.
Working with AI agents
Starting the editor with --mcp lets Claude Code, Cursor or any MCP client read and edit the open workbook while the user watches. The MCP server provides agents with an authoring guide, and the project says each change is one undo step. Agents that edit .workbook.py files directly can follow the same authoring guide.
Community Discussions
Be the first to start a conversation about Reaktiv Workbook
Share your experience with Reaktiv Workbook, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
Reaktiv Workbook core is MIT licensed; install via pip or uvx and run on your own machine, or try examples in the browser.
- MIT licensed
- Install with pip install reaktiv-workbook or uvx
- Browser app runs Python locally through Pyodide
- Plain .workbook.py files
- Optional MCP integration with --mcp
Capabilities
Key Features
- Reactive cells that recompute only dependent values
- Notes with live values, LaTeX, Mermaid diagrams and sliders
- Spreadsheet-style Cells grid view
- Dependency graph drawn from code
- Single plain .workbook.py file, Git-diffable and runnable with python
- Serve workbooks as interactive apps with `run`
- `check` command to evaluate workbooks and report cell errors in CI
- Browser version with Python running locally via Pyodide
- MCP server for AI agents to edit the live workbook
- Sandbox mode that installs declared packages with uv
- Resources, effects, timers and explicit actions
- Bundled example workbooks
