00 Overview

This chapter defines the shared protocol frame that all Dina-compatible implementations build on.

Scope

Dina the product is a sovereign personal AI.

Dina the protocol is the standard for how humans and their software:

This protocol is not only a wire format. It is a layered interoperability contract.

Design Goals

The protocol exists so that:

Relationship to the Interaction Architecture

This protocol is grounded in the interaction architecture already defined for Dina:

Those documents answer:

This protocol document answers a different question:

Conformance Language

The keywords MUST, SHOULD, MAY, MUST NOT, and SHOULD NOT are used in the RFC sense.

This document distinguishes:

Protocol Shape

The Dina protocol should be strict only where interoperability actually requires strictness.

Its shape is:

Minimal Frozen Core

The core protocol should freeze only the pieces that must be identical across implementations:

Everything else should remain profile-based or extensible.

Profiles

Profiles are named bundles of additional behavior on top of the core protocol.

Examples include:

Profiles allow an implementation to be fully Dina-compatible without pretending to support every optional behavior.

Extensions and Namespacing

The protocol SHOULD allow growth through explicit extension points.

Extensions SHOULD be:

Unknown optional extensions MUST NOT cause protocol failure by themselves.

Failure should occur only when:

Capability Discovery and Negotiation

Conforming implementations SHOULD support both:

Static capability advertisement answers:

Live capability negotiation answers:

At minimum, a capability advertisement SHOULD declare:

Capability advertisement MAY be published through:

The protocol should standardize the semantics of capability discovery, not require one single UI or deployment shape.

Draft machine-readable artifacts for this layer live in:

Live negotiation SHOULD choose, for a given interaction:

Two Dina-compatible implementations MUST be able to fall back to their common subset whenever possible.

An implementation MUST be able to say:

without forcing the remote side to guess.

Protocol Layers

Dina has six core protocol layers and one cross-cutting interoperability layer.

  1. Identity
  2. Authentication
  3. Encrypted Storage
  4. Agent Safety
  5. Dina-to-Dina Communication
  6. Trust Network
  7. Interaction Contract

The first six are the infrastructure core.

The seventh is the application interoperability layer that makes all higher-level scenarios portable across implementations.

Core Entities

The protocol recognizes the following principal types:

The protocol also recognizes the following counterparty classes:

These matter because the same user request may route through different fulfillment topologies while preserving the same external contract.

Every conforming implementation SHOULD also expose enough capability metadata for another Dina-compatible implementation to determine: