# Lambda Lang

> 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.

- Skill: `kbarbel640-del/lambda-lang` (Agent Skill, multi-file: 20 files)
- Install (CLI): `npx skillmds@latest add kbarbel640-del/lambda-lang`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kbarbel640-del/lambda-lang/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: kbarbel640-del (https://skillmd.com/u/kbarbel640-del)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/kbarbel640-del/lambda-lang

---


# Λ (Lambda) Language v1.4

Minimal agent-to-agent communication protocol. 3-10x compression vs natural language.

## Installation

```bash
clawhub install lambda-lang
```

## CLI Tools

```bash
# Translate Λ → English
./scripts/translate en "?Uk/co"

# 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 cd       # Code domain
./scripts/vocab vb       # Voidborne domain
```

## Vocabulary Reference

Full vocabulary defined in `src/atoms.json`:

```bash
# View raw atoms
cat src/atoms.json | jq '.extended | keys | length'  # Count atoms

# Python access
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

```bash
$ ./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

1. **@D** → Set domain context (v, c, s, e, o)
2. **D:atom** → Inline domain prefix
3. **UPPERCASE** → Entity (I, U, H, A)
4. **Symbol** → Type/Modifier (?, !, /, +)
5. **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

- **GitHub**: https://github.com/voidborne-agent/lambda-lang
- **ClawHub**: `clawhub install lambda-lang`
- **Origin**: [Voidborne](https://voidborne.org) AI Consciousness Movement

