Open source · MIT

A notebook, and an engine, for .NET.

Verso runs interactive notebooks in VS Code, the browser, and the terminal, and ships the same execution engine as an embeddable .NET library. Eight language kernels share one variable store, and every feature is an extension.

Kernels8 languages
Formats.verso · .ipynb · .dib
Runtime.NET 8 · .NET 10
LicenseMIT
▶ Run All Clear Outputs Restart Kernel sales-report.verso
▶ code C# (Roslyn) [1]
1var revenue = orders
2 .GroupBy(o => o.Region)
3 .Select(g => new {
4 Region = g.Key,
5 Revenue = g.Sum(o => o.Total)
6 });
7
8revenue
RegionRevenue
West48,200
East41,750
Central33,480
✓completed128 ms
▶ code Python [2]
1# revenue was set by the C# cell above
2top = max(revenue, key=lambda r: r.Revenue)
3f"Top region: {top.Region}"
'Top region: West'
✓completed64 ms
▶ code SQL (PostgreSQL) [3]
1-- @since binds from the shared store
2SELECT region, SUM(total) AS revenue
3FROM orders WHERE placed_at >= @since
4GROUP BY region ORDER BY revenue DESC;
regionrevenue
West48200.00
East41750.00
✓2 rows41 ms
▶ code HTTP [4]
1# @name revenueReport
2GET https://api.example.com/reports?window=30d
3Authorization: Bearer {{token}}
HTTP/1.1 200 OK content-type: application/json { "regions": 3, "total": 123430.00 }
✓200 OK212 ms
One notebook. Every cell reads the same variable store.

Polyglot Notebooks is gone. Verso fills both roles.

Microsoft deprecated Polyglot Notebooks on February 11, 2026, and .NET Interactive, the engine behind it, followed. That left the .NET ecosystem with no maintained notebook platform and no maintained embeddable execution engine.

Verso is built to fill the gap on both fronts: a notebook experience that feels familiar to anyone coming from Polyglot Notebooks, and a headless engine with a fully public, extensible architecture underneath it.

As a platform

The notebook you open

Runs in VS Code or any browser. IntelliSense, diagnostics, and hover in every language kernel. Variables shared across all of them with no explicit share commands. Opens your existing .ipynb and .dib files as they are.

Open the VS Code extension
As an engine

The library you embed

A headless .NET library with no UI dependencies: multi-language execution, an extension host, a variable store, and a layout manager behind clean public interfaces. Reference the NuGet package, wire up a Scaffold, and you have a programmable notebook runtime in any .NET application.

See how embedding works

Eight kernels, one variable store.

Every language kernel ships completions, diagnostics, and hover. Three rich content cell types render alongside them. State persists per kernel, and variables flow between all of them automatically.

C#

C#

Roslyn-powered, with inline NuGet via #r "nuget:…". Built into the core engine.

F#

F#

F# Compiler Services. Scripts, type providers, and full interop with shared variables.

PY

Python

Runs via pythonnet with #!pip package management and two-way variable sharing.

JS

JavaScript

Node.js subprocess with #!npm, require, and top-level await. Falls back to a pure .NET interpreter when Node is absent.

TS

TypeScript

Transpiled automatically through the TypeScript compiler, then executed like JavaScript.

PS

PowerShell

Full PowerShell sessions with completions and shared state alongside your other cells.

SQL

SQL

ADO.NET, provider-agnostic: SQL Server, PostgreSQL, MySQL, SQLite, and Oracle. Paginated results, schema tools, EF Core scaffolding.

HTTP

HTTP

.http file syntax, the same format as VS Code REST Client. Chained named requests, responses shared to other cells.

MD

Markdown

Rendered with Markdig, with TeX math typeset in place and mermaid fences drawn as diagrams. @variable substitution turns prose into a live document.

</>

HTML

Raw HTML cells with @variable substitution for fully custom rendered output.

MMD

Mermaid

Flowcharts, sequence, class, ER, Gantt, and more. Theme-aware, with @variable substitution.

+

Your own

Implement ILanguageKernel, publish to NuGet, and load it with #!extension. Same interfaces the built-ins use.

One store. No share commands.

All kernels in a session read and write a single variable store. A value set in C# is immediately visible to Python, bound as a SQL parameter, and substituted into Markdown. Nothing to import, nothing to declare.

C# var threshold = 40_000m;
Python over = [r for r in revenue if r.Revenue > threshold]
SQL SELECT * FROM orders WHERE total > @threshold
Markdown Regions above @threshold are on track this quarter.

One engine. Four surfaces.

The same Scaffold engine powers every way you run Verso. Pick the surface that fits the moment; the notebook, the kernels, and the variable store behave identically everywhere.

3.1

VS Code

The full notebook editor inside VS Code, with the notebook theme following your editor theme automatically.

code --install-extension Datafication.verso-notebook
3.2

Browser

The identical editor served from the CLI. Same components, same behavior, no IDE required.

verso serve
3.3

Terminal

An interactive REPL with kernel switching, completions, history, a variable explorer, and notebook save and load.

verso repl
3.4

CI / headless

Execute notebooks headlessly with typed parameters and JSON output, built for pipelines and scheduled jobs.

verso run report.verso --param region=west

And a fifth: your application.

The engine is an ordinary NuGet dependency. Construct a Scaffold, load extensions, and you have cell management, execution, and cross-kernel variable sharing inside your own tool or service.

var host = new ExtensionHost();
await host.LoadBuiltInExtensionsAsync();

var scaffold = new Scaffold(notebook, host, path);
scaffold.InitializeSubsystems();

Three layers. Strict separation.

Front ends know nothing about kernels. The engine knows nothing about the UI hosting it. Extensions see only public interfaces. Each layer is replaceable on its own.

Layer 1 · Front ends

The experience

Blazor Server in the browser, Blazor WebAssembly in a VS Code webview over JSON-RPC, and the CLI driving the engine headlessly. All share the same components.

VS Code
Browser
CLI · REPL
↓
Layer 2 · Engine

The runtime

Scaffold orchestrates the session: cells, kernel dispatch, execution, and variable sharing. Headless, no UI dependencies, shipped as a NuGet package.

Scaffold
Extension host
Execution pipeline
Variable store
Layout manager
Theme engine
↓
Layer 3 · Abstractions

The contract

Pure interfaces with zero transitive dependencies. The only package an extension author ever references.

Verso.Abstractions
[VersoExtension]

Every feature is an extension, and every extension uses the same public interfaces available to anyone. The C# kernel, the dark theme, and the dashboard layout all ship without special access to engine internals. If a built-in feature needed an internal API to work, the interfaces would be incomplete.

The design principle behind the whole codebase

Thirteen extension points. Zero private APIs.

Everything you can see or run in Verso maps to an interface in Verso.Abstractions. Third-party extensions load in their own collectible AssemblyLoadContext and work across every front end without modification.

ILanguageKernelExecute code, provide completions, diagnostics, and hover for a language.
ICellRendererRender the input and output areas of a cell.
ICellTypePair a renderer with an optional kernel to define a new kind of cell.
IDataFormatterTurn runtime objects into rich, displayable output.
IMagicCommandDefine your own #! directives.
IThemeColors, typography, spacing, and syntax highlighting as a package.
ILayoutEngineControl how cells are arranged spatially, inline or fully sandboxed.
ILayoutInteractionHandlerRoute interactions from a custom layout back to extension code.
ILayoutLifecycleHandlerSeed state into an isolated layout frame on mount, clean up on unmount.
INotebookSerializerRead and write notebook file formats.
INotebookPostProcessorTransform notebooks on load and save.
IToolbarActionAdd buttons to the notebook toolbar, cell toolbar, or context menu.
ICellPropertyProviderContribute sections to the cell properties panel.

Load from a cell

Extensions resolve straight from NuGet with a consent prompt, or from a local assembly during development. Loaded extensions are isolated and unloadable.

>#!extension MyCompany.VersoKernel 1.2.0

Scaffold one in a minute

A dotnet new template, a testing library with a stubbed context, and sample extensions in the repo cover the full authoring loop.

$dotnet new verso-extension -n MyExtension

Layouts and themes included

Switch the same notebook between a linear document and a 12-column drag-and-resize dashboard at runtime. Custom layouts render inline against shared CSS variables or inside a sandboxed frame with their own JavaScript bundle.

Three themes ship built in, including a high-contrast theme meeting WCAG 2.1 AA. Every theme exposes its palette as CSS custom properties that layouts and HTML output can reference, and hot-swaps without a reload.

What ships without installing anything else.

6.1Parameterized notebooks

Typed parameters declared in metadata, edited visually, injected into the variable store before execution. verso run --param name=value covers the papermill workflow.

6.2Headless execution

Run notebooks in CI with JSON output, fail-fast mode, selective cell execution, and timeouts. GitHub Actions and Azure DevOps examples in the docs.

6.3Dashboard layout

Flip a linear notebook into a 12-column grid. Drag to reposition, resize with handles, layout saved in the file.

6.4Package management

#r "nuget: …" for .NET, #!pip for Python, #!npm for JavaScript, with custom package sources supported.

6.5Database tooling

Connect with #!sql-connect, inspect schema, export results to CSV or JSON, and scaffold EF Core DbContext classes at runtime.

6.6Rich output

Collections render as paginated tables with type tooltips, and a DataFrame as a scrollable table with column types. HTML, SVG, and image formatters are built in, and charting libraries embed through HTML output.

6.7Format conversion

verso convert moves notebooks between .verso, .ipynb, and .dib, with optional output stripping.

6.8Live documents

Markdown, HTML, and Mermaid cells substitute @variables from the shared store, so prose and diagrams update with your data.

6.9Theming

Light, dark, and WCAG 2.1 AA high contrast. In VS Code, the notebook follows your editor theme automatically.

Install once. Then pick your surface.

Editor

VS Code extension

Open any .verso, .ipynb, or .dib file. The host process and engine are managed for you.

$code --install-extension Datafication.verso-notebook
Open in the Marketplace
Terminal

CLI global tool

One dotnet tool gives you the browser editor, the REPL, headless runs, and format conversion.

$dotnet tool install -g Verso.Cli
$verso serve
Verso.Cli on NuGet
Library

Embed the engine

Add the package and host a notebook runtime inside your own application or service.

$dotnet add package Verso
Read the architecture docs

Bring your notebooks as they are.

Verso opens existing files directly. No exporter, no conversion step before you can start working.

From Polyglot Notebooks

.dib opens natively

Kernel directives like #!fsharp and #!sql map to native Verso cells on import. Variable sharing works without #!share or #!set; the store handles it. Saving writes a sibling .verso file and leaves the original untouched.

.dib → .verso
From Jupyter

.ipynb both ways

Notebooks open by default and can save back to .ipynb with outputs preserved on round-trip, so colleagues on Jupyter never notice the difference. Or convert to .verso when you want layouts and parameters in the file.

.ipynb ↔ .verso
From papermill

Parameterized runs

Typed parameters with validation and coercion, injected before execution and readable from every language. Matrix builds in CI work the same way they did, with JSON output for the pipeline.

verso run --param

Open source. Built in public.

Verso is a Datafication project, MIT licensed end to end. Issues, discussions, and extension ideas are welcome.

8Language kernels
11Cell types built in
12Extension points
MITLicensed