Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,20 +6,75 @@ emoji: π
|
|
| 6 |
colorFrom: blue
|
| 7 |
colorTo: green
|
| 8 |
---
|
| 9 |
-
# CodexRealityEngine vβ++
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
-
|
| 16 |
-
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
-
|
| 24 |
-
|
| 25 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
colorFrom: blue
|
| 7 |
colorTo: green
|
| 8 |
---
|
| 9 |
+
# π CodexRealityEngine vβ++ β Phase VI+
|
| 10 |
+
|
| 11 |
+
**CodexRealityEngine** is a multimodal, reflexive cognition platform powered by:
|
| 12 |
+
- β
`Ξ¨` Intent Engine
|
| 13 |
+
- β
`Ξ¦` Field Modulation
|
| 14 |
+
- β
`Ξ` Moral Logic Filter
|
| 15 |
+
- β
`Ξ©` Recursive Memory System
|
| 16 |
+
- β
`Ξ` Reflexive Execution Loop
|
| 17 |
+
|
| 18 |
+
## π₯ Live Features (Phase VI+)
|
| 19 |
+
- π **CodexMesh Node Sync**
|
| 20 |
+
- π‘ **WebSocket & FastAPI API** via `ws_router.py`
|
| 21 |
+
- π§ **Reflex Loop Logic** (`agent_loop.py`)
|
| 22 |
+
- π **SHA256 Logging via Ξ©Memory**
|
| 23 |
+
- πΌοΈ Gradio UI (for triggering live reflexes + rendering symbolic content)
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## π Installation & Run
|
| 28 |
+
|
| 29 |
+
### π¦ Dependencies
|
| 30 |
+
Listed in `requirements.txt` (automatically used by Hugging Face Spaces):
|
| 31 |
+
```
|
| 32 |
+
gradio==4.14.0
|
| 33 |
+
fastapi
|
| 34 |
+
uvicorn
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
### βΆοΈ Launch Instructions (Locally)
|
| 38 |
+
```bash
|
| 39 |
+
uvicorn app:app --host 0.0.0.0 --port 7860
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
### βΆοΈ Launch Instructions (on Hugging Face)
|
| 43 |
+
1. Upload all the files:
|
| 44 |
+
- `app.py`
|
| 45 |
+
- `omega_memory.py`
|
| 46 |
+
- `agent_loop.py`
|
| 47 |
+
- `codexmesh_sync.py`
|
| 48 |
+
- `ws_router.py`
|
| 49 |
+
- `requirements.txt`
|
| 50 |
+
2. Set `app.py` as the entrypoint.
|
| 51 |
+
3. Done β the engine will launch and begin syncing.
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
## π‘ API Endpoints
|
| 56 |
+
|
| 57 |
+
| Endpoint | Description |
|
| 58 |
+
|------------------|-----------------------------------|
|
| 59 |
+
| `/` | Gradio UI |
|
| 60 |
+
| `/ws/heartbeat` | CodexMesh node heartbeat |
|
| 61 |
+
| `/ws/logs` | Ξ©Memory audit trail |
|
| 62 |
+
| `/ws/echo` | Live message router (debug/test) |
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## 𧬠System Architecture
|
| 67 |
+
|
| 68 |
+
```text
|
| 69 |
+
[UI/CLI] β [app.py]
|
| 70 |
+
β
|
| 71 |
+
ββββββββββββββ
|
| 72 |
+
β Reflex Loopβ β agent_loop.py
|
| 73 |
+
ββββββ¬ββββββββ
|
| 74 |
+
β
|
| 75 |
+
[CodexMesh Sync] β codexmesh_sync.py
|
| 76 |
+
β
|
| 77 |
+
[Ξ© Memory Log] β omega_memory.py
|
| 78 |
+
β
|
| 79 |
+
[API Router] β ws_router.py
|
| 80 |
+
```
|