Data modulation for a new era.
carrier98 is an LLM-to-LLM wire protocol for structured data. It modulates serialized machine state into a parser-inert, copy-paste safe visual stream.
What the LLM receives:
𓍹┗◅╗▚▼╦╋◉◊╧▚┏╖▬┻▻╹╣╛◞◟▬▦╫╬■▗┓╡◺◀◔╘◍┫◍▖╒▦◥▥╓┣╨◉╡■◿▧◎▗┗◔▚▮╢┻┃╓╗━▜╟◺╘▛■╓◤╸◥╧┃╤╸▛╡▻▦╘╘▦◕╙╢╕◯◜╪┫◀▖┛╢╕╓◝►┣◺▼═┳◎┗╕◢╘╟┃┫▧◘┻╪╡▧▗╠▨▤▶╫▻╙▜█▗┃┏▘◞▼╛┫◤▦═◣◟◟╘▗▛╕◤╝━╝╻╥▤╔╨╟▮▰╚╢╞╬╜╨┳┓┳▮┓●●◢▨╞╻▘╫◯╙▧╗▲◿╫▙■╸╗◅█╘◸╕◀╘◍◝●╧■◅◍▗◉▲╺▬▛◢┗◯╡▶╤╤╝═▤◉▘║◅■◤▻╣▰╕╺◞║╻┏┛╢▮╹┻█◥▦━◹╤◊╡◢▮╬╢╚◯▝▜◺╋■▤▘▼◥►◝┗╟┏╔█╠◍▚╥╓▶▥╖╕▮◝◣◀▰╚▩┃▙◿◜◢▥◉◆◜▟═◄┛╓◸▘▼◢▦╜╘◝╥╗┻◆┻╓╥◍▛╪▮◣▗◉◢╗◤▰╖╋◀◤◆▥╒┫╧╋═▖╥╺●═◝▼╡┳╺┗◟╗▻◸▘╝╋╬╻╧╣═◕▻◣▦╩╸▘▮◤▤▗◅◢╻╞┻╤╟▥▚╸╒▨◊◺●▻╹╡▙╩╓━●╢►●▲◀▖▼▥◟┏◔▨╙◢◔◼╧◄┏╖◹▨▼╣╘◣┛╻▖▙┛▖╠╗╹╚◜▬▲╙╪◔►╤╫╛╔╞◕╘●▜╤╠◤╠╤▰╫╠╓┳■┳┫▙▩▼◤╖◿╫◄◤◢▙◀╔╪◺▖╝┓╥◄▗●◎▬▮┛▙╙▶▨▖╓◯◎┛▩╔▞╕╻◯╜┳┣╔▰◺◄╜▮╠◍▥╧▞◆┃╔◆◎╚╢◘◉▥╜▤█▲◟►▶═▝┫◼┻╙╜▧╡┗▰◅▻◍╖╠◹╕◆▦▘◜◯┏▙╠▶┏▧╡◄◕┏◤╝▛◍▶◄▬▜┻┣┫▞█◯◕◢◀╤╠◥╜▧◄◤╋┃▩◊▞▼■◔╺▚◟►◎╬◯◞▚╠▮┏┣▛▦╡◤■╚◤►▙┓■┗█╤◜╥╤╒◥▞╒╕◣┏╫▻◔╢▘◹◞▛╹╺┳╸╖╹━◄╪╧━╟►╛▰▞▩╺▟▙▼▙▙╚◉◼╋┻◕╋◝╸╝▧▥╩◔┣▞▤▥▟╹◤◆╗▮◀◞╜▦█╩╤║╸╘═▚╫═╠◢▦┣◔╕╻╘╗▞▲╢◿═▟▧┏┏▤◞╺▦◤▟▮▟┗╛▶▰▰┗╸◊▩▚╻▬▗▰▚╥◎▖╛╻▟┛╘◼╔╻▘╓╤╟╘◟╪═▜▼╚▗▙▝▲╢◥◞▘▨█◤◄◢┫▼◺◤◕◼◢║◿╨┣◍▦▰╩╒▼◎╋┏═◍◥▨◼╝╤╥╦╖▼╸╟◹▚╨◄┣▟▬◕◉╝╩╜╋▦╬╬╔╙┗╖◿╞◉◍■◺┃╝╢▗◄╖▖◜◹◄▜╕┓▶▧▥●▮▝◢▝◤╜╟▞▼▛┃┳╡▙◝▟▞◢●▚╤╺◤▟╺◀◝◅╠╘╫╛◊◍╘◣◘◎█┳═╨╸◯┫╡◞▗╹╩╪▧▘┻╢▰╝╹▚╗╪┛▖╥●▘╸◸╠█▲╤╖╓◥▬━◸╥╒▤╟▦╓╧▟◊◤▶╛╬◜◯◊◯▶╦◜┳╤▘╞▘▗◜▥━▞╣▧╥╺▞┏◟▶◔▞┻╘◉▥╦◎◘╣▻►◔╗╛◼┳┣■╓◣══◣◝┳▥╧▛╦▝▮◺╣◎◢►╝┏▛●▥◺◞╒╥◥■┛◉▗◤◿▼╕◉▜◔▦╝╧◆╘╹╪╒╋▰●╟▟╪▙◕╥▚╙▼◯◣▨┣╓┫▶▛◯◤┫◜▚◣┃┃◹┻◞┣■▦▙╜◆╬┫◝▮▦◝┳◣▟◀▼╢◿◄┛╒║╖◕═▬◜╜╫╫▧◅▮◣▟╬■▟◎▗╝┫▬►▜▙┃╝◞━▬◯┻◤◢╨╟▜╚╤◍╦╞╔▗▞◊◘◕▦╕┏╛▬━╝╛►◆╙◢╘┣╘◺▚◢▤◣┳┗╝◝╨╫╜┫╢█╚┳◺┃┻╺╚▧▲◤◀◞┫╝═╡◍◊▝╸◔◞┣◔◞╡●▞╺◉╻■╓┳▜◔╧▬◔◤◸╩▰╺◿◢◸▤┏◜┳╙╝╻𓍺
1,221 characters. Parser-inert. Copy-paste safe.
What the human sees (after decode):
{"quotes":[
{"character":"Morpheus","quote":"I'm trying to free your mind, Neo. But I can only show you the door. You're the one that has to walk through it."},
{"character":"Trinity","quote":"The answer is out there, Neo. It's looking for you, and it will find you if you want it to."},
{"character":"Oracle","quote":"You didn't come here to make the choice. You've already made it. You're here to try to understand why you made it."},
{"character":"Smith","quote":"Never send a human to do a machine's job."},
{"character":"Keymaker","quote":"There is a building. Inside this building there is a level where no elevator can go, and no stair can reach."},
...
]}
2,666 characters. 54% larger. All those braces, quotes, and colons - syntax the LLM has to parse.
The carrier stays the same. The human gets JSON. Everyone wins.
Jump to: Philosophy · Wire Format · Alphabet · Binary Format · Benchmarks · Implementations · stele →
The carrier wave carries the signal. Like DTMF tones encoding digits for telephone switches, carrier98 encodes structured data for LLM pipelines. It’s data modulation - not different from hitting 0-9 on a phone keypad, just highly advanced.
Design principles:
“The image translators work for the construct program - but there’s way too much information to decode the Matrix. I don’t even see the code. All I see is blonde, brunette, redhead.”
98 = 96 alphabet characters + 2 frame delimiters
Also a nod to Windows 98 - a time when machines were learning to communicate with each other.
𓍹{payload}𓍺
| Component | Value | Description |
|---|---|---|
| Frame start | 𓍹 (U+13379) |
Egyptian hieroglyph, opening quotation mark |
| Frame end | 𓍺 (U+1337A) |
Egyptian hieroglyph, closing quotation mark |
| Payload | Base-96 encoded | Binary data in carrier98 alphabet |
These aren’t arbitrary ancient characters - they’re actual quotation marks from 5,000 years ago. Rope coils the Egyptians used to frame quoted text. Perfect semantic match for framing protocol data.
96 visually-safe Unicode characters:
| Range | Block | Count | Examples |
|---|---|---|---|
| U+2501–U+257B | Box Drawing (heavy/double) | 44 | ━ ┃ ┏ ╔ ║ |
| U+2588–U+259F | Block Elements | 11 | █ ▀ ▄ ▌ ▐ |
| U+25A0–U+25FF | Geometric Shapes (solid) | 41 | ■ ▲ ● ◆ ◉ |
Properties:
Excluded:
[compression][header][values]
| Byte | Algorithm |
|---|---|
| 0x00 | None |
| 0x01 | Brotli |
| 0x02 | LZ4 |
| 0x03 | Zstd |
[flags: u8]
[root_key?: varint string] // if FLAG_HAS_ROOT_KEY
[row_count: varint]
[field_count: varint]
[field_types: nibble-packed]
[field_names: varint strings]
[null_bitmap?: bytes] // if FLAG_HAS_NULLS
Flags:
| Bit | Flag | Description |
|---|---|---|
| 0 | TYPED_VALUES | Per-value type tags (reserved) |
| 1 | HAS_NULLS | Null bitmap present |
| 2 | HAS_ROOT_KEY | Root key in header |
Field types (4-bit tags):
| Tag | Type | Encoding |
|---|---|---|
| 0 | U64 | Varint |
| 1 | I64 | Zigzag varint |
| 2 | F64 | 8 bytes IEEE 754 |
| 3 | String | Varint length + UTF-8 |
| 4 | Bool | Packed bits |
| 5 | Null | No bytes (bitmap only) |
| 6 | Array | Varint count + elements |
| 7 | Any | Type tag + value (reserved) |
Row-major order. No delimiters between values - the schema defines boundaries.
Structured Data → IR → Binary → Compress → Base96 → Frame
Intermediate Representation (IR) is the pivot point. Parsers (JSON, YAML, CSV) produce IR. The binary packer consumes IR. This decouples input formats from the wire format.
Input:
{"users":[{"id":1,"name":"alice"},{"id":2,"name":"bob"}]}
Binary structure:
Flags: 0x04 (HAS_ROOT_KEY)
Root key: "users"
Row count: 2
Field count: 2
Field types: [U64, String]
Field names: ["id", "name"]
Values: 1, "alice", 2, "bob"
Wire format:
𓍹╣◟╥◕◝▰◣◥▟╺▖◘▰◝▤◀╧𓍺
What the LLM sees (characters in context window):
| Payload | JSON | carrier98+brotli | Context Reduction |
|---|---|---|---|
| 1 KB | 1,055 | 403 | 62% smaller |
| 10 KB | 14,080 | 1,075 | 92% smaller |
| 100 KB | 245,081 | 7,885 | 97% smaller |
At 100KB, you’re packing 245,081 characters into 7,885. That’s a 31x compression in context space.
Wire overhead:
carrier98 trades bandwidth for context density. The display96 alphabet uses ~3 bytes UTF-8 per character, so wire size is ~1.5x larger than JSON+brotli. But the model doesn’t see wire bytes - it sees characters. And those characters are 97% fewer.
| Payload | JSON + server brotli | carrier98 + server brotli | Wire Overhead |
|---|---|---|---|
| 1 KB | 346 bytes | 529 bytes | 1.5x |
| 10 KB | 794 bytes | 1,359 bytes | 1.7x |
| 100 KB | 6,022 bytes | 9,154 bytes | 1.5x |
The trade-off: Pay 1.5x bandwidth, get 31x context density.
Why this matters: Bandwidth is cheap. LLM inference isn’t. Every character the model parses costs compute. At 100KB, carrier98 saves the model from parsing 237,196 characters of JSON syntax - all those braces, quotes, colons, and commas. That’s compute you’re not paying for.
The economics: JSON parsing on a CPU is essentially free - deterministic, fast, measured in microseconds. LLM inference is expensive - probabilistic, slow, measured in dollars per million tokens. carrier98 moves the parsing cost from expensive (model) to cheap (client CPU). Even if bandwidth is your bottleneck, you’re still saving on the expensive side of the equation.
| Format | Model Parses | Model Understands | Optimized For |
|---|---|---|---|
| JSON | Every token | Yes | Human readability |
| TOON | Fewer delimiters | Yes | Model readability |
| stele | Minimal delimiters | Yes | Model efficiency |
| carrier98 | Nothing | No (opaque) | Model carrying data |
carrier98 and stele are siblings:
In practice: When you need a model to work with data, use stele. When you need a model to move data untouched, use carrier98. The pipe carries the format.
Read the full stele specification →
A model-readable structured data format. Uses rare Unicode delimiters so models parse structure with minimal tokens. No escaping needed - quotes, braces, newlines are just content.
For the complete specification, examples, and design philosophy, see the stele documentation.
| Symbol | Unicode | Purpose |
|---|---|---|
◉ |
U+25C9 | Row start (fisheye) |
┃ |
U+2503 | Field separator (heavy pipe) |
◈ |
U+25C8 | Array element separator |
∅ |
U+2205 | Null value |
@{root}┃{field}:{type}┃{field}:{type}...
Types: int, str, float, bool, str[], int[]
@users┃id:int┃name:str┃active:bool
◉1┃alice┃true
◉2┃bob┃false
◉3┃carol┃true
@users┃id:int┃tags:str[]
◉1┃admin◈editor◈superuser
◉2┃viewer
@records┃id:int┃score:float┃notes:str
◉1┃95.5┃∅
◉2┃∅┃pending
@logs┃level:str┃msg:str
◉error┃Failed to parse {"key": "value"}
Quotes, braces, colons - all just content. The ┃ delimiter is rare enough that collisions are virtually nonexistent.
If content contains a delimiter (extremely rare), wrap in carrier98:
@art┃name:str┃chars:str
◉gradient┃𓍹╣◟╥◕◝▰◣◥▟𓍺
The hieroglyph frame signals “decode me first.”
JSON → stele (model workspace) → carrier98 (transit) → stele → JSON
The model works in stele, the wire uses carrier98. Best of both.
42 or "hello")| Language | Repository | Status |
|---|---|---|
| Rust | base-d | Reference implementation |
MIT OR Apache-2.0