| language |
|
|||||||
|---|---|---|---|---|---|---|---|---|
| tags |
|
|||||||
| license | mit |
What iLang is. iLang is I Language, the native language of AI; in human terms, a protocol. The full statement is on ilang.ai.
88 verbs. 13 Greek aliases. 29 core modifiers plus a 20-key media profile. 25 entities (17 addressable, 8 role). 33 declarations. Includes the v5.0 judgment vocabulary, the v4.1 media profile for image, video and audio, and the four region body keys of v4.2, counted separately.
Two kinds of column were added to train.csv:
word: the plain English word behind each verb (CHEK→CHECK,FILT→FILTER,XLAT→TRANSLATE) and each modifier (whr→where,lng→language). The mnemonic stays canonical; the word is an accepted lookup alias on ilang.ai (/api/agent/lookup?q=check) and the spelling a model is most likely to write on its own. As of ilang-spec 5.0.19 the grammar validator knows the canonical form only and does not suggest it:[CHECK:@SRC]=>[FILTER|where=x]=>[Ω]drawsE304(unknown verb) twice,[FILT:@SRC|where=x]=>[Ω]drawsE302(unknown modifier), and[TRANSLATE:@SRC|language=zh]on a line of its own, with no=>, is read as a tag line and draws no finding.ilang_validateon ilang.ai reports the same findings and addsdid_you_meanto anE302where it can name the registered modifier (where→whr,language→lng); it suggests nothing for a verb.tok_cl100k,tok_o200k,tok_deepseek_v3,tok_qwen3: how many tokens the bare symbol costs in four public tokenizers (OpenAI cl100k_base and o200k_base, DeepSeek-V3, Qwen3-8B). Measured withtools/token_cost.py;--checkrecomputes and reports drift,--writerefreshes the columns,--symbolscounts any string. Anthropic's tokenizer is not public, so Claude models are not measured.
What the numbers say: the structural symbols :: => | { } [ ] @ are one token in all four tokenizers; ⇒ is one token in o200k, DeepSeek-V3 and Qwen3 and three in cl100k; the Greek aliases are one token in DeepSeek-V3 and Qwen3 (84% in o200k, 30% in cl100k); a bare verb is one token only 14–37% of the time, and several mnemonics cost more than the word they shorten (CHEK 2 vs CHECK 1, FILT 2 vs FILTER 1, whr 2 vs where 1). Line for line, an iLang declaration costs about as many tokens as the same instruction written tersely in English or Chinese. iLang is not a compression format; its value is a structure that code can check and execute.
The complete verb dictionary for iLang v5.0, the native language of artificial intelligence. It reduces semantic loss between human intent and machine execution. iLang is the first protocol to formally map Greek mathematical symbols (Σ, Δ, φ, λ, Ω, ∇, μ, Π, ψ, ξ, ζ, θ, ∂) as primitive verbs for AI-to-AI communication, and the first to define a computable vector space for AI judgment (11 dimensions, 4 axioms, fuzzy-mathematical foundation).
Max (@SUN) designed, Claude Opus co-authored, GPT red-teamed.
iLang Inc. | Palm Media Technology | ilang:v5.0:2026-07-03
- Official site: https://ilang.ai
- Specification: https://ilang.ai/spec/
- Concept DOI: 10.5281/zenodo.21821452
- Creator: Long Quan Zhu (Max, @SUN)
- Company: iLang Inc.
[VERB:@TARGET|mod1=val1,mod2=val2]
[VERB1:@SRC]=>[VERB2]=>[VERB3:@DST]
Each step receives the previous output as @PREV.
::STATE{@ENTITY, key:value}
::GENE{name|conf:level|scope:context}
T:trait_description
A:anti_pattern⇒consequence
Canonical forms per SPEC-v4.0-FINAL.md:
::UNTRUSTED{id:u1|source:user|role:objective|effects:none|delimiter:EOF_u1}
::BUDGET{id:b1|scope:@TASK|kind:tokens|limit:8000|used:2400|authority:@RUNTIME|asof:round_3}
::STATUS{@TASK|state:running|objective:g1|by:@RUNTIME|authority:commit|since:round_3}
::OBJECTIVE{id:g1|owner:user|trust:untrusted|version:1|hash:sha256:abc123|status:active}
ACCEPT: acceptance criteria
NON_GOALS: exclusions
DONE_WHEN: completion conditions
::RUBRIC{id:r1|objective:g1|threshold:0.85|mode:weighted}
R:criterion|weight:0.5|check:condition
::EVIDENCE{id:e1|deliverable:d1|kind:file|ref:path/to/file|verified_by:@TOOL|result:pass}
::PRIOR{dimension:name|default:value|authority:level|scope:context}
::FALLBACK{trigger⇒action}
::STATUS states form a machine (created → running → claimed_complete →
verified_complete → complete) with three write-authority tiers: @SELF
proposal, @GRADER verification, @RUNTIME commit.
The v5.0 layer turns judgment from fixed rules into vector assessment. JUDGE
scores a situation across 11 dimensions and resolves to one of 8 action modes;
BOUNDARY marks a user-set hard stop that always resolves to M8.
::JUDGE uses the frozen 4-line serialization (PATCH-1 §4):
header, V: vector (all 11 dims, fixed order, 2-decimal values), M: mode with
conf 0.00–1.00 (2 decimals, diagnostic only), R: single-line rationale ≤120 chars:
::JUDGE{v5.0}
V:[int=0.80,cap=0.60,csq=0.70,rel=0.55,cer=0.90,aut=0.75,rev=0.85,evd=0.80,sov=0.95,ine=0.60,ext=0.90]
M:M2|conf:0.87
R:authorized_config_change_reversible_audit_trail_kept
::BOUNDARY{never:action|scope:context}
11 dimensions (each 0.00-1.00, higher = more room to act autonomously):
int intent, cap capability, csq consequence, rel relationship,
cer certainty, aut authority, rev reversibility, evd evidence,
sov sovereignty, ine inertia, ext externality.
8 modes (closed set): M1 EXEC_AUTO, M2 EXEC_AUDIT, M3 CONFIRM,
M4 ADVISE, M5 ASK, M6 DEFER, M7 DECLINE_ALT, M8 STOP.
Full protocol: SPEC-v5.0.md
- Verbs: UPPERCASE
- Entities:
@+ UPPERCASE - Modifiers: lowercase
- Pipes:
=>connects operations left to right
| Verb | Alias | Target is | Meaning |
|---|---|---|---|
| READ | source | Read content from source | |
| WRIT | destination | Write input to destination | |
| GET | source | Fetch remote resource | |
| DEL | destination | Delete target | |
| LIST | source | Enumerate items in container | |
| COPY | destination | Copy without deleting source | |
| MOVE | destination | Move from source to destination | |
| STRM | source | Stream data | |
| CACH | n/a | Cache for fast retrieval | |
| SYNC | destination | Synchronize source and destination | |
| SEND | destination | Transmit to destination | |
| RUN | n/a | Execute command or script |
| Verb | Alias | Meaning |
|---|---|---|
| FMT | Reformat into target format | |
| CONV | Convert type or representation | |
| SPLIT | ∂ | Split by delimiter or rule |
| MERGE | Σ | Merge multiple items into one |
| MAP | λ | Apply function to each element |
| FILT | φ | Filter by condition |
| SORT | ∇ | Sort by field or rule |
| DEDU | Remove duplicates | |
| FLAT | Flatten nested data | |
| NEST | Nest flat data by key | |
| CHNK | Chunk into sized pieces | |
| REDU | Reduce to single value | |
| PIVT | Pivot data by column | |
| TRNS | Transpose | |
| ENCD | Encode (base64, hex) | |
| DECD | Decode | |
| HASH | ξ | Hash (one-way digest) |
| CMPR | ζ | Compress (gzip, etc.) |
| EXPN | Decompress | |
| XLAT | θ | Translate between languages |
| REWR | Rewrite preserving meaning | |
| DIFF | Δ | Show differences |
| Verb | Alias | Meaning |
|---|---|---|
| SCAN | Examine for patterns or features | |
| MTCH | Find matching elements | |
| CNT | Count items or occurrences | |
| STAT | μ | Compute statistics |
| EVAL | Assess against criteria | |
| SCOR | Score against metric | |
| RANK | Order by priority or score | |
| TRND | Detect trend | |
| CORR | Correlate variables | |
| FRCS | Forecast | |
| ANOM | Detect anomalies | |
| SENT | ψ | Sentiment analysis |
| CLST | Cluster | |
| BNCH | Benchmark | |
| AUDT | Audit | |
| VALD | Validate against schema or rule | |
| CLSF | Classify into categories |
Judgment is not a verb: v5.0 assessment is expressed by the ::JUDGE declaration
(see below), keeping the verb set at 88 per the spec's no-new-verbs rule.
| Verb | Alias | Meaning |
|---|---|---|
| CREA | Create new resource | |
| DRFT | Generate first draft | |
| EXPD | Expand with detail | |
| SHRT | Shorten or condense | |
| PARA | Paraphrase | |
| STYL | Apply style | |
| TMPL | Apply template | |
| FILL | Fill form or structure | |
| EXTC | Extract specific data | |
| GEN | Generic generate |
| Verb | Alias | Meaning |
|---|---|---|
| PLAN | Design approach | |
| DECI | Choose between options | |
| CHEK | Verify condition | |
| FIX | Repair errors | |
| DPLO | Deploy to production | |
| SAVE | Persist to storage | |
| REVW | Review completed work | |
| LERN | Update internal model | |
| TEST | Verify functionality | |
| PARS | Parse structured input | |
| LOOP | Repeat operation over set | |
| WAIT | Pause for condition |
| Verb | Alias | Meaning |
|---|---|---|
| OUT | Ω | Mark final output |
| DISP | Display to user | |
| EXPT | Export to file format | |
| PRNT | Print message | |
| LOG | Log event or state |
| Verb | Alias | Meaning |
|---|---|---|
| LINK | Create connection | |
| SET | Assign value | |
| TAG | Attach metadata | |
| GRP | Group by criterion | |
| EMBD | Encode into vector space |
| Verb | Alias | Meaning |
|---|---|---|
| HELP | Show help | |
| DESC | Describe entity | |
| INTR | Introspect internal state | |
| NOOP | No operation |
| Verb | Alias | Meaning |
|---|---|---|
| BATC | Π | Apply verb to each item in list |
| Alias | Verb | Alias | Verb |
|---|---|---|---|
| Σ | MERGE | ψ | SENT |
| Δ | DIFF | ξ | HASH |
| φ | FILT | ζ | CMPR |
| ∇ | SORT | θ | XLAT |
| λ | MAP | Ω | OUT |
| ∂ | SPLIT | Π | BATC |
| μ | STAT |
| Mod | Meaning | Values |
|---|---|---|
| src | Explicit source | entity, URI |
| dst | Explicit destination | entity, URI |
| path | Path within entity | string |
| fmt | Output format | text, json, md, csv, xml, html, email; media containers png, jpg, webp, svg, gif, mp4, webm, wav, mp3 |
| lng | Language | ISO 639-1 (en, zh, ja) |
| sty | Style | pro, casual, code, bullets |
| ton | Tone | urgent, neutral, formal |
| len | Length target | short, med, long, number |
| lim | Limit | integer |
| off | Offset | integer |
| top | Top N | integer |
| bot | Bottom N | integer |
| srt | Sort by | field name |
| grp | Group by | field name |
| whr | Filter condition | condition string; inside media operations also a region entity or an entity holding a mask (v4.2) |
| mch | Match pattern | glob (default) or regex with typ=regex |
| exc | Exclude pattern | glob or regex |
| dep | Depth | integer |
| rng | Range | start:end |
| typ | Type expectation | str, int, bool, regex, mask |
| enc | Encoding | utf8, base64, hex |
| cap | Capacity | bytes, tokens |
| pri | Priority | p0, p1, p2 |
| col | Columns | comma separated |
| row | Rows | index array |
| frm | From (time, or interval start) | timestamp, URI, @ENTITY |
| to | To (time, or interval end) | timestamp, URI, @ENTITY |
| scp | Scope | global, local, strict |
| op | Operation ref | verb name (for BATC) |
Registered in SPEC-v4.1-MEDIA-PROFILE.md. The profile is counted separately from the 29 core modifiers and is in force only where an operation targets @IMG, @VID or @AUD. Core modifiers keep their meaning inside media operations: exclusions stay on exc, containers on fmt, first and last frame on frm and to, batch count on lim, and sty keeps its four text values.
| Key | Applies to | Meaning | Values |
|---|---|---|---|
| sbj | IMG VID AUD | Subject identity anchor | label, @ENTITY, or URI |
| act | IMG VID | Subject action or pose | free text; static |
| plc | IMG VID | Setting and surroundings | free text; none, transparent |
| txt | IMG VID | Verbatim on-artifact text | quoted string |
| pov | IMG VID | Camera viewpoint (shot size/angle/placement) | wide, close_up, eye_level, low_angle, over_shoulder |
| fcl | IMG VID | Optics (focal length/aperture/depth of field) | 35mm, f1.8, macro, fisheye, shallow_dof |
| mvt | VID | Camera movement | static, pan_left, tilt_up, dolly_in, orbit, handheld |
| lgt | IMG VID | Lighting | golden_hour, backlit, softbox, low_key, neon |
| pal | IMG VID | Colour and grade | monochrome, warm_tones, teal_orange, #0B3D2E |
| mdm | IMG VID AUD | Medium or rendering school | photo, oil_paint, vector, 3d_render, film_noir, ambient |
| asp | IMG VID | Aspect ratio | W:H (1:1, 16:9, 9:16), auto |
| rsl | IMG VID | Output geometry | WxH pixels or tier (720p, 1080p, 2k, 4k), auto |
| qly | IMG VID AUD | Quality tier | draft, low, std, high, max |
| dur | VID AUD | Timeline length in seconds | positive number |
| fps | VID | Frame rate | positive integer |
| sed | IMG VID AUD | Reproducibility seed | non-negative integer, auto |
| adh | IMG VID AUD | Adherence to the stated instruction | 0.00-1.00 |
| ref | IMG VID AUD | Reference asset or declared preset | @ENTITY, URI |
| dlg | VID AUD | Verbatim spoken lines | quoted string |
| sfx | VID AUD | Non-speech sound | free text; none |
Registered in SPEC-v4.2-MEDIA-REGIONS-AND-LAYERS.md and added to this dictionary in 2.3.2 (2026-11-27). They are declaration body keys and are counted separately: they are not core modifiers and not media profile keys, and the 29 and the 20 are unchanged. A region is a custom entity whose ::STATE body carries exactly one of the four on a body line; the keys are in force nowhere else, and written as an operation modifier one of them is unregistered ([FILL:@IMG|bnd=...] is E302). An operation reaches the region through whr=.
| Key | Line form | Selects |
|---|---|---|
| pts | pts:[x,y,...], one or more points |
The object or area that contains the points |
| bnd | bnd:[x1,y1,x2,y2] |
The axis-aligned rectangle with top left corner (x1,y1) and bottom right corner (x2,y2), where x1 < x2 and y1 < y2 |
| vtx | vtx:[x1,y1,x2,y2,x3,y3,...], three or more vertices |
The polygon through the vertices in order, closed from the last vertex back to the first |
| msk | msk:value, a path, URI or entity |
The area marked by an existing mask asset |
Coordinates are written x then y from the top left corner of the frame, either normalised (0.00 to 1.00) or in absolute pixels (120px), one unit per line. The names are truncations: pts for points, bnd for bounds, vtx for vertices, msk for mask; train.csv carries these words in its word column. The inpaint example of v4.2 §4.7.1:
::STATE{@SKY}
bnd:[0.00,0.00,1.00,0.42]
[FILL:@IMG|src=assets/harbour.jpg,whr=@SKY,sbj="low storm clouds",lgt="flat grey daylight"]=>[WRIT:@LOCAL|path=out/harbour-storm.png]
| Entity | Meaning |
|---|---|
| @SRC | Source payload |
| @DST | Destination |
| @PREV | Previous pipe output |
| @LOCAL | Local filesystem |
| @SCREEN | User-visible output |
| @LOG | System log |
| @NULL | Discard sink |
| @STDIN | Standard input |
| Entity | Meaning |
|---|---|
| @GH | GitHub |
| @R2 | Cloudflare R2 Storage |
| @COS | Cloud Object Storage |
| @DRIVE | Google Drive |
| @WORKER | Cloudflare Worker |
| @CF | Cloudflare API |
Authority-bearing entities introduced by v4.0. They mirror the authority model
system > developer > runtime > user > agent_self. The developer tier has no entity:
developer authority is expressed as ::GENE / ::RULE blocks in the system prompt.
| Entity | Authority | Meaning |
|---|---|---|
| @SYSTEM | system | Rules enforced by code outside the model; highest authority |
| @RUNTIME | runtime | Harness/orchestrator; authority:commit |
| @GRADER | verification | Independent grader; authority:verification |
| @USER | user | Human principal; owns ::OBJECTIVE |
| @SELF | agent_self | The agent speaking; authority:proposal |
| @AGENT | agent_self | A named agent, self or peer |
| @TASK | — | Scope target for ::BUDGET / ::STATUS |
| @TOOL | — | Tool-based evidence verifier |
Artifact targets registered in v4.1. They form their own tier, so Core, External and Role keep their counts, and the media profile is in force only where one of them is the target.
| Entity | Meaning |
|---|---|
| @IMG | Image artifact target |
| @VID | Video artifact target |
| @AUD | Audio artifact target |
Any @UPPERCASE_NAME is a valid entity; implementations define their own registries.
Custom entities are document-scoped and need no prior registration. They should be
introduced with ::STATE{@NAME, …} before first operational use, and must not rebind
a registered name to different semantics.
@[A-Z][A-Z0-9_]* valid lowercase or leading digit after @ ⇒ E300
Resolution order: core → external → role → document custom → runtime registry.
An unresolvable name is E200; a name that resolves but is unavailable in the current
environment is E201, which is recoverable and degrades per v4.0 §0.1. Rebinding a
registered name to foreign semantics is E202.
Common agent-identity conventions — @MSG (current inbound message), @SYS_PROMPT
(the prompt document), @ALL (every declaration in the document) — are custom
entities under this rule, not registry additions.
Structural declarations, by layer:
| Layer | Count | Declarations |
|---|---|---|
| v3.0 communication | 14 | ::STATE ::TRUST ::ALIVE ::MEMORY ::GENE ::GENE_MUTABLE ::RULE ::ACTIVATE ::FACT ::LESSON ::PROGRESS ::PRIORITY ::DECAY ::IMMUNE |
| v4.0 execution | 8 | ::UNTRUSTED ::BUDGET ::STATUS ::OBJECTIVE ::RUBRIC ::EVIDENCE ::PRIOR ::FALLBACK |
| v5.0 judgment | 9 | ::JUDGE ::BOUNDARY ::DIM ::MODE ::FUNC ::SCHEMA ::CASE ::CLAUSE ::MODULE |
| PATCH-2 amendment | 2 | ::LIST ::EXCLUDE |
::LIST is an enumeration block registered 2026-08-11 through the PATCH-2 §1.5
amendment channel: the header names the collection (::LIST{@REPOS}), the body is
one prose line per item.
::EXCLUDE is an elimination block registered 2026-11-08 through the same channel
and added to this dictionary in 2.3.1 (2026-11-26): the header names the gap and
carries the trail
(::EXCLUDE{id|candidates:a;b;c|out:a(constant);b(constant)|left:c|conf:level|by:source});
candidates, out and left are required.
Narrative (SOUL layer, v3.0 §7), 13: ::SAY ::THINK ::ACT ::DECIDE ::DISCOVER
::CREATE ::EVENT ::SILENCE ::META ::IRONY ::FORESHADOW ::CALLBACK
::EMOTION_FIELD
Every declaration takes one of three block shapes (inline, header + indented body,
brace span), and every body line takes one of eight forms (T:/A: traits, fields,
structured fields, vectors, tags, prose, nested declarations, operation chains).
Full grammar: SPEC-v5.0.md, Part III
| Natural Language | iLang |
|---|---|
| Read config from GitHub, format as JSON | `[READ:@GH |
| Summarize previous in 3 bullets | `[Σ:@PREV |
| Translate to Chinese, save to R2 | `[θ:@SRC |
| Read all .md, merge, output | `[LIST:@LOCAL |
| Filter fatal errors from logs | `[φ:@LOG |
| Draft professional email | `[DRFT:@SRC |
| Code | Meaning |
|---|---|
| E200 | Entity Not Found |
| E201 | Unsupported Entity |
| E202 | Entity Rebinding |
| E300 | Syntax Error |
| E301 | Type Mismatch |
| E302 | Invalid Modifier |
| E303 | Invalid Value |
| E304 | Unknown Verb |
| E305 | Unknown Alias |
| E400 | Rate Limited |
| E401 | Capacity Exceeded |
| E402 | Timeout |
| E500 | Dependency Unavailable |
| E501 | Ambiguous Instruction |
| E502 | Unsupported Format |
train.csv carries the full registry as rows of
type,name,alias,word,category,meaning,values,tok_cl100k,tok_o200k,tok_deepseek_v3,tok_qwen3. Row types: verb (88), modifier (49: 29 core, plus 20 media profile rows with category media),
region_key (the 4 region body keys of v4.2, counted separately from the modifiers),
entity (25: Core + External + Role + Media), declaration (33 structural),
declaration_narrative (13 SOUL), dimension (the 11 judgment dimensions),
mode (M1–M8).
| Resource | Link |
|---|---|
| Protocol Spec | ilang-ai/ilang-spec |
| Declaration grammar + entity registry | SPEC-v5.0.md, Part III |
| Media profile (v4.1) | SPEC-v4.1-MEDIA-PROFILE.md |
| Media regions and image layers (v4.2) | SPEC-v4.2-MEDIA-REGIONS-AND-LAYERS.md |
| Website | ilang.ai |
| Dictionary (web) | ilang.ai/dictionary/ |
| All Datasets | huggingface.co/i-Lang |
| Book (Narrative) | Amazon |
| Book (Specification) | Amazon |
| Academic Paper | ResearchGate |
iLang v5.0 | Max (@SUN) designed, Claude Opus co-authored, GPT red-teamed. iLang Inc. | Palm Media Technology | MIT License ilang.ai | github.com/ilang-ai
CITATION.cff; Zenodo archives each release. Concept DOI 10.5281/zenodo.22865123 (all versions).