Hysen Labs
Open-source project
commontoolsinc/labs avatar
commontoolsinc

labs

The Common Fabric runtime.

37 stars13 forksTypeScript0BSD
DEEP OPEN-SOURCE ANALYSIS

Common Fabric platform

An early stage distributed computing platform that provides a runtime and storage layer where data carries its own policies and untrusted code cannot compile unless it honors them.

Core idea

Common Fabric is described as a nascent distributed computing platform providing both a runtime and a storage layer, with a design that instruments all information flow to enable safe and private collaboration at scale. The README frames the usual rule of networked software as handing your data to software and trusting it, and says this runtime inverts that: the software is untrusted and safety attaches to the data. Every datum carries its own policies, anything derived from it carries those policies too, and code that cannot prove it honors them does not compile. This is presented as a foundation rather than a finished product.

Concepts

The platform introduces three concepts. Patterns are reactive programs written in TypeScript with TSX that run in a secure sandbox, process and transform data, render interactive UIs using cf- prefixed components, react to changes from linked patterns, and connect to external APIs. Pieces are deployed instances of patterns running in Common Fabric spaces, and they can be linked to create workflows where data flows automatically between components. Spaces are collaborative environments where pieces live and interact, and users can run their own spaces or use hosted versions. The docs offer a why, a how it works, and a long form argument about the physics of trust.

Development setup

The quick start assumes mise for toolchain management and a pinned Deno 2 version. After cloning, mise trust and mise install set up the environment, deno task install-hooks adds Git hooks, and ./scripts/start-local-dev.sh starts local servers with the app reachable at localhost:8000. A Claude Code user can run slash commands to verify prerequisites, start dev servers, or take a tour. The architecture is a multi package monorepo: the backend called Toolshed is written in Deno 2 and provides the distributed runtime and storage, while the frontend called Shell is a web client built with Lit Web Components. The project is licensed 0BSD.

Editorial conclusion

Common Fabric is licensed 0BSD and reported thirty seven stars at indexing, and the README explicitly marks the work as early and fast moving with no API stability yet.

DEEP OPEN-SOURCE ANALYSIS

Official sources

Community notes

Community notes