Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

HIVE

Hierarchical Interoperable Verified Exchange

Built for the next 50 years of the Internet.

An open, federated communications protocol suite designed to replace SMTP, IMAP, and POP3 with a secure, object-based, event-driven architecture for humans, organizations, services, and AI agents.


Status

Stage: Active Design — Pre-Draft

All documents in this repository are working drafts.

Nothing in this repository is currently normative and all specifications are subject to change.


What is HIVE?

HIVE is NOT "SMTP 2.0".

HIVE is a ground-up redesign of asynchronous digital communication built on modern assumptions:

  • Always-on, high-bandwidth connectivity
  • Mobile-first, offline-capable clients
  • Cryptography mandatory at every layer
  • Immutable, content-addressed objects
  • Event-driven, real-time synchronization
  • Federated without any central authority
  • AI agents as first-class participants
  • 50+ year design horizon

HIVE replaces the message-as-text-blob model with a structured object graph, replaces polling with push-driven event streams, replaces identity-by-mailbox with cryptographically verifiable identities, and replaces trust-by-convention with zero-trust cryptographic proofs at every layer.


Vision

HIVE provides a universal communications fabric capable of supporting:

  • Email
  • Messaging
  • Calendars
  • Tasks
  • Contacts
  • Forms
  • Polls
  • Notifications
  • Collaboration
  • Machine-to-machine communication
  • AI agents

while preserving the open, decentralized nature that made email successful.


Core Design Principles

  1. Objects, not text blobs.
  2. Immutable content-addressed objects.
  3. Event-driven architecture.
  4. Persistent transport connections.
  5. Delta synchronization.
  6. Identity-centric design.
  7. Mandatory encryption.
  8. Native end-to-end encryption.
  9. Rich message types.
  10. Federation without central authorities.
  11. Multi-device operation.
  12. AI agents are first-class identities.
  13. Vendor extensibility without fragmentation.
  14. Protocol evolution must preserve interoperability.
  15. No assumption inherited from SMTP, IMAP, or MIME is retained unless objectively superior.

Major Features

Real-Time Communication

Persistent QUIC connections eliminate polling and folder synchronization.

Content Addressing

Objects are immutable and identified by cryptographic hashes.

Delta Synchronization

Clients replicate changes instead of entire mailboxes.

Native Threading

Conversations are first-class objects.

Rich Object Types

Email is only one application among many.

Identity-Based Trust

Trust follows identities rather than IP addresses.

AI-Native

AI agents are treated as authenticated protocol participants.

Future-Proof

Designed to remain relevant for decades.


Architecture Layers

Layer Purpose
Foundation Encoding, hashing, compression, IDs
Transport QUIC and HTTP/3
Identity Authentication and identity management
Federation Discovery and routing
Object Model Messages and structured objects
Synchronization Delta replication
Event Streams Real-time updates
Search Structured search
Attachments Binary object storage
Encryption Transport and object encryption
End-to-End Encryption Multi-device secure messaging
Reputation Trust and anti-abuse
APIs REST, gRPC, GraphQL, WebSocket
AI Framework Human and agent communication
Extensions Vendor-neutral extensibility
Legacy Bridges SMTP, IMAP, POP3 interoperability

Protocol Families

  • HTP — HIVE Transport Protocol
  • HIP — HIVE Identity Protocol
  • HFP — HIVE Federation Protocol
  • HOP — HIVE Object Protocol
  • HSP — HIVE Synchronization Protocol
  • HEP — HIVE Event Protocol
  • HEP2 — HIVE Encryption Protocol
  • HRP — HIVE Reputation Protocol
  • HAP — HIVE Application Protocol

Repository Structure

/rfcs                Protocol specification documents (IETF-style RFCs)
/adrs                Architecture Decision Records
/threat-models       Formal threat models per layer
/reference-sequences Sequence diagrams for protocol flows
/wire-formats        Binary and textual wire format specifications
/schemas             Canonical object schemas
/capabilities        Capability negotiation specifications
/test-vectors        Normative test vectors
/conformance         Conformance requirements and test suites
/registries          IANA-style extension registries
/examples            Annotated example protocol exchanges
/bridges             Legacy protocol bridge specifications
/whitepapers         Explanatory and motivation documents

RFC Series

Core Protocol (0000–0099)

Number Title Status
HIVE-0000 Project Constitution Draft
HIVE-0001 Architecture Overview Draft
HIVE-0002 Foundation Layer Draft
HIVE-0003 Transport Protocol Draft
HIVE-0004 Identity Protocol Draft
HIVE-0005 Federation Protocol Draft
HIVE-0006 Object Model Draft
HIVE-0007 Synchronization Protocol Draft
HIVE-0008 Event Protocol Draft
HIVE-0009 Search Protocol Draft
HIVE-0010 Attachment Protocol Draft
HIVE-0011 Encryption Framework Draft
HIVE-0012 End-to-End Encryption Draft
HIVE-0013 Reputation Framework Draft
HIVE-0014 Anti-Abuse Framework Draft
HIVE-0015 Storage Architecture Draft
HIVE-0016 APIs Draft
HIVE-0017 ACLs and Permissions Draft
HIVE-0018 Multi-Tenant Architecture Draft
HIVE-0019 Device Synchronization Draft
HIVE-0020 AI Agent Framework Draft
HIVE-0021 Extension Framework Draft
HIVE-0022 Legacy Bridges Draft

Application Objects (0100–0199)

  • HIVE-0100 Email Objects
  • HIVE-0101 Chat Objects
  • HIVE-0102 Calendar Objects
  • HIVE-0103 Task Objects
  • HIVE-0104 Contact Objects
  • HIVE-0105 Poll Objects
  • HIVE-0106 Form Objects
  • HIVE-0107 Announcement Objects
  • HIVE-0108 Invoice Objects
  • HIVE-0109 AI Payload Objects

Security (0200–0299)

  • HIVE-0200 Cryptographic Algorithms
  • HIVE-0201 Key Management
  • HIVE-0202 Signatures
  • HIVE-0203 Trust and Reputation
  • HIVE-0204 Spam Prevention
  • HIVE-0205 Federation Trust
  • HIVE-0206 Quantum Migration Strategy

APIs (0300–0399)

  • HIVE-0300 REST API
  • HIVE-0301 gRPC API
  • HIVE-0302 GraphQL API
  • HIVE-0303 WebSocket API

Legacy Bridges (0400–0499)

  • HIVE-0400 SMTP Bridge
  • HIVE-0401 IMAP Bridge
  • HIVE-0402 POP3 Bridge
  • HIVE-0403 Exchange Bridge
  • HIVE-0404 JMAP Bridge
  • HIVE-0405 Matrix Bridge
  • HIVE-0406 ActivityPub Bridge

ADR Index

See /adrs for the complete list of Architecture Decision Records.


Goals

  • Open standards
  • Interoperability
  • Security by default
  • Vendor neutrality
  • Self-hosting
  • Federation
  • Long-term maintainability

Non-Goals

HIVE is not intended to provide:

  • Centralization
  • Vendor lock-in
  • Dependence on any cloud provider
  • Mandatory commercial services
  • Proprietary extensions that fragment interoperability

Governance

HIVE is intended to be developed as an open standards project.

Implementations are free to innovate provided they preserve interoperability.

Architecture first. Code last.


Contributing

See CONTRIBUTING.md for the process for submitting proposals, revisions, and comments.

All contributors MUST agree to the terms defined in LICENSE.md before submitting contributions.


License

HIVE uses a layered licensing framework.

  • Specifications and documentation are released under the HIVE Open Specification License.
  • Schemas and registries are released under MIT.
  • Reference implementations are released under Apache License 2.0.

See LICENSE.md for details.


Motto

Built for the next 50 years of the Internet.


"Architecture first. Code last."

About

HIVE is a universal asynchronous communications fabric for the modern Internet—an open, federated protocol suite for email, messaging, collaboration, and AI, built to succeed SMTP, IMAP, and POP3.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors