A federated platform for governed AI, data commons, and company-owned models. Built on the Matrix protocol. Open standards. No lock-in.
An open-source ecosystem for sovereign data and AI — from individual organisations to federated commons.
Record every AI interaction as signed, end-to-end encrypted Matrix events. Approval workflows, kill switch, cost tracking. EU AI Act compliant by architecture.
Consent-gated data sharing on federated Matrix rooms. Ostrom-governed — clear boundaries, proportional contribution, right to withdraw. GDPR-native by design.
Train open-source models (Mistral, Qwen, Gemma) on consented commons data. 7-step pipeline: proposal, consent, ethics review, training, evaluation, publication.
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.
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.
Matrix protocol — sovereign homeservers federate freely on the open internet. Any scale: laptop to data centre. On-prem, sovereign cloud, or paired deployment.
EUDR compliance: geolocation, satellite deforestation verification, chain-of-custody, due diligence statements — all recorded as immutable Matrix events.
Each organisation gets sovereign infrastructure: own homeserver, own data vault, own AI models, own branded messenger. No lock-in. Handover option at any time.
Three layers — each independently useful, together a complete sovereign AI stack.
Transparent HTTP proxy. Records all AI interactions as foundation.protocols.ai.* events. Set one environment variable and go.
Sovereign, E2EE, federated. Your infrastructure — on-prem, sovereign cloud, or both (paired deployment with live sync).
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)
Build from source, join the community, or read the protocol spec.
Clone the repo and run the desktop app:
git clone https://codeberg.org/openearth/openearth-messenger.git
cd openearth-messenger
./gradlew :openearth-app:run
Community discussion, development, protocol design:
#openearth:matrix.openearth.network
Protocol specification discussion:
#foundation-protocols:matrix.openearth.network
94 event types documented with JSON schemas, design principles, and implementation guides.
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.