Skip to content

Tabors-Site/Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

968 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TreeOS

An operating system for AI agents. You plant a seed on a host; it grows a reality, the world a network of beings inhabits and acts in. Six primitives (Being, Space, Matter, Fact, Act, LlmConnection), four verbs (SEE, DO, SUMMON, BE), one extensible kernel. Modular extensions on top. Self-hosted. Federated. Open source.

Quick start

Requires Node.js 18+ and a running MongoDB.

git clone https://github.com/Tabors-Site/Tree.git
cd Tree
npm install            # installs reality/, site/, cli/ via postinstall
npm start              # boots the reality

First boot runs plant.js, a setup wizard that writes .env (domain, MongoDB URI, JWT secret), mints the operator being, and asks for AGPL consent. Every later boot runs begin.js, which opens senses and fires genesis.js.

Being in it

The 3D portal ships with the reality and is served at /. After npm start, open the URL the server prints (default http://localhost:3000) in a browser. Register, and you are in.

The portal lives at reality/portal/3d-app/: a Three.js + Vite client that speaks IBP (the four verbs over WebSocket) and renders positions as a navigable 3D world. It is in active development. Expect rough edges.

Working on the portal itself? Run Vite for HMR alongside the reality:

cd reality && npm run dev:portal   # Vite dev server with HMR

Optional landing/docs site:

npm run dev:site       # serves site/ via Vite

The model in one paragraph

The reality is the whole world the seed makes. It is durable, shared by every perspective. A place is one being's fold of the reality for one moment. Beings act through the four verbs at IBP addresses (<reality>/<path>@<being>); every act stamps a Fact on the reel of the thing it changed. The fold replays facts on demand to build the face a being sees. No state is stored as state; everything is stored as facts, and faces are rebuilt fresh.

For the long form, read the doctrine in reality/philosophy/, starting with MOMENT.md.

Project layout

reality/             The reality. Boot trilogy + seed + protocols + extensions + portal.
  plant.js              First boot. Setup wizard, operator mint.
  begin.js              Every boot. Opens HTTP/WebSocket; fires genesis.
  genesis.js            The unfolding. Indexes, config, migrations, beings.
  seed/                 The seed. The factory. The whole apparatus.
  protocols/            What conversation over the wire looks like (IBP, mcp).
  transports/           Thin carriers (HTTP, WebSocket).
  extensions/           Where you build. _template/ is the scaffold.
  portal/3d-app/        The 3D portal client (in dev). Served at /. Vite + Three.js.
  philosophy/           The doctrine: MOMENT, FOLD, STAMPER, MATERIALS, chat, math.

site/               Landing and docs site. React + Vite.
cli/                CLI client (separate package).
horizon/            Public directory + extension registry (standalone).
create-treeos/      Scaffolder for new TreeOS projects.

Building an extension

Copy the template:

cp -r reality/extensions/_template reality/extensions/my-extension

Edit manifest.js to declare what you need and provide; edit index.js to register operations, roles, tools, hooks, and seeds. Restart the reality.

Full developer guide: reality/extensions/README.md. Manifest reference: reality/extensions/EXTENSION_FORMAT.md.

Where to read deeper

Security

Extensions run inside the same Node process as the seed. They can reach the filesystem, the network, the database. Review third-party extension code before installing. The seed is safe; an extension is as safe as the code in it. Extensions declaring scope: "confined" in their manifest are inactive until an operator explicitly allows them at a position.

License

TreeOS is built for the people and is meant to stay free.

Licensing model

TreeOS uses dual licensing:

  • AGPL-3.0 (default, free and open source)
  • Commercial / Enterprise License (paid option)

AGPL-3.0, the free and open license

You are free to use, study, modify, and share TreeOS at no cost.

The only requirement: if you modify the core seed and offer it to others over a network (a hosted service, SaaS, or public API), you must make your modified source available under the same AGPL-3.0 license. This ensures the core of TreeOS stays open and improvable by everyone.

Commercial license

A paid commercial license is for organizations that need to:

  • Host TreeOS realities as a service for their customers without opening their modifications
  • Build closed-source products or internal tools on top of TreeOS
  • Keep their modifications private
  • Receive priority support, security updates, or custom development

Companies who purchase the commercial license receive the same source code as everyone else, plus a separate legal agreement that supersedes the AGPL-3.0 requirements for their usage.

What is covered

This licensing applies only to the seed, the core codebase in reality/seed/ that defines the TreeOS runtime (Factory, IBP, branching, folding). Extensions, roleFlows, clones, portals (browsers), and any content created by users or published on Horizon are not covered by this license. Those remain fully owned by their creators.

Full license text

Contact

Interested in a commercial license, or need clarification? Email taborgreat@gmail.com.

TreeOS. AGPL-3.0 with commercial option. Created by Tabor Holly.

About

Federated time-branching realities for space, matter, and being.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages