Skip to content
nustackdevPublic

About

Your computational space. Human-first. Agent-native.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Repository files navigation

nuspace

nuspace

Your computational space. Human-first. Agent-native.

Python PyPI Downloads License

Discord X

Quick start · Gallery · Usage · Docs · Website

A society of tiny interconnected programs that hold data, run logic and render UI. Together, they compose into your: second brain, AI systems, data stack, software factory, research lab. Humans get the space as UI, agents get it as code.

Quick start

pip install nuspace && nuspace run --with quickstart

Python 3.10 or newer. A browser opens on your space with a quickstart page. To let your agent set it up instead, see With your agent.

demo-hero.mp4

Tour: nustack's own org space, built from an empty page.

Gallery

Spaces built with nuspace. Each one is a set of small programs talking to each other.

Ops · Run your ops from one space.

A release breaks, the incident pages, a rule rolls it back.
Made of: storefront · deploy job · log · incident · rollback rule

memes.mp4
Dashboards · A spreadsheet for anything, live.

Orders stream in, every chart and metric follows.
Made of: orders stream · events table · export job · metric · price button

training.mp4
Design system · Your design system, one live spec.

Tokens, mocks and checks that follow every change.
Made of: tokens · proposal · release job · color checker

research.mp4
ML training · Train models in your own ML lab.

Launch runs, watch them learn, stop them by rule.
Made of: run launcher · metrics · model · compare page · stop rule

data.mp4
Research · Sources, claims and scores, kept live.

A paper flips a claim everywhere, an eval reruns.
Made of: probe · papers · claims · eval run

design.mp4
Memes · A blockchain, read live.

Every launch and trade, streamed into pages.
Made of: solana stream · coin pages · ranking · radar

ops.mp4
Movies · Your personal movie tracker.

Films, people and timelines, all linked, all live.
Made of: film base · log import job · tonight page · ratings

movies.mp4

Program anything

The data, the logic, the UI, even the space itself.

  • Any data. A note, a table, a song, a billion-entry log, a genome.
  • Any logic. Branches and loops, reactions, parallel runs and races.
  • Any UI. A cell draws itself. Text, tables, charts, forms.
  • It's live. Change one cell and everything that depends on it follows. UI too.
  • Work scales. The same cell runs in a worker, across processes or on a cluster.
  • Data scales. A counter or a billion rows, same cell. Storage shards underneath.
  • It's made of itself. The space has the same shape as its cells, so you and your agents can program it too.

How it works

A space is made of nus: small programs written in nu, a Python programming model. A nu doesn't wire a database, a backend and a UI together. It names what it touches as Refs (a table row, a chart, an LLM, a file) and says what to do with them as Interactions (read, write, branch, compose).

  • Every cell on a page is a nu: a note, a table, a chart, a job.
  • nuspace runs hundreds of them as one live system. What one nu names, another can watch, steer or build on.
  • The space itself is made of nus, so you and your agents program it the same way.

Usage

# run the nearest space up from here, else your home space
nuspace run

# make the current directory a space, data in .nuspace/
nuspace init

# a throwaway space
nuspace run --tmp

# no web, just the space and its kernel
nuspace run --headless

Try a full app from the demos:

pip install nudemos
nuspace run --with nudemos.movies

With your agent

Give your agent the nu and nuspace skills, then ask it to install nuspace and build with you.

Claude Code
claude plugin marketplace add nustackdev/nuskills
claude plugin install nuskills@nustack

Adds /nuskills:nu and /nuskills:nuspace. Then ask:

Install nuspace and open my space with the quickstart page. Set up whatever's missing.
Codex
codex plugin marketplace add nustackdev/nuskills

Run /plugins in a session and pick nuskills. Then ask:

Install nuspace and open my space with the quickstart page. Set up whatever's missing.
Other agents
git clone https://github.com/nustackdev/nuskills
mkdir -p ~/.agents/skills
cp -r nuskills/skills/nu nuskills/skills/nuspace ~/.agents/skills/

Or into a repo's .agents/skills for one project. Then ask:

Install nuspace and open my space with the quickstart page. Set up whatever's missing.

The stack

One primitive, all the way down. nuspace sits on a small stack, each layer its own repo:

  • interaction-model: the theory, every resource a Ref, Interactions first-class
  • nu: the primitive, the interaction model in Python
  • nustd: the standard library, storage, UI, workers and more
  • nuspace: the space that runs nu programs (you are here)
  • nuverse: the ecosystem, ready-made packages one install away

Community

Building on nuspace? Add the badge:

nuspace

[![nuspace](https://img.shields.io/badge/built%20with-nuspace-%237A4CE0)](https://github.com/nustackdev/nuspace)

License

GNU Affero General Public License v3.0. See LICENSE.md.

About

Your computational space. Human-first. Agent-native.

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages