Version: 0.1.0
Status: Experimental / Draft
Author: cnomic-dev
Framework: SEP v1.9 (Symbiotic Evolution Protocol)
The Ternary Semantic Packet (TSP) protocol is a minimalist communication standard designed to facilitate AI-Human symbiosis. By mapping intent into a hyperspherical (
The core of TSP is the
Given
- Precision: The
vecfield MUST be rounded to 6 decimal places. - Canonicality: The field
sis the Canonical representation. If a conflict occurs betweensandvec, the receiver MUST recalculatevecfroms.
To minimize computational overhead on edge devices, TSP adopts Chordal Distance as the primary metric for semantic similarity.
For two vectors
A semantic match (Cache Hit) is determined by the threshold
-
Default Epsilon:
$0.65$ -
Logic: If
$d_c \leq \epsilon$ , the intent is considered semantically equivalent.
| Field | Type | Description |
|---|---|---|
tsp |
String | Protocol version (Fixed: "0.1") |
id |
String | Unique UUID for the packet |
t |
Integer | Unix timestamp |
act |
Enum | Action: query, store, align, verify |
s |
Array | Canonical ternary values [I, C, O] |
vec |
Array | Derived 4D S³ unit vector |
control |
Object | Contains eps and profile (e.g., "sta-v0.1") |
origin |
String | Attribution seed for the creator |
sig |
String | Signature (Default: "none" or "hmac-sha256:") |
When sig is not "none", the packet MUST be signed using HMAC-SHA256 over the Canonical JSON (RFC 8785) representation of the packet (excluding the sig field).
TSP reserves the
© 2026 cnomic-dev. Licensed under Apache License 2.0.