Overview
org-os is a way to run an organization as a git repository: its identity, data, decisions and memory are plain files (markdown and YAML) that people and AI agents both read and edit. One repository is one instance. Instances can declare each other as peers and share what they publish; git is the transport.
This page is a map. It says what an instance contains, what you run against it, and which page documents each part.
Framework repository versus a new instance. This page maps the framework repository, which is itself an instance. A new instance made with npm run clone:framework starts from a subset: it gets blank identity, memory and data files, its own federation.yaml, and none of modules/, integrations/, site/, VERSION.md, CHANGELOG.md or the framework’s own plan history (the agent-plans directory under docs/). Differences are called out below.
Honest scope. Every instance today is operated by the maintainer. The config-driven cloning engine (npm run clone:framework) works; the “fork the repo and answer an interview in place” path (npm run setup) does not work for a newcomer. See Setup for the path that does.
What an instance contains
MASTERPLAN.md SOUL.md IDENTITY.md USER.md AGENTS.md TOOLS.md identity: who the agent is working for
MEMORY.md DECISIONS.md HEARTBEAT.md memory/ memory: what happened, what was decided
data/*.yaml registries: the structured facts
.well-known/*.json schemas/ generated machine-readable descriptors
federation.yaml who this instance is and who it talks to
skills/<name>/SKILL.md what agents can do
dashboard.yaml what /initialize shows
docs/ knowledge/ packages/ scripts/ templates/ everything else (modules/ exists only in the framework repo)
Identity files (repository root)
An agent reads these at the start of a session. AGENTS.md lists the ten-step startup sequence: MASTERPLAN.md, SOUL.md, IDENTITY.md, USER.md, MEMORY.md, the latest memory/YYYY-MM-DD.md, HEARTBEAT.md, TOOLS.md, federation.yaml, then a parity check (npm run validate:schemas).
| File | Holds |
|---|---|
MASTERPLAN.md | Strategy and mandate. The file an operator edits to steer agents. |
SOUL.md | Mission, values, voice, boundaries. |
IDENTITY.md | Org name, type, governance and on-chain identifiers (EIP-4824 daoURI). |
USER.md | The operator: name, preferences, autonomy level. |
AGENTS.md | The agent operating manual: startup sequence, safety rules, autonomy. |
TOOLS.md | Local environment notes: endpoints, channels, database ids. Never credentials. |
CLAUDE.md is a short pointer for Claude Code. Documented in File structure and Agentic architecture.
Memory
MEMORY.mdis the index of long-term memory.DECISIONS.mdis the authoritative record of what was decided and why.HEARTBEAT.mdis the live list of active tasks and health checks.memory/YYYY-MM-DD.mdare daily logs, appended to and never overwritten. A new instance starts with an emptymemory/(a.gitkeep); the framework’s own logs and itsmemory/reports/stay in the framework repository.- Since 0.7, memory only the Council may read is not written to git:
npm run memory -- add --level <hat or role>posts it to the running Hub, which keeps it in its private store (see below)./closeasks of each entry whether it is for members or for the Council.
Plans: the framework repository keeps its own in the agent-plans directory under docs/, with its QUEUE.md there. A new instance gets docs/plans/ (queue: docs/plans/QUEUE.md) and docs/superpowers/{specs,plans,research}/, empty. Documented in File structure and Plans.
Data registries: data/
YAML files are the source of truth for structured facts: members, projects, finances, governance, meetings, ideas, funding opportunities, relationships, sources, events, channels, assets and more. Each file has a top-level key matching its name and an id on every entry. The framework repository’s own data/ has 18 files. A new instance does not get instances.yaml, skills-matrix.yaml or packages-matrix.yaml (framework-only), starts with members, projects, ideas, relationships, ecosystems and governance reset to empty scaffolds, and has the framework’s data/federation/frontier cache removed. Since 0.6, data/governance.yaml can also hold the org’s rules (who may propose and who decides each class of change; with none, the maintainer decides alone), and an instance may add systems, boards, proposals, library and visibility registries, which the admin app reads and writes. 0.7 adds tasks, collections (with each collection’s records in data/collections/<id>.yaml), imports, and, for a hub, federation-requests and invites; the workspace’s pages are Markdown files in pages/. After editing:
npm run generate:schemas && npm run validate:schemas
Documented in Data model. npm run validate:data and npm run validate:governance check the registries and the rules; they need packages/admin, so they run from the framework checkout with the instance’s path.
Generated descriptors: .well-known/ and schemas/
npm run generate:schemas writes from the registries into .well-known/: dao.json, members, proposals, activities, contracts and a governance.md (EIP-4824), grant pools, applications and attestation issuers when there are any (DAOIP-5, DAOIP-3), and meetings, projects, finances, ideas, knowledge and federation. It writes only what data/visibility.yaml makes public, and nothing until identity.daoURI is set in federation.yaml. skills.json comes from npm run generate:skills. A new instance ships the .json.template files, a dao.json the clone renders from its config, and a copy of the generator in scripts/lib/standards/. The files are never edited by hand. schemas/ holds the JSON-LD and JSON Schema definitions the generators and validators use, and the change classes the rules are written against (schemas/change-classes.json). Documented in EIP-4824 guide and Data model.
Federation: federation.yaml
Declares the instance’s identity and network, its peers, its upstream and downstream instances, and a trust level per peer (full, read, read-write or none; stored and shown, not enforced). It is opt-in: an instance with no peers is a complete instance. Since 0.7.4 an instance can ask to join a hub’s network from the Hub’s Federation page, and each side can publish its half of the link as a record in its own atproto account; that has not yet been run on live accounts. Documented in Federation.
Skills: skills/
Each skill is a directory with a SKILL.md (the cross-vendor Agent Skills format). The framework repository has 36 of them (a new instance gets the set it selected), plus skills/commands/ with the session commands (close, commit, handoff, skills, sync). SKILLS.md is generated by npm run generate:skills. Documented in Skill specification and Commands.
The rest
| Path | What it is | Documented in |
|---|---|---|
packages/, modules/ | Optional code and the module wrappers that turn it on (modules/ is framework-only; a new instance gets only the packages it enabled) | Modules, Packages |
scripts/ | The tooling behind every npm run command | Commands |
docs/ | Documentation and plans (a new instance gets the operator and protocol docs, not the framework’s history) | this site |
knowledge/ | Knowledge index (knowledge/INDEX.md; a new instance gets an empty one) | File structure |
dashboard.yaml | Which sections /initialize shows, and in what order | File structure |
templates/ | What the cloning engine renders a new instance from | Setup |
The Hub: packages/admin
The Hub is a web app for an instance: its records, the rules that decide changes, proposals, boards, outside systems (a Safe, a Hats tree, a Snapshot space) and, since 0.7, the workspace (pages, collections and their views, tasks, comments). A change to the instance’s files is a git commit; anything stricter than members is kept in a private store outside the repository (.org-os/private/ by default), with its own encrypted backups. data/visibility.yaml says what is public.
- On your own machine. Run it from the framework checkout, against an instance (
npm run admin -- --repo ../my-instance, onhttp://localhost:4680), or start the launcher (npm run open), which opens, creates or adopts an instance and starts its Hub. Whoever is at the machine acts as the member whosehandles.gitmatchesgit config user.email. See Opening an instance. - Hosted, for members. One container image (
deploy/hub/). Members sign in by an emailed link, with a Bluesky or Certified account (0.7.5, once the operator sets its key), or with a wallet when the org names a Hats tree; their Roles decide what they read. A hosted Hub writes nothing to its instance by default (HOUSE_INSTANCE_WRITES=off): it reads the instance and follows its remote, fast-forward only. Comments and per-member state still work. See Setup.
An instance does not receive packages/admin; the Hub runs from the framework checkout or from the image. Documented in Admin app and packages/admin/README.md.
What you run
npm run initialize:markdown # the dashboard: git state, projects, tasks, instance health
npm run initialize # the same state as JSON (what agents read)
npm run generate:schemas # registries -> .well-known/
npm run validate:schemas # schema and identity checks
npm run validate:structure # file and folder structure
npm run doctor -- --dir ../my-instance # read-only assessment, from the framework checkout (an instance does not carry the doctor)
npm run admin -- --repo ../my-instance # the Hub on http://localhost:4680, from the framework checkout
npm run open # the launcher on http://localhost:4679/launch: open, create or adopt an instance
npm run vault:snapshot -- "reason" # permanent ref for tracked and untracked files before a risky git operation
In an agent host, /initialize opens a session and /close ends it (memory written, heartbeat updated, commit). Hosts and slash commands are covered in Commands and Host integration.
Where to go next
- Start an instance: Setup, or Adopt with an agent.
- Run one day to day: Operator guide.
- Run the Hub: Admin app, Opening an instance.
- Connect it to other instances: Federation.
- Guard against losing files: Vault safety.
- Keep and publish knowledge: The knowledge management system.
- Check and update an instance: Instance doctor.
- Understand the design: Architecture.