A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
/* Copyright 2026 Marimo. All rights reserved. */
import { atom } from "jotai";
import type { Capabilities } from "../kernel/messages";
import { store } from "../state/jotai";
export const capabilitiesAtom = atom<Capabilities>({
terminal: false,
pylsp: false,
basedpyright: false,
ty: false,
pyrefly: false,
});
export function hasCapability(key: keyof Capabilities): boolean {
return store.get(capabilitiesAtom)?.[key] ?? false;
}