DocsBlogSpecAbout

Fabrics.

Each fabric gives your Nu app a new capability. State, UI, distributed execution and more.

nu.kv

Persistent state fabric.

Refs over a KV backend (RocksDB, LMDB). Transactions, snapshots, and change notifications, built in.

nu.ui

Web UI fabric.

Refs are widgets: text, buttons, tables. The fabric renders them in the browser and live-updates as your state changes.

nu.cluster

Cluster compute fabric.

Teleport a Nu tree to any worker in your cluster; it runs there and returns the result. Backed by Ray under the hood.

nu.llm

LLM chat fabric.

One OpenAI-compatible wire, N providers. Ollama, OpenAI, OpenRouter, Groq, Cerebras, xAI, vLLM — same ChatRef, same call.

nu.mem

In-memory state fabric.

In-memory state on plain dicts. Perfect for cache, hot state, and in-process coordination.

nu.proxy

Proxy fabric.

Puts other fabrics on the network. Bind a fabric in one process, use it from another; same Refs, over TCP or Unix socket.

nu.http

HTTP fabric.

Expose Nu Refs as HTTP endpoints, or build fabrics on top of any HTTP service. Nu meets the web.

nu.service

In-process service fabric.

Wrap any Python object as a Nu Service. Its methods become Refs — queries, actions, streams, commands — you compose into the tree.

nu.cc

Claude Code fabric.

Claude Code as a Ref. Prompt from your Nu tree, scope sessions with a bracket, get text and metadata back.

nu.mp

Multiprocessing fabric.

Run Nu trees in parallel across local processes. Backed by Python multiprocessing — no cluster required.

nustack

The interaction primitive.

  • Docs
  • Blog
  • Spec
  • Changelog
  • About
FabricsEach fabric, a Nu capability.
  • nu.kvPersistent state.
  • nu.uiReactive web UI.
  • nu.clusterCluster compute.
  • nu.llmOpenAI-compatible chat.
Explore all
ToolsThe libraries the fabrics stand on.
  • virtualsVirtual Python collections.
  • invisiblesRemote objects for Python.
  • rdbpyRocksDB bindings.
  • kh57Deterministic KV sampling.
Use cases
Jobs the stack fits.
  • AI agentsLong-running agents with memory.
  • Local-first appsApps that live on your machine.
  • ObservabilityLogs and metrics without a server.
  • Data-intensive appsTerabytes in one Python program.
  • Internal toolsScalable dashboards that fit in a single file.
© 2026 nustack