From 353d4dbbcff683f8a4f23c54c882648e2b1c1d2c Mon Sep 17 00:00:00 2001 From: Claudia Date: Tue, 17 Feb 2026 12:22:21 +0100 Subject: [PATCH] docs: add demo section to README with sample output --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/README.md b/README.md index d257f2c..df73a94 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,48 @@ Works **alongside** `memory-core` (OpenClaw's built-in memory) โ€” doesn't replace it. +## Demo + +Try the interactive demo to see Cortex in action: + +```bash +git clone https://github.com/alberthild/openclaw-cortex.git +cd openclaw-cortex && npm install +npx tsx demo/demo.ts +``` + +The demo simulates a bilingual (EN/DE) developer conversation and shows: + +- **๐Ÿงต Thread Tracking** โ€” 3 threads detected, 1 auto-closed via "done โœ…" +- **๐ŸŽฏ Decision Extraction** โ€” 4 decisions found ("decided", "the plan is", "beschlossen") +- **๐Ÿ˜คโ†’๐Ÿ”ฅ Mood Detection** โ€” tracks emotional arc from frustrated to excited +- **๐Ÿ“ธ Pre-Compaction Snapshot** โ€” saves full conversation state before memory loss +- **๐Ÿ“‹ Boot Context** โ€” generates a dense BOOTSTRAP.md briefing (~800 tokens) + +
+๐Ÿ“ธ Sample output + +``` +โ”โ”โ” Phase 2: Thread Tracking Results โ”โ”โ” + + Found 3 threads (2 open, 1 closed) + + โ—‹ ๐ŸŸ  the auth migration โ†’ closed (detected "done โœ…") + โ— ๐ŸŸก dem Performance-Bug โ†’ open, mood: frustrated + โ— ๐ŸŸก the Kubernetes cluster โ†’ open, waiting for Hetzner estimate + +โ”โ”โ” Phase 3: Decision Extraction โ”โ”โ” + + Extracted 4 decisions: + + ๐ŸŽฏ The plan is to keep backward compatibility for 2 weeks [medium] + ๐ŸŽฏ We decided to use Auth0 as the provider [medium] + ๐ŸŽฏ Wir machen Batched DataLoader [medium] + ๐ŸŽฏ Beschlossen โ€” warten auf Review von Alexey [high: deploy] +``` + +
+ ## Install ```bash