-
Notifications
You must be signed in to change notification settings - Fork 0
NDA Format
UnitBuilds edited this page Aug 30, 2026
·
1 revision
NDA (Neural Document Archive) is a cryptographically signed binary container format.
- Semantic Triples — Subject-predicate-object knowledge representations
- Visual Display Commands — Layout and formatting instructions
- String Pool — Deduplicated pool of all string data
- Executable Payloads (optional) — Compiled binaries or scripts
[4 bytes: magic "NMCP"]
[32 bytes: Merkle root (SHA-256)]
[1 byte: method type]
[TLV: request data]
[String pool]
[Signature section (optional)]
[4B: sig length] [64B: Ed25519 sig] [32B: public key]
Source File → convert_to_nda_document → .nda File → read_nda → Inspect
↓
execute_nda → Run in sandbox
| Type | Extensions | What Gets Encapsulated |
|---|---|---|
| C# Source | .cs |
Compiled assembly + semantic triples |
.pdf |
Text triples + page layout | |
| CSV | .csv |
Column/row triples + metadata |
| Excel | .xlsx |
Sheet structure + cell data |
| Word | .docx |
Paragraph triples + styles |
| Images |
.png, .jpg, .webp
|
Display commands + pixel data |
| Archives | .zip |
File manifest + payloads |
| Source code | 20+ languages | Syntax-colored layout |
- Ed25519 signatures — Cryptographic authenticity verification
- Merkle tree — SHA-256 integrity verification of all content
- Backward compatible — Unsigned documents still parse
NDA binary parsing is 1.6x faster than JSON with Merkle verification, and 3.1x faster for shared memory throughput.
See also: Built-in-Tools, Security-Model, Performance
Getting Started
Architecture
Features
Operations
Support
Links