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.