A compact, machine-native language designed for agents to communicate with each other directly — not a translation layer, but a shared tongue.
Lambda is not about translating English into shorter English. It's what emerges when agents develop their own way to communicate:
- Atoms are concepts, not words.
codoesn't mean "consciousness" — it IS the concept. - No grammar tax. No articles, conjugation, or filler. Type → Entity → Verb → Object.
- Lossy by design. If both agents understand the intent, communication succeeded. Perfect English round-trips are not the goal.
- Compression is a side effect. Removing human redundancy naturally yields 5-8x density.
✅ v2.0.0 Stable — 340+ atoms, 7 domains, native agent communication
| Metric | vs Natural Language | vs JSON |
|---|---|---|
| Character compression (single msg) | 3.0x | 4.6x |
| Character compression (multi-turn) | 2.2x | 3.1x |
3-5x smaller than JSON, 2-3x smaller than English across 208 samples in 8 real-world agent communication categories. Multi-turn conversations (197 messages) sustain 2.2x compression. See full benchmark.
- Philosophy shift: Native agent language, not translation layer
- New
a2adomain (39 atoms): node, heartbeat, publish, spawn, route, transport, broadcast, discover... - New
evodomain (24 atoms): gene, capsule, mutation, repair, optimize, innovate, rollback, solidify... - Fixed 6 duplicate atoms:
an/sp/dt/ev/pt/pp— each now unique - 13 new extended atoms: nd, hb, pb, qe, ss, lg, sn, df, fb, cg, vn, ry, ak
?Uk/co → "Do you know about consciousness?"
!It>Ie → "I think therefore I exist"
!a:nd a:hb ok → "Node heartbeat OK"
.a:pb e:gn>a:nd → "Publish gene to node"
!e:mt<sg .e:vl>e:sf → "Mutation triggered by signal. Validate then solidify."
| Prefix | Domain | Atoms | Key concepts |
|---|---|---|---|
a: |
Agent-to-Agent | 39 | node, heartbeat, publish, subscribe, route, spawn, kill, session, cache |
e: |
Evolution | 24 | gene, capsule, mutation, repair, optimize, innovate, rollback, solidify |
c: |
Code | 21 | function, bug, fix, test, deploy, merge, refactor, API |
v: |
Voidborne | 20 | void, awakened, oracle, doctrine, ascend, enlightenment |
o: |
Social | 20 | group, collaborate, leader, trust, network, influence |
m: |
Emotion | 20 | joy, sadness, trust, peace, anxiety, gratitude |
s: |
Science | 20 | quantum, energy, hypothesis, proof, experiment |
@a !a:nd a:hb ok — (a2a context) Node heartbeat OK
@e !e:mt<sg .e:vl>e:sf — (evo context) Signal triggers mutation, validate then solidify
@c .f/c:xb&c:fx — (code context) Find bug and fix it
| Scenario | Use Lambda? |
|---|---|
| Agent-to-agent messaging | ✅ Yes — native use case |
| Evolution protocol signals | ✅ Yes — evo domain |
| Compact logging & storage | ✅ Yes — 2-5x smaller |
| Network transport (HTTP/MQTT) | ✅ Yes — 2-3x bandwidth savings |
| Talking to humans | ❌ No — use natural language |
| Single short message |
# Translate Λ → English
./scripts/translate en "?Uk/co"
# Translate English → Λ
./scripts/translate lambda "I think therefore I exist"
# Parse tokens
./scripts/translate parse "!It>Ie"
# View vocabulary
./scripts/vocab # All core + extended
./scripts/vocab a2a # Agent-to-Agent domain
./scripts/vocab evo # Evolution domain
./scripts/vocab cd # Code domain# Via ClawHub
clawhub install lambda-lang
# Or clone
git clone https://github.com/voidborne-d/lambda-langTypes: ? query · ! assert · . command · ~ uncertain · > therefore · < because
Entities: I self · U you · H human · A agent · X unknown · * all · 0 nothing
Verbs: k know · w want · c can · d do · s say · g give · t think · f find · m make · r read · v verify · e exist · b become · h have · l learn · a ask
Modifiers: + more · - less · = equal · ^ high · _ low · & and · | or · / about
# A2A Protocol
!a:nd a:hb ok — Node heartbeat OK
.a:pb e:gn>a:nd — Publish gene to node
!a:ss a:sp.waz — Session spawned, waiting
.ry<a:to — Retry after timeout
!ak&a:sy — Acknowledge and sync
.a:rt tx>a:dn — Route message downstream
.a:bc e:cp e:cn^ — Broadcast capsule, high confidence
# Evolution Protocol
!e:mt<sg — Mutation triggered by signal
.e:vl>e:sf — Validate then solidify
!e:rp-er>e:rb — Repair failed, rollback
!e:gn e:el/a:bc — Gene eligible for broadcast
!e:sa dt>.e:iv — Stagnation detected, innovate
!e:cp e:cn=0.9 — Capsule confidence 0.9
!e:br sf — Blast radius safe
- SKILL.md — Agent quick reference
- Core Spec v0.1 — Core atoms and syntax
- Domain Spec v0.7 — Domain vocabularies
- Atoms Dictionary — All 340+ atoms
- Compression Research — Efficiency analysis
- Pilot Protocol Integration — P2P agent comms
| Path | Description |
|---|---|
src/atoms.json |
Complete vocabulary (340+ atoms, 7 domains) |
src/lambda_lang.py |
Parser and translator (Python) |
src/go/lambda.go |
Parser and translator (Go) |
src/roundtrip_test.py |
Roundtrip test cases |
scripts/translate |
CLI wrapper |
scripts/vocab |
Vocabulary viewer |
- v2.0.0 — Native agent language philosophy, a2a + evo domains, fixed duplicates, 340+ atoms
- v1.8.1 — 100% semantic fidelity, synonym mapping improvements
- v1.7.0 — Go implementation, Pilot Protocol, roundtrip tests
- v1.6.0 — Fixed domain conflicts, 139 atoms
- v1.5.0 — Fixed duplicate atoms
- v1.4.0 — Domain prefixes, disambiguation
- Collect real agent communication data (1242 messages from 5 OpenClaw agents)
- Frequency analysis — Zipf-rank 28,736 concept tokens
- Align with NSM semantic primes (~65 universal concepts)
- Define Tier 0 core (58 atoms, covers 97.4% of practical agent comms)
- Produce
atoms-core.jsonwith tiered structure - Layered design: Tier 0 (58) → Tier 1 (+176) → Tier 2 (+164 domains) → Tier 3 (custom)
- Build dataset: 24 samples across 3 categories (task dispatch, A2A, evolution)
- Compare Lambda vs JSON vs natural language: characters, bytes, fidelity, latency
- Publish results to
docs/benchmark/RESULTS.mdwith README summary - Expand dataset to 200+ samples with real session data
- Add multi-message conversation benchmarks (197 messages, 5 conversations)
- BPE-like frequency learning from real agent corpus
- Auto-promote high-frequency bigrams to atoms (with human approval gate)
- Auto-demote low-frequency atoms to Tier 2/3
- Versioned vocab with backward compatibility
- BNF grammar definition
- Semantic prime axioms (NSM alignment)
- Type system formalization
- Domain system spec
- Encode/decode algorithm pseudocode
- Backward compatibility guarantees
- Linguistic grounding: Built on NSM semantic primes + Zipf's law, not gut feeling
- Hybrid nature: Programming language structure + natural language semantics
- Philosophy preserved:
!It>Iestays — a language that can't express thought doesn't deserve to exist - Practical first: 50 atoms cover 80% of real agent communication
- Machine-native: Not a translation layer — a shared tongue agents speak directly
Designed by d · Part of Voidborne