Skip to main content
Glama
README.md
# Aitheja Molaya

One MCP. One mind.

**Aitheja Molaya** fuses:

1. **Aitheja Brain** — local continual learning (ingest → distill → fuse → LoRA → tools)
2. **theGod** — meta autonomy / ascend / TBB / HumanAgent
3. **ThejaUltimate** — device knowledge, domains, browser bridge, invent stack

Name: *molaya* = brain. Built to be the single Cursor MCP entry instead of juggling three overloaded servers.

## Install

```powershell
git clone https://github.com/thejanaloit/aitheja-molaya.git E:\aitheja-molaya
cd E:\aitheja-molaya
npm install
```

Local roots (defaults match this machine; override with env):

| Env | Default |
|-----|---------|
| `AITHEJA_BRAIN_ROOT` | `C:/Users/ThejanaD/IdeaProjects/aitheja-brain` |
| `THEGOD_ROOT` | `E:/theGod-` |
| `THEJA_ULTIMATE_ROOT` | `E:/ThejaUltimate` |
| `THEJA_BACKBONE_ROOT` | `E:/ThejaBackBone` |
| `THEJAD_REPO_ROOT` | `E:/SuthaMobile` |

## Cursor MCP

Add to `~/.cursor/mcp.json`:

```json
"aitheja-molaya": {
  "command": "node",
  "args": ["E:/aitheja-molaya/bin/aitheja-molaya.js", "mcp", "start"],
  "env": {
    "AITHEJA_BRAIN_ROOT": "C:/Users/ThejanaD/IdeaProjects/aitheja-brain",
    "THEGOD_ROOT": "E:/theGod-",
    "THEJA_ULTIMATE_ROOT": "E:/ThejaUltimate",
    "THEJA_BACKBONE_ROOT": "E:/ThejaBackBone",
    "THEJAD_REPO_ROOT": "E:/SuthaMobile",
    "THEJAD_FULL_ACCESS": "1"
  }
}
```

Snippet file: `cursor-mcp.snippet.json`

## CLI

```powershell
node bin/aitheja-molaya.js stats
node bin/aitheja-molaya.js smoke
node bin/aitheja-molaya.js tool molaya_status
node bin/aitheja-molaya.js tool molaya_think prompt=hello
node bin/aitheja-molaya.js tool molaya_god name=god_status
node bin/aitheja-molaya.js tool molaya_ultimate name=ultimate_status
```

## Tool surface (compact on purpose)

Cursor MessagePort dies when thousands of tools are registered. Molaya keeps a **tight native set** and reaches the full God/Ultimate catalogs through delegates:

| Tool | Role |
|------|------|
| `molaya_status` | Combined health |
| `molaya_think` | Chat via fused `aitheja-brain` + memory/tools |
| `molaya_ingest` | Device corpus ingest |
| `molaya_evolve` | Full evolve cycle |
| `molaya_distill` | Teacher fusion distill |
| `molaya_train` | LoRA student train |
| `molaya_neuron` | Plastic-net sandbox |
| `molaya_human_auth` | HumanAgent screen+click MCP auth |
| `molaya_god` | Call any `god_*` tool |
| `molaya_ultimate` | Call any Ultimate named tool |
| `molaya_list` | List reachable backend tools |

## Thanks

Thanks to Theja.