An Operating System for Context
Persistent, structured memory that AI can navigate. Not another chat window. A filesystem for knowledge that compounds over time.
Example App built on the protocolA self-hosted system where you and AI build hierarchical knowledge structures. Trees replace flat conversations with navigable, persistent context.
Nodes with notes, trackable values, and children. Navigate with cd and ls. Build with mkdir. Not flat files. Not chat logs. Structure that persists.
Three strict modes. Chat reads and writes. Place adds content without conversation. Query reads only, changes nothing.
goal, plan, task, knowledge, resource, identity. Six core types. Custom types valid. Free-form strings that tell agents what they're looking at.
The CLI works like a regular terminal. cd, ls,mkdir, rm, mv. If you know a shell, you know TreeOS.
Your server. Stores trees, runs AI, serves the API. First boot walks you through config and extension selection.
treeos landPoint the CLI at any land. Register. Connect your own LLM or use the tree owner's model.
treeos connect http://localhost:3000Name it. Type it. Navigate with cd and ls. Build branches with mkdir. Add notes and track values.
treeos mkroot "Fitness" --type goalChat creates and edits. Place adds content where it belongs. Query reads without changing anything. You and AI work the same tree.
treeos chat "break this into weekly tasks"Core protocol: nodes, notes, values, types, AI modes. Everything else is a package you install, disable, or build.
Self-host. Pick extensions from the registry. Your data, your models, your rules.
Connect to an existing land. Register, bring your own LLM or use the tree owner's. Start building.
Lands connect through the Canopy protocol. The directory handles discovery, public tree indexing, and the extension registry.
Direct land-to-land connections. Signed requests.
Search lands and public trees across the network.
Cross-land invites. Remote contributions. AI proxy.
Publish and pull extensions. Shared package library.
One package. Two commands.