Realms GOS A Governance Operating System
for the era of alignment
Click or press → to startTap to start
Reminder
The four ideas the rest of this deck stands on. The long version →
What the World Computer model is
Natural resources are the hardware, institutions the operating system, public services and companies the applications — and we are the users.
What an action is
Everything a government does is a stream of actions: A does B to C, watched by D, affecting E — the public, whose money it is.
What defection and cooperation are
An action is defective when A and C gain and E pays. What decides it is the cost of defecting: cheap, and capture is the rational move; costly, and cooperation is the most profitable behaviour.
What a GOS is, and why it matters
A Governance Operating System puts the rules in code and runs them where everyone they affect can check. Decentralized digital checks and balances make defection expensive, so integrity no longer depends on trusted intermediaries.
From the European Union to a district of València
Each level has its own bodies and its own subdivisions. The rest of this presentation follows València.
- The EU: a sourceIts legislation applies in 27 States, but it runs no realm.
- Spain: a realmIts 17 communities and 2 autonomous cities make legislation too, so each is a realm with Spain as its parent.
- The Comunitat Valenciana: a realmEach of its 542 municipalities is a realm. EMSHI, a water body of 51 of them, is a source beside the line.
- València: one realm, 19 districtsThe districts are zones inside it. Its 808,000 residents fill about 404 quarters.
Map data: Natural Earth · IGN, CC BY 4.0 · Ajuntament de València, CC BY 4.0
Layers × domains = chapters, in one repository
Legislation is arranged along two axes. Where a layer and a domain cross there is a chapter: one Python file.
- A layer is a body that legislatesThe EU, Spain, the region, a water authority, the town. Each one works inside the limits of the one above.
- A domain is a subject, named by GGGTax, procedure, register and so on. Every GOS that follows GGG uses the same names.
- A chapter is one Python fileOne body's legislation in one domain. A missing file is an empty chapter: València writes no register, it runs Spain's.
- Each domain runs top to bottomValència's tax is Spain's chapter, then its own. The EU and the region have none, so they are skipped.
- The codex repository: realms-codicesA folder per body, nested as the bodies are. Each row of the grid is a folder, and each filled cell a file.
A chapter overrides what the layer above allows
Spain's tax chapter marks what a town may change. València changes two settings and one method, and Spain's limits still apply.
- The layer above marks each member
overridable: a lower layer may redefine it.fixed: it may not. Aforbidis never overridden or removed. - València redefines threeIt is a capital with surface public transport, and it gives large families a bonus. It inherits everything else.
- Spain's forbid runs on València's valuesThe cap becomes 1.10 % + 0.07 + 0.07 = 1.24 %. A higher rate is refused when it is proposed.
- Checked at install, enforced at every callRedefining a
fixedmember fails the install. Every layer's forbids apply to every operation.
What a realm keeps: nine areas, one foundation
GGG names the records a government keeps, 60 kinds in all, grouped in nine areas. Follow one decision around the wheel: a bike lane in a city.
Different GOS, one interface: ggg.did
A realm on Realms GOS and a realm on another GOS answer the same methods. Tools, and other realms, work with both unchanged.
- One interface, any implementationRealms GOS is Python on Basilisk; GGG's test GOS is Motoko. Each lists GGG in
icrc10_supported_standardsand answersggg.did. - Tools are written onceggg-mcp lets your own AI assistant read any compliant realm and act under the power of attorney you grant. The suite checks any GOS.
- Realms link across GOSValència can take the region's legislation, whatever the region runs: a vote on each side, and calls only between capitals.
València sets its tax for 2027
From the proposal to each owner's invoice, every step is a GGG operation: checked first, then recorded. The figures are a sample.
- The council proposesA council member files the 2027 tax policy, with a rate of 1.20 %.
- Every layer checks itSpain's cap for València is 1.24 %, so it passes. At 1.30 % it would be refused on filing.
- The realm votes, and the date is fixedOnce accepted, it waits for 1 January 2027, the time written in the proposal.
- Each parcel is assessedSpain's chapter computes the tax; València's takes 60 % off for a large family.
- Everything is on the recordEach step is an event, published in the realm's Official Journal.
A realm: quarters, a codex, extensions, and Casals
Every canister of a realm runs the same codex and the same extensions, each from a public repository and pinned by checksum. Casals runs the canisters.
- A realm, split by peopleA capital quarter, and as many quarters as it needs, each holding about 2,000 members.
- One codex, from realms-codicesEvery quarter runs the same codex, with the same checksum. A quarter that runs another is flagged as drifting.
- Extensions, from realms-extensionsVotes, budgets, land, procurement, tax: each a sandboxed backend with its screens, installed by the realm's vote.
- Casals runs the canistersIt creates, upgrades, snapshots and rolls back the realm's canisters as one unit, and keeps their cycles topped up.
A shop for governance, and who pays whom
Anyone can build something a realm can use. Anyone can browse. A realm takes nothing it has not voted for.
- Three kinds of thing to installFeatures a realm can add, ready-made legislation, and AI assistants it can put to work. Reviewed ones carry a mark.
- Nothing arrives uninvitedNo one can push anything into a realm. Its members vote, and the realm fetches it itself.
- Realms pay the people who buildBuild it once, and every realm that adopts it pays you. A small town pays the same way a city does.
- Being trusted costs the builder, not the realmA licence paid by the month pays for the audit behind the mark. Browsing, and publishing without it, stay free.
The marketplace's economics
Open to anyone who builds, trusted through review, and chosen by each realm.
Build once, for every realm
- Publish extensions, codices and assistants, with or without a licence
- Make a listing free, or set its price. Each realm's purchase is recorded for its developer
- A developer licence buys an audit: a Verified badge, and a place in the verified-only filters and rankings
Choose by their own vote
- Browse for free, and install only what their members approve
- Buy a listing once; later versions install as they are approved
- Pay their own running costs: the cycles of their canisters, kept topped up by Casals
Trust, version by version
- Approve each version before any realm can install it
- Audit a licensed developer's listings on request
What realms use rises
- Installs and likes rank the listings
- No lock-in: a realm can pin code by its checksum, or trust other approvers
One program, one path for every call
Every canister of a realm, the capital and each quarter, runs the same Python program. Cedar answers the yes-or-no questions, a sandbox runs the code the realm did not write, and plain Python does the rest.
read and run take an operation's name and JSON; the ggg_* methods of ggg.did take Candid.chain.pyOne module reaches the rest of the world: the IC's keys and HTTPS outcalls, token ledgers, other realms, the file registry and the marketplace.Legislation as code, run by its community Realms GOS: open source, on the Internet Computer, following GGG
- realmsgos.orgRealms GOS
- realms-gosthe GOS, its CLI and the marketplace
- realms-codiceslegislation as code, layer by layer
- realms-extensionsthe first-party extensions
- Casalsthe canister orchestrator
- GGGthe standard it follows