OpenEarth Network

A federated platform for governed AI, data commons, and company-owned models. Built on the Matrix protocol. Open standards. No lock-in.

View on Codeberg Read the Protocol Spec

What is OpenEarth?

An open-source ecosystem for sovereign data and AI — from individual organisations to federated commons.

Sovereign AI Governance

Record every AI interaction as signed, end-to-end encrypted Matrix events. Approval workflows, kill switch, cost tracking. EU AI Act compliant by architecture.

Data Commons

Consent-gated data sharing on federated Matrix rooms. Ostrom-governed — clear boundaries, proportional contribution, right to withdraw. GDPR-native by design.

AI Commons

Train open-source models (Mistral, Qwen, Gemma) on consented commons data. 7-step pipeline: proposal, consent, ethics review, training, evaluation, publication.

Dual AI Pathway

Use external AI (Claude, GPT) via governed gateway AND/OR build internal models on your own data. Model router decides per query. Same audit trail for both pathways.

94 Protocol Events

foundation.protocols.* — 4 data + 17 AI governance + 42 Claude + 11 EUDR + 7 legal events. Apache 2.0 spec. Free to implement on any Matrix homeserver.

Federated by Design

Matrix protocol — sovereign homeservers federate freely on the open internet. Any scale: laptop to data centre. On-prem, sovereign cloud, or paired deployment.

Supply Chain Traceability

EUDR compliance: geolocation, satellite deforestation verification, chain-of-custody, due diligence statements — all recorded as immutable Matrix events.

Company AI Platforms

Each organisation gets sovereign infrastructure: own homeserver, own data vault, own AI models, own branded messenger. No lock-in. Handover option at any time.

Architecture

Three layers — each independently useful, together a complete sovereign AI stack.

Layer 0: AI Governance Bridge

Transparent HTTP proxy. Records all AI interactions as foundation.protocols.ai.* events. Set one environment variable and go.

Matrix Homeserver

Sovereign, E2EE, federated. Your infrastructure — on-prem, sovereign cloud, or both (paired deployment with live sync).

OpenEarth Messenger

Open-source Kotlin/Compose client. 27 custom views, approval buttons, cost dashboards. White-label for branded client apps.

Protocol spec: protocols.foundation · Bridge: Trixnity 4.22.7 (Kotlin) · Messenger: Trixnity 5.4.0 + Compose Multiplatform · Split licensing: Apache 2.0 (events) / AGPL 3.0 (views, app)

Get Started

Build from source, join the community, or read the protocol spec.

1

Build the Messenger

Clone the repo and run the desktop app:

git clone https://codeberg.org/openearth/openearth-messenger.git
cd openearth-messenger
./gradlew :openearth-app:run
2

Join the Matrix Room

Community discussion, development, protocol design:

#openearth:matrix.openearth.network

Protocol specification discussion:

#foundation-protocols:matrix.openearth.network
3

Read the Protocol Spec

94 event types documented with JSON schemas, design principles, and implementation guides.

protocols.foundation

Developed and supported by VakeWorks AB

OpenEarth is a community infrastructure project. Protocol spec maintained by The Protocols Foundation.

We welcome co-sponsors and organisations interested in sovereign, federated data and AI infrastructure.