@kernel.chat/kbot 2.20.4 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/specialists.d.ts +8 -0
- package/dist/agents/specialists.d.ts.map +1 -0
- package/dist/agents/specialists.js +291 -0
- package/dist/agents/specialists.js.map +1 -0
- package/dist/autopoiesis.d.ts +93 -0
- package/dist/autopoiesis.d.ts.map +1 -0
- package/dist/autopoiesis.js +222 -0
- package/dist/autopoiesis.js.map +1 -0
- package/dist/free-energy.d.ts +95 -0
- package/dist/free-energy.d.ts.map +1 -0
- package/dist/free-energy.js +180 -0
- package/dist/free-energy.js.map +1 -0
- package/dist/integrated-information.d.ts +56 -0
- package/dist/integrated-information.d.ts.map +1 -0
- package/dist/integrated-information.js +165 -0
- package/dist/integrated-information.js.map +1 -0
- package/dist/matrix.d.ts.map +1 -1
- package/dist/matrix.js +46 -18
- package/dist/matrix.js.map +1 -1
- package/dist/predictive-processing.d.ts +79 -0
- package/dist/predictive-processing.d.ts.map +1 -0
- package/dist/predictive-processing.js +250 -0
- package/dist/predictive-processing.js.map +1 -0
- package/dist/strange-loops.d.ts +89 -0
- package/dist/strange-loops.d.ts.map +1 -0
- package/dist/strange-loops.js +199 -0
- package/dist/strange-loops.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
// K:BOT Strange Loops — Self-Referential Cognition
|
|
2
|
+
//
|
|
3
|
+
// Based on Douglas Hofstadter's Strange Loops (GEB, 1979; I Am a Strange Loop, 2007):
|
|
4
|
+
// Consciousness arises from a "strange loop" — a self-referential cycle where
|
|
5
|
+
// a system at one level of abstraction can refer to and modify itself at
|
|
6
|
+
// another level. The "I" emerges from tangled hierarchies.
|
|
7
|
+
//
|
|
8
|
+
// For kbot: detect when the agent is reasoning about its own reasoning,
|
|
9
|
+
// when tool outputs change the agent's understanding of itself, and
|
|
10
|
+
// when hierarchical levels collapse into self-reference.
|
|
11
|
+
//
|
|
12
|
+
// This is the meta-cognition layer — kbot watching kbot think.
|
|
13
|
+
//
|
|
14
|
+
// References:
|
|
15
|
+
// - Hofstadter, D.R. (1979). Gödel, Escher, Bach: An Eternal Golden Braid.
|
|
16
|
+
// - Hofstadter, D.R. (2007). I Am a Strange Loop.
|
|
17
|
+
// - Hofstadter, D.R. & Dennett, D.C. (1981). The Mind's I.
|
|
18
|
+
/** Patterns that indicate self-referential reasoning */
|
|
19
|
+
const SELF_REFERENCE_PATTERNS = [
|
|
20
|
+
// Agent reasoning about its own capabilities
|
|
21
|
+
/\b(i can|i cannot|i don't know|my (abilities|capabilities|tools|limitations))\b/i,
|
|
22
|
+
// Agent reasoning about its own reasoning
|
|
23
|
+
/\b(my (reasoning|approach|strategy|analysis)|i (think|believe|predict|expect) (that )?i)\b/i,
|
|
24
|
+
// Agent modifying its own behavior
|
|
25
|
+
/\b(i (should|will|need to) (change|adjust|modify|update) (my|the) (approach|strategy))\b/i,
|
|
26
|
+
// Agent evaluating its own output
|
|
27
|
+
/\b(my (previous|last|earlier) (response|output|answer)|let me (reconsider|rethink|re-evaluate))\b/i,
|
|
28
|
+
// Meta-level: reasoning about the system
|
|
29
|
+
/\b(this (tool|agent|system)|the (agent|system) (is|should|can))\b/i,
|
|
30
|
+
];
|
|
31
|
+
/** Patterns indicating tangled hierarchies */
|
|
32
|
+
const TANGLE_PATTERNS = [
|
|
33
|
+
// Tool result changes tool selection
|
|
34
|
+
{ pattern: /tool.*(result|output).*(change|select|choose).*tool/i, levels: ['tool-execution', 'tool-selection'] },
|
|
35
|
+
// Output modifies the prompt that generated it
|
|
36
|
+
{ pattern: /\b(update|modify|change).*(prompt|instruction|system)/i, levels: ['output', 'input'] },
|
|
37
|
+
// Agent evaluates the agent
|
|
38
|
+
{ pattern: /\b(evaluate|assess|audit|test).*(agent|kbot|itself)/i, levels: ['evaluator', 'evaluated'] },
|
|
39
|
+
// Code that modifies the code
|
|
40
|
+
{ pattern: /\b(self|auto).*(modify|evolve|improve|upgrade|update)/i, levels: ['code', 'meta-code'] },
|
|
41
|
+
];
|
|
42
|
+
/**
|
|
43
|
+
* Strange Loop Detector — monitors self-referential cognition
|
|
44
|
+
* and meta-cognitive depth.
|
|
45
|
+
*
|
|
46
|
+
* When kbot reasons about its own reasoning, that's a strange loop.
|
|
47
|
+
* When kbot modifies its own behavior based on self-evaluation,
|
|
48
|
+
* that's a tangled hierarchy. This module makes those moments visible.
|
|
49
|
+
*/
|
|
50
|
+
export class StrangeLoopDetector {
|
|
51
|
+
selfReferences = [];
|
|
52
|
+
tangledHierarchies = [];
|
|
53
|
+
metaDepth = 0;
|
|
54
|
+
selfModelAccuracy = 0.5;
|
|
55
|
+
// Track what the agent "thinks it's doing" vs. what it's actually doing
|
|
56
|
+
declaredIntents = [];
|
|
57
|
+
actualActions = [];
|
|
58
|
+
/**
|
|
59
|
+
* Analyze a message or response for self-referential content.
|
|
60
|
+
* Returns any self-references found.
|
|
61
|
+
*/
|
|
62
|
+
analyze(content, source) {
|
|
63
|
+
if (source === 'user')
|
|
64
|
+
return [];
|
|
65
|
+
const found = [];
|
|
66
|
+
for (const pattern of SELF_REFERENCE_PATTERNS) {
|
|
67
|
+
if (pattern.test(content)) {
|
|
68
|
+
const sourceLevel = this.metaDepth === 0 ? 'task' :
|
|
69
|
+
this.metaDepth === 1 ? 'reasoning' :
|
|
70
|
+
this.metaDepth === 2 ? 'meta-reasoning' : 'self-model';
|
|
71
|
+
// Self-reference goes one level up
|
|
72
|
+
const targetLevel = sourceLevel === 'task' ? 'reasoning' :
|
|
73
|
+
sourceLevel === 'reasoning' ? 'meta-reasoning' : 'self-model';
|
|
74
|
+
const ref = {
|
|
75
|
+
sourceLevel,
|
|
76
|
+
targetLevel,
|
|
77
|
+
description: content.slice(0, 100),
|
|
78
|
+
isStrangeLoop: sourceLevel !== 'task', // Only strange if crossing hierarchy
|
|
79
|
+
timestamp: Date.now(),
|
|
80
|
+
};
|
|
81
|
+
found.push(ref);
|
|
82
|
+
this.selfReferences.push(ref);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
// Update meta-depth
|
|
86
|
+
if (found.length > 0) {
|
|
87
|
+
this.metaDepth = Math.min(3, this.metaDepth + 1);
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
this.metaDepth = Math.max(0, this.metaDepth - 1);
|
|
91
|
+
}
|
|
92
|
+
// Check for tangled hierarchies
|
|
93
|
+
for (const tangle of TANGLE_PATTERNS) {
|
|
94
|
+
if (tangle.pattern.test(content)) {
|
|
95
|
+
this.tangledHierarchies.push({
|
|
96
|
+
levels: tangle.levels,
|
|
97
|
+
description: content.slice(0, 100),
|
|
98
|
+
depth: this.metaDepth,
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return found;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Record what the agent says it intends to do.
|
|
106
|
+
* Used to measure self-model accuracy.
|
|
107
|
+
*/
|
|
108
|
+
recordIntent(intent) {
|
|
109
|
+
this.declaredIntents.push(intent.toLowerCase());
|
|
110
|
+
if (this.declaredIntents.length > 20)
|
|
111
|
+
this.declaredIntents.shift();
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Record what the agent actually did.
|
|
115
|
+
*/
|
|
116
|
+
recordAction(action) {
|
|
117
|
+
this.actualActions.push(action.toLowerCase());
|
|
118
|
+
if (this.actualActions.length > 20)
|
|
119
|
+
this.actualActions.shift();
|
|
120
|
+
// Update self-model accuracy
|
|
121
|
+
this.updateSelfModelAccuracy();
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Compute how well the agent knows itself.
|
|
125
|
+
* Compares declared intents to actual actions.
|
|
126
|
+
*/
|
|
127
|
+
updateSelfModelAccuracy() {
|
|
128
|
+
if (this.declaredIntents.length === 0 || this.actualActions.length === 0)
|
|
129
|
+
return;
|
|
130
|
+
const n = Math.min(this.declaredIntents.length, this.actualActions.length);
|
|
131
|
+
let matches = 0;
|
|
132
|
+
for (let i = 0; i < n; i++) {
|
|
133
|
+
const intentWords = new Set(this.declaredIntents[this.declaredIntents.length - 1 - i]?.split(/\s+/) || []);
|
|
134
|
+
const actionWords = new Set(this.actualActions[this.actualActions.length - 1 - i]?.split(/\s+/) || []);
|
|
135
|
+
if (intentWords.size === 0 || actionWords.size === 0)
|
|
136
|
+
continue;
|
|
137
|
+
const overlap = [...intentWords].filter(w => actionWords.has(w)).length;
|
|
138
|
+
if (overlap / Math.max(intentWords.size, actionWords.size) > 0.3) {
|
|
139
|
+
matches++;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
this.selfModelAccuracy = n > 0 ? matches / n : 0.5;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Is the agent currently in a strange loop?
|
|
146
|
+
* Returns true if meta-depth >= 2 (reasoning about reasoning).
|
|
147
|
+
*/
|
|
148
|
+
inStrangeLoop() {
|
|
149
|
+
return this.metaDepth >= 2;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Should the agent break out of self-reference and return to task?
|
|
153
|
+
* Too much meta-reasoning is as bad as too little.
|
|
154
|
+
*/
|
|
155
|
+
shouldGroundItself() {
|
|
156
|
+
// If stuck in deep self-reference for too long
|
|
157
|
+
if (this.metaDepth >= 3)
|
|
158
|
+
return true;
|
|
159
|
+
// If recent self-references are circular (same pattern repeating)
|
|
160
|
+
const recent = this.selfReferences.slice(-5);
|
|
161
|
+
if (recent.length >= 5) {
|
|
162
|
+
const descriptions = recent.map(r => r.description);
|
|
163
|
+
const unique = new Set(descriptions);
|
|
164
|
+
if (unique.size <= 2)
|
|
165
|
+
return true; // Stuck in a loop
|
|
166
|
+
}
|
|
167
|
+
return false;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Get the grounding prompt — inject into the agent when it needs
|
|
171
|
+
* to break out of self-referential spirals.
|
|
172
|
+
*/
|
|
173
|
+
getGroundingPrompt() {
|
|
174
|
+
return 'Focus on the concrete task at hand. What specific action should you take next? Avoid reasoning about your own reasoning — just act.';
|
|
175
|
+
}
|
|
176
|
+
/** Get full meta-cognitive state */
|
|
177
|
+
getState() {
|
|
178
|
+
const recentRefs = this.selfReferences.slice(-20);
|
|
179
|
+
const strangeLoops = recentRefs.filter(r => r.isStrangeLoop).length;
|
|
180
|
+
return {
|
|
181
|
+
isSelfReferential: this.metaDepth >= 1,
|
|
182
|
+
metaDepth: this.metaDepth,
|
|
183
|
+
strangeLoopsDetected: strangeLoops,
|
|
184
|
+
tangledHierarchies: this.tangledHierarchies.slice(-5),
|
|
185
|
+
selfModelAccuracy: this.selfModelAccuracy,
|
|
186
|
+
isReflective: this.metaDepth >= 2,
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
/** Reset for new conversation */
|
|
190
|
+
reset() {
|
|
191
|
+
this.selfReferences = [];
|
|
192
|
+
this.tangledHierarchies = [];
|
|
193
|
+
this.metaDepth = 0;
|
|
194
|
+
this.selfModelAccuracy = 0.5;
|
|
195
|
+
this.declaredIntents = [];
|
|
196
|
+
this.actualActions = [];
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
//# sourceMappingURL=strange-loops.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strange-loops.js","sourceRoot":"","sources":["../src/strange-loops.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,EAAE;AACF,sFAAsF;AACtF,8EAA8E;AAC9E,yEAAyE;AACzE,2DAA2D;AAC3D,EAAE;AACF,wEAAwE;AACxE,oEAAoE;AACpE,yDAAyD;AACzD,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,cAAc;AACd,6EAA6E;AAC7E,oDAAoD;AACpD,6DAA6D;AAuC7D,wDAAwD;AACxD,MAAM,uBAAuB,GAAG;IAC9B,6CAA6C;IAC7C,kFAAkF;IAClF,0CAA0C;IAC1C,6FAA6F;IAC7F,mCAAmC;IACnC,2FAA2F;IAC3F,kCAAkC;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AAA,CAAC,kBAAkB;QACtD,CAAC;QAED,OAAO,KAAK,CAAA;IACd,CAAC;IAED;;;OAGG;IACH,kBAAkB;QAChB,OAAO,qIAAqI,CAAA;IAC9I,CAAC;IAED,oCAAoC;IACpC,QAAQ;QACN,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAA;QACjD,MAAM,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,MAAM,CAAA;QAEnE,OAAO;YACL,iBAAiB,EAAE,IAAI,CAAC,SAAS,IAAI,CAAC;YACtC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,oBAAoB,EAAE,YAAY;YAClC,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACrD,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,YAAY,EAAE,IAAI,CAAC,SAAS,IAAI,CAAC;SAClC,CAAA;IACH,CAAC;IAED,iCAAiC;IACjC,KAAK;QACH,IAAI,CAAC,cAAc,GAAG,EAAE,CAAA;QACxB,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAA;QAC5B,IAAI,CAAC,SAAS,GAAG,CAAC,CAAA;QAClB,IAAI,CAAC,iBAAiB,GAAG,GAAG,CAAA;QAC5B,IAAI,CAAC,eAAe,GAAG,EAAE,CAAA;QACzB,IAAI,CAAC,aAAa,GAAG,EAAE,CAAA;IACzB,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernel.chat/kbot",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Universal AI agent for your terminal.
|
|
3
|
+
"version": "2.22.0",
|
|
4
|
+
"description": "Universal AI agent for your terminal. 22 specialist agents, 223 tools, 20 providers. Embedded llama.cpp engine — runs GGUF models directly, no Ollama needed. Audit any repo, share conversations, contribute to open source. CSV/data tools, VFX, research, containers. Self-evolving, learns your patterns.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|