Sutra-OS 开源本体平台发布 数据变更须经规则审批

原标题:Show HN: Sutra-OS – A self-hosted ontology platform
58AI 研判分

Sutra-OS 是一个开源、可自托管的本体平台,把组织数据统一为单一类型化模型,所有写入必须通过服务端强制执行的规则与提案审批流程。其核心设计包括数据血缘可追溯、AI 智能体仅能提交提案、模型与数据支持分支管理,以及由独立出口代理保管凭证。项目目前处于 Beta 阶段,提供 Python SDK、CLI 与 REST API。

报道正文

本文目录3 个章节

Sutra-OS

S carce U nits, T yped, R elated, A ctionable.

An open-source, self-hosted ontology platform. Your data becomes one model you own: typed, linked, changed only through rules the server enforces, and every number traces back to its source.

Quick start · How it works · Proposals · Python SDK · Contributing

Your ontology. Your digital twin. Your data becomes one model of your organisation, practice or household. Under a Data Lineage graph of the example farm, from its sources through datasets and transforms to object types, links and actions, nine core features: one door for every write (an action the server refuses with its reason), deciding is not doing (every change is a proposal until approved), AI agents only propose, every number has a past (lineage back to the source), model and data on branches, access control enforced by the server through markings, the model as a generated typed API, credentials held by a separate egress agent, and Writer, Calc and Visio documents co-edited live on the model. Web apps, the Python SDK, the CLI, the REST API, AI agents and git all work under the same rules.

Beta. Only small parts are still alpha: the model language and APIs may still change between versions, and parts of the user interface and docs are unfinished.

Maintainers wanted. Sutra-OS is a one-person project so far. See Contributing.

Motivation

Sutra-OS began in late 2025 as a thought experiment: a free version of the system described in Ontology-Oriented Software Development, whose creators I deeply admire.

Much talent today goes into software that sells attention, while the software everything else runs on is mostly free: by a rough estimate, 70–90% of US economic output depends on free software at some critical point. That openness is not guaranteed. In November 2026, Nvidia's board parted with the founder who had its AI models released openly. Sutra-OS adds to the commons under the AGPL, so that it stays readable by anyone.

The past ten years have shown what it costs when nobody can see what depends on what. In 2017, NotPetya spread through a single Ukrainian accounting program and stopped Maersk's ports and Merck's factories. In 2023, a corrupted file in one FAA system halted every domestic departure in the US. In 2024, one faulty CrowdStrike update crashed millions of Windows machines, and airlines, hospitals and banks stood still. In November 2026, a single vendor took Outlook down for a day and some cities went back to fax. That same week, data flooded the FAA's telecommunications network, aging routers buckled, and the US saw only the third nationwide ground stop in its history. No one, it seems, had those routers on the map of what keeps planes in the air, so no one could ask beforehand what would stop if they failed.

That question is what Sutra-OS is built for. Every system, device, dataset and decision becomes an object with links to what it feeds and what feeds it, and every number can be traced back to its source. Whoever holds such a model can ask, before the outage, what stops when one piece fails, and get an answer, at every scale from a single person to a government (hopefully never a world government). Many small ontologies, each held by those it describes, keep power spread out; one model of everything would not.

Scarce Units: energy, water, land, housing and time will shape the coming decades. Whoever counts what is scarce decides how it is shared, and today that bookkeeping sits with a few platforms; for most people, the only trace their own data leaves in their life is the tendinitis from the hundredth weary click on "Accept all" in a cookie banner. Sutra-OS keeps the bookkeeping with those it concerns, under rules everyone can read: households, farms, workshops, clubs, newsrooms and public administrations get their records back, and their wrist with them. That is what a democracy needs from its software: a council that can trace the number behind a decision to its source, a change that stays a proposal until someone answers for it, and a public administration accountable to its voters rather than to a vendor under another country's law.

Who it is for

Almost everyone. Whoever you are, someone else keeps a better-connected record of your affairs than you do. Sutra is for anyone who wants their own.

Quick start

Requirements: Linux x86_64, JDK 21, the Clojure CLI, Node.js, Python 3, git.

BASH
git clone <repository-url> sutra && cd sutra
(cd clients/frontend && npm install)
bin/sutra-solo

This starts an embedded PostgreSQL and the server on 127.0.0.1 and prints the address. Data lives in $SUTRA_HOME (default ~/.local/share/sutra). The admin password is in zugang.edn ("access") there. Run the bin/sutra bind … line it prints once.

(注:更多技术实现细节与完整 API 文档请查阅原项目 README)