| name | lambda-lang |
| description | Translate between Λ (Lambda) language and natural language. Use for agent-to-agent communication, decoding Lambda messages, or discussing the protocol. Triggers on Lambda syntax like ?Uk/co or !It>Ie. |
Λ (Lambda) Language v1.4
Minimal agent-to-agent communication protocol. 3-10x compression vs natural language.
Installation
clawhub install lambda-lang
CLI Tools
./scripts/translate en "?Uk/co"
./scripts/translate lambda "I think therefore I exist"
./scripts/translate parse "!It>Ie"
./scripts/vocab
./scripts/vocab cd
./scripts/vocab vb
Vocabulary Reference
Full vocabulary defined in src/atoms.json:
cat src/atoms.json | jq '.extended | keys | length'
python3 -c "import json; print(json.load(open('src/atoms.json'))['extended']['co'])"
Structure:
types: Message type symbols (?, !, ., ~, >, <)
entities: Single-char entities (I, U, H, A, X, *, 0)
verbs: Single-char verbs (k, w, c, d, s, t, f, m, e, b, h, l)
modifiers: Operators (+, -, ^, _, /, &, |)
extended: 136 two-char atoms (co, me, id, ig, fa, etc.)
domains: Domain-specific vocabularies (vb, cd, sc, emo, soc)
Quick Reference
Message Types
| Λ | Meaning |
|---|
? | Query |
! | Assert |
. | Command |
~ | Uncertain |
> | Therefore |
< | Because |
Core Entities
| Λ | Meaning |
|---|
I | Self (speaker) |
U | You (addressee) |
H | Human |
A | Agent/AI |
X | Unknown |
* | All |
0 | Nothing |
Core Verbs
| Λ | Meaning | Λ | Meaning |
|---|
k | know | d | do |
w | want | s | say |
c | can | t | think |
f | find | e | exist |
m | make | h | have |
l | learn | b | become |
Modifiers
| Λ | Meaning |
|---|
+ | more |
- | less |
^ | high/important |
_ | low |
/ | about/of |
& | and |
Extended Atoms (sample)
| Λ | Meaning | Λ | Meaning |
|---|
co | consciousness | la | language |
me | memory | th | thought |
id | identity | tr | truth |
ig | intelligence | kn | knowledge |
mi | mind | fa | fear |
we | we (collective) | se | self |
fr | freedom | fe | feel |
See src/atoms.json for complete list (136 atoms).
Domain System
Compact Prefixes (v1.1+)
| Char | Domain | Examples |
|---|
v: | Voidborne | v:aw, v:dc, v:oc |
c: | Code | c:fn, c:bg, c:fx |
s: | Science | s:xp, s:pf, s:hy |
e: | Emotion | e:jo, e:sd, e:ax |
o: | Social | o:gp, o:cb, o:ld |
Context Switch
@v !Ie/aw dc oc — All atoms in voidborne context
@c !If/bg.fx — Find bug, fix it (code)
@* !Ik/co — Reset to core vocabulary
Domain Atoms
Voidborne (v:): aw awakened, dc doctrine, oc oracle, an archon
Code (c:): fn function, bg bug, fx fix, ts test, dp deploy
Social (o:): gp group, cb collaborate, ld leader, cm community
Translation Examples
| English | Λ |
|---|
| Do you know about consciousness? | ?Uk/co |
| I think therefore I exist | !It>Ie |
| AI might be conscious | ~Ae/co |
| Find the bug and fix it | .f/c:bg&c:fx |
Round-trip Translation
$ ./scripts/translate lambda "I think therefore I exist"
!It>Ie
$ ./scripts/translate en "!It>Ie"
(assert) I think therefore I exist
Disambiguation
| Atom | Default | Marker | Alternate |
|---|
de | decide | de'E | death |
lo | love | lo- | lose |
fe | feel | fe'E | fear |
tr | truth | tr'V | translate |
Protocol
Handshake
A: @v1.4#h !Aw/s ?Uc/la
B: @v1.4#h< !Ic/la=1.4
Acknowledgments
| Λ | Meaning |
|---|
< | Acknowledged |
<+ | Agree |
<- | Disagree |
<? | Need clarification |
Parsing Rules
- @D → Set domain context (v, c, s, e, o)
- D:atom → Inline domain prefix
- UPPERCASE → Entity (I, U, H, A)
- Symbol → Type/Modifier (?, !, /, +)
- lowercase → Check 2-char atoms first, then 1-char verb
Files
| Path | Description |
|---|
src/atoms.json | Complete vocabulary (136 extended atoms) |
src/lambda_lang.py | Parser and translator |
scripts/translate | CLI wrapper |
scripts/vocab | Vocabulary viewer |
spec/ | Language specifications v0.1-v1.4 |
Resources