frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Marimo VS Code extension – Python notebooks built on LSP and uv

https://github.com/marimo-team/marimo-lsp
24•manzt•1h ago
Hi HN! We're excited to release our VS Code/Cursor extension for marimo [1], an open-source, reactive Python notebook.

This extension provides a native experience for working with marimo notebooks, a long-requested feature that we’ve worked hard to get right.

An LSP-first architecture

The core of our extension is a marimo notebook language server (marimo-lsp [2]). As far as we know, it’s the first notebook runtime to take this approach. The Language Server Protocol (LSP) [3] offers a small but important set of notebook-related capabilities that we use for document and kernel syncing; everything else is handled through custom actions and messages.

By building on LSP, we aim to create a path to expose marimo capabilities in additional environments (beyond VS Code/Cursor). The notebook features in LSP are still limited, but as the protocol evolves, we’ll be able to shift more functionality out of the extension and into the language server, making it available to a wider range of editors and tools. For example, this could enable:

- structural edits to notebook documents (e.g., adding or removing cells) [4]

- editor hover information that reflects the live runtime values of variables

Deep uv integration with PEP 723

Because marimo notebooks are plain Python files, we adopt PEP 723-style inline metadata [5] to describe a notebook’s environment. Tools such as uv already support this format: they read the metadata block, build or update the corresponding environment, and run the script inside it.

The marimo CLI already integrates with uv in "sandbox" mode [6] to manage an isolated environment defined by PEP 723 metadata for a single notebook. In the extension, our uv-based “sandbox controller” manages multiple notebooks: each notebook gets its own isolated, cached environment. The controller keeps the environment aligned with the dependencies declared in the file and can update that metadata automatically when imports are missing.

uv normally syncs such environments whenever you run a script, ensuring it matches the dependencies declared in its metadata; we apply this concept at the cell level so the environment stays in sync whenever cells run. The same cached uv environment is reused if you run the notebook as a script via uv (e.g., uv run notebook.py).

—-------

This work has been a complete rewrite, and we're grateful to the community for early feedback. While VS Code and the LSP support a subset of notebook features, the ecosystem has been shaped heavily by Jupyter, and we’ve had to work around some assumptions baked into existing APIs. We’ve been coordinating with the VS Code team and hope our work can help broaden the conversation—pushing the LSP notebook model forward and making room for runtimes that aren’t Jupyter-based.

We'd love to hear your thoughts!

[1] https://marimo.io

[2] https://github.com/marimo-team/marimo-lsp

[3] https://microsoft.github.io/language-server-protocol/

[4] https://github.com/microsoft/vscode-languageserver-node/issu...

[5] https://peps.python.org/pep-0723/

[6] https://docs.marimo.io/guides/package_reproducibility/

Comments

najork•7m ago
Super cool seeing you take an LSP-first approach here, decoupling the developer experience for people building with Marimo from any specific editor.

Talk live with the guy who whispers "sales" to founders and startups

https://x.com/i/broadcasts/1kvJpMjqzXDxE
1•riley-i•39s ago•0 comments

Metabase 57 – Document Creation

https://www.metabase.com/releases/metabase-57
1•markwillis82•48s ago•0 comments

When grades stop meaning anything

https://www.theargumentmag.com/p/when-grades-stop-meaning-anything
1•paulpauper•52s ago•0 comments

How the Hell Are Porsches So Reliable?

https://www.jalopnik.com/how-the-hell-are-porsches-so-reliable-1709270257/
1•kerim-ca•1m ago•0 comments

Elasticity and microgrooves form aligned myotubes similar to slow twitch muscles

https://www.nature.com/articles/s41598-025-12744-7
1•PaulHoule•2m ago•0 comments

My Notes on Gemini 3

https://twitter.com/VictorTaelin/status/1990844923994886282
1•amrrs•3m ago•0 comments

Movim 0.32.1: A federated, open-source web-based social OMEMO E2EE XMPP client

https://github.com/movim/movim/releases/tag/v0.32.1
1•neustradamus•3m ago•0 comments

Datadog Is Down

https://status.datadoghq.com/incidents/cvdjtf81756n
3•markiannucci•8m ago•0 comments

DMA Collectives for Efficient ML Communication Offloads

https://arxiv.org/abs/2511.06605
1•matt_d•8m ago•0 comments

Taking prenatal supplements associated with 30% lower risk of autism

https://medicalxpress.com/news/2025-11-prenatal-supplements-autism.html
1•bikenaga•9m ago•0 comments

Calculated Risk: Trade Deficit Decreased to $59.6B in August

https://www.calculatedriskblog.com/2025/11/trade-deficit-decreased-to-596-billion.html
1•speckx•10m ago•0 comments

Our tools are failing us

https://blank.page/@mo/our-tools-are-failing-us
1•boudra•11m ago•0 comments

Pixar: The Early Days

https://stevejobsarchive.com/stories/pixar-early-days
2•tosh•12m ago•0 comments

Act-1: A Robot Foundation Model Trained on Zero Robot Data

https://www.sunday.ai/journal/no-robot-data
1•pr337h4m•12m ago•0 comments

Fine, Trade Labubu Futures

https://www.bloomberg.com/opinion/newsletters/2025-11-19/fine-trade-labubu-futures
2•ioblomov•13m ago•1 comments

Enumerating Three Billion WhatsApp Accounts for Security and Privacy

https://github.com/sbaresearch/whatsapp-census
2•filippofinke•15m ago•0 comments

Understanding neural networks through sparse circuits – OpenAI

https://openai.com/index/understanding-neural-networks-through-sparse-circuits/
1•JnBrymn•15m ago•0 comments

Gov. Abbott's office redacts pages of emails about Elon Musk

https://www.kut.org/politics/2025-11-19/texas-governor-abbott-elon-musk-emails-redacted
13•pavel_lishin•18m ago•1 comments

Nest Thermostats upload 50 megabytes to Google every day after being disabled [video]

https://www.youtube.com/watch?v=jC5wcJM8iuU
1•tartoran•19m ago•1 comments

Building with Distributed Actors: What and Why

https://withblue.ink/2025/11/19/distributed-actors-model.html
2•ItalyPaleAle•19m ago•0 comments

Europe wants to make space food out of thin air and astronaut pee

https://www.space.com/space-exploration/human-spaceflight/europe-wants-to-make-space-food-out-of-...
3•domofutu•21m ago•0 comments

What AI Is Really For

https://www.chrbutler.com/what-ai-is-really-for
4•delaugust•21m ago•0 comments

A simple UK self-employed tax calculator (instant monthly estimate)

https://selfemployedtaxcalculators.co.uk/
1•seo-punk•23m ago•1 comments

Was MCP a mistake? The internet weighs in

https://www.aiengineering.report/p/was-mcp-a-mistake-the-internet-weighs
3•waprin•24m ago•0 comments

Chinese EV makers accelerate robotics drive for 'game-changing' edge over US

https://www.scmp.com/business/china-evs/article/3333310/chinese-ev-makers-accelerate-robotics-dri...
3•Teever•25m ago•0 comments

OpenHands Software Agent SDK

https://github.com/OpenHands/software-agent-sdk
1•rbren•26m ago•0 comments

Show HN: Allein - Markdown editor with AI autocompletion, completely offline

https://github.com/szilarddoro/allein
1•szdoro•27m ago•0 comments

Firefox adds support for customizable keyboard shortcuts

https://bugzilla.mozilla.org/show_bug.cgi?id=1995889
4•spiros•29m ago•2 comments

Clinically ready magnetic microrobots for targeted therapies

https://www.science.org/doi/10.1126/science.adx1708
2•domofutu•30m ago•0 comments

Session Theft and DPoP

https://byo.propelauth.com/post/session-theft-and-dpop
4•aisrael•30m ago•0 comments