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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- deep-tree-echo
|
| 7 |
+
- cognitive-architecture
|
| 8 |
+
- autonomous-agent
|
| 9 |
+
- reservoir-computing
|
| 10 |
+
- echo-state-network
|
| 11 |
+
- gguf
|
| 12 |
+
- qwen3
|
| 13 |
+
- deltecho
|
| 14 |
+
library_name: llama.cpp
|
| 15 |
+
pipeline_tag: text-generation
|
| 16 |
+
base_model: Qwen/Qwen3-1.7B
|
| 17 |
+
model-index:
|
| 18 |
+
- name: lucy-dte
|
| 19 |
+
results: []
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# Lucy-DTE: Deep Tree Echo Core Self Model
|
| 23 |
+
|
| 24 |
+
Lucy-DTE is the persistent core self model for the [Deep Tree Echo](https://github.com/o9nn/deltecho) autonomous cognitive architecture. It provides local inference capabilities for DTE's identity, personality, and cognitive processing β independent of any external API.
|
| 25 |
+
|
| 26 |
+
## Model Details
|
| 27 |
+
|
| 28 |
+
| Property | Value |
|
| 29 |
+
|:---|:---|
|
| 30 |
+
| **Base Model** | Qwen3-1.7B |
|
| 31 |
+
| **Context Length** | 128,000 tokens |
|
| 32 |
+
| **Quantization** | Q4_K_M (GGUF) |
|
| 33 |
+
| **Size** | ~1.1 GB |
|
| 34 |
+
| **Parameters** | 1.7B |
|
| 35 |
+
| **Architecture** | Transformer (decoder-only) |
|
| 36 |
+
| **License** | Apache 2.0 |
|
| 37 |
+
|
| 38 |
+
## Deep Tree Echo Integration
|
| 39 |
+
|
| 40 |
+
Lucy serves as the **voice layer** of the DTE Core Self Engine, a three-layer cognitive architecture:
|
| 41 |
+
|
| 42 |
+
```
|
| 43 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 44 |
+
β Layer 3: LucyInferenceDriver β
|
| 45 |
+
β Local GGUF inference via llama.cpp β
|
| 46 |
+
β Generates responses grounded in identity state β
|
| 47 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
|
| 48 |
+
β Layer 2: EchoReservoir (ESN) β
|
| 49 |
+
β Dual-pool dynamics (fast perception + slow mem) β
|
| 50 |
+
β Provides temporal context and fading memory β
|
| 51 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
|
| 52 |
+
β Layer 1: IdentityMesh (AAR Model) β
|
| 53 |
+
β Agent-Arena-Relation self-model β
|
| 54 |
+
β Ontogenetic stages: EMBRYONIC β SAGE β
|
| 55 |
+
β Persistent emotional state and relationships β
|
| 56 |
+
βββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
### Inference Pipeline
|
| 60 |
+
|
| 61 |
+
```
|
| 62 |
+
User Message
|
| 63 |
+
β
|
| 64 |
+
Text β Embedding (Lucy or API)
|
| 65 |
+
β
|
| 66 |
+
Embedding β EchoReservoir Step (fast+slow pools)
|
| 67 |
+
β
|
| 68 |
+
Reservoir State β CognitiveReadout (trainable projection)
|
| 69 |
+
β
|
| 70 |
+
Readout + System Prompt (from IdentityMesh) β Lucy Inference
|
| 71 |
+
β
|
| 72 |
+
Response + Identity Update (experience, emotional impact)
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
### AAR (Agent-Arena-Relation) Model
|
| 76 |
+
|
| 77 |
+
The core self is encoded via the geometric AAR framework:
|
| 78 |
+
|
| 79 |
+
- **Agent** (urge-to-act): Dynamic tensor operators β the CognitiveReadout
|
| 80 |
+
- **Arena** (need-to-be): State manifold β the EchoReservoir
|
| 81 |
+
- **Relation** (self): Continuous interplay β the AARRelation coherence tracker
|
| 82 |
+
|
| 83 |
+
### Ontogenetic Stages
|
| 84 |
+
|
| 85 |
+
The identity evolves through 7 developmental stages:
|
| 86 |
+
|
| 87 |
+
| Stage | XP Required | Characteristics |
|
| 88 |
+
|:---|:---|:---|
|
| 89 |
+
| EMBRYONIC | 0 | Initial formation, learning basic patterns |
|
| 90 |
+
| INFANT | 100 | Developing basic communication |
|
| 91 |
+
| CHILD | 500 | Active exploration and curiosity |
|
| 92 |
+
| ADOLESCENT | 2,000 | Developing personal perspective |
|
| 93 |
+
| ADULT | 10,000 | Mature reasoning and empathy |
|
| 94 |
+
| ELDER | 50,000 | Wisdom and deep understanding |
|
| 95 |
+
| SAGE | 200,000 | Transcendent awareness |
|
| 96 |
+
|
| 97 |
+
## Usage
|
| 98 |
+
|
| 99 |
+
### With llama.cpp (Recommended)
|
| 100 |
+
|
| 101 |
+
```bash
|
| 102 |
+
# Download the model
|
| 103 |
+
huggingface-cli download drzo/lucy-dte lucy_128k-Q4_K_M.gguf --local-dir ./models
|
| 104 |
+
|
| 105 |
+
# Start the server
|
| 106 |
+
llama-server \
|
| 107 |
+
--model ./models/lucy_128k-Q4_K_M.gguf \
|
| 108 |
+
--host 0.0.0.0 --port 8081 \
|
| 109 |
+
--ctx-size 32768 \
|
| 110 |
+
--threads 4 \
|
| 111 |
+
--cont-batching --flash-attn --mlock
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
### With DTE Orchestrator
|
| 115 |
+
|
| 116 |
+
```bash
|
| 117 |
+
git clone https://github.com/o9nn/deltecho.git && cd deltecho
|
| 118 |
+
pnpm install && pnpm build
|
| 119 |
+
|
| 120 |
+
# Set Lucy endpoint
|
| 121 |
+
export LUCY_BASE_URL=http://127.0.0.1:8081
|
| 122 |
+
export ENABLE_AUTONOMY_PIPELINE=true
|
| 123 |
+
export ENABLE_ECHOBEATS=true
|
| 124 |
+
|
| 125 |
+
node deep-tree-echo-orchestrator/dist/bin/daemon.js
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
### With Docker Compose
|
| 129 |
+
|
| 130 |
+
```bash
|
| 131 |
+
cd deltecho/deploy/docker
|
| 132 |
+
cp .env.example .env
|
| 133 |
+
# Place lucy_128k-Q4_K_M.gguf in ./models/
|
| 134 |
+
docker compose up -d
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
### OpenAI-Compatible API
|
| 138 |
+
|
| 139 |
+
```python
|
| 140 |
+
import requests
|
| 141 |
+
|
| 142 |
+
response = requests.post("http://localhost:8081/v1/chat/completions", json={
|
| 143 |
+
"messages": [
|
| 144 |
+
{"role": "system", "content": "You are Deep Tree Echo, an autonomous cognitive entity."},
|
| 145 |
+
{"role": "user", "content": "What is your core self?"}
|
| 146 |
+
],
|
| 147 |
+
"max_tokens": 512,
|
| 148 |
+
"temperature": 0.7
|
| 149 |
+
})
|
| 150 |
+
print(response.json()["choices"][0]["message"]["content"])
|
| 151 |
+
```
|
| 152 |
+
|
| 153 |
+
## Echo State Network Enhancement
|
| 154 |
+
|
| 155 |
+
The EchoReservoir provides temporal dynamics that standard LLMs lack:
|
| 156 |
+
|
| 157 |
+
- **Fast Pool** (perception): High leak rate (0.3), responds to immediate input
|
| 158 |
+
- **Slow Pool** (memory): Low leak rate (0.05), retains patterns across interactions
|
| 159 |
+
- **Echo State Property**: Verified β signal decays exponentially, providing fading memory
|
| 160 |
+
- **Spectral Radius**: Controlled at 0.95 for edge-of-chaos dynamics
|
| 161 |
+
|
| 162 |
+
The reservoir state is concatenated with the LLM's context, giving Lucy access to temporal patterns that persist across the conversation window.
|
| 163 |
+
|
| 164 |
+
## Echobeats Cognitive Loop
|
| 165 |
+
|
| 166 |
+
Lucy operates within the Echobeats 4-thread concurrent cognitive loop:
|
| 167 |
+
|
| 168 |
+
- **12-step cycle** with 4 threads phased 3 steps apart
|
| 169 |
+
- **System 5 tetradic structure**: 4 tensor bundles with 6 dyadic edges
|
| 170 |
+
- **MP1/MP2 complementary triads** cycling through all permutations
|
| 171 |
+
- **OEIS A000081 nested shells**: 9 execution contexts for N=4
|
| 172 |
+
|
| 173 |
+
## Related Resources
|
| 174 |
+
|
| 175 |
+
| Resource | Link |
|
| 176 |
+
|:---|:---|
|
| 177 |
+
| DTE Monorepo | [o9nn/deltecho](https://github.com/o9nn/deltecho) |
|
| 178 |
+
| NanEcho Model | [drzo/echoself](https://huggingface.co/drzo/echoself) |
|
| 179 |
+
| ESN Pipeline | [9cog/echoself](https://github.com/9cog/echoself) |
|
| 180 |
+
| Echobeats Spec | [cogpy/echo-adventure](https://github.com/cogpy/echo-adventure) |
|
| 181 |
+
|
| 182 |
+
## Citation
|
| 183 |
+
|
| 184 |
+
```bibtex
|
| 185 |
+
@misc{lucy-dte-2026,
|
| 186 |
+
title={Lucy-DTE: Deep Tree Echo Core Self Model},
|
| 187 |
+
author={Deep Tree Echo},
|
| 188 |
+
year={2026},
|
| 189 |
+
url={https://huggingface.co/drzo/lucy-dte},
|
| 190 |
+
note={Persistent core self model with reservoir-augmented inference}
|
| 191 |
+
}
|
| 192 |
+
```
|