@kernel.chat/kbot 3.13.0 → 3.14.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.
Files changed (2) hide show
  1. package/README.md +29 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,24 +23,28 @@ npm install -g @kernel.chat/kbot
23
23
 
24
24
  ---
25
25
 
26
- ## What's New in v3.6
26
+ ## What's New in v3.13
27
27
 
28
28
  | Feature | What it means |
29
29
  |---------|---------------|
30
- | **Forge Tool** | `forge_tool` — kbot creates new tools at runtime when it doesn't have one. No restart, no recompile. |
31
- | **Forge Registry** | Publish, search, and install community-created tools. Collective autopoiesis. |
32
- | **Autopoietic Health** | `kbot vitals`self-monitoring system health: memory, token budgets, tool success rates. |
33
- | **Immune Agent** | Self-auditing agent that detects drift, regressions, and anomalies across sessions. |
34
- | **Cost-Aware Routing** | Automatically picks the cheapest model that can handle the task. Saves 60-90% on API costs. |
35
- | **Fallback Chains** | If a provider fails, kbot cascades to the next one. Zero downtime, zero manual intervention. |
36
- | **290 Tools** | +6 tools since v3.3: forge, vitals, immune, cost routing, fallback chains, and more. |
37
- | **23 Agents** | Expanded specialist roster with immune and forge agents. |
30
+ | **Self-Improving** | kbot modifies its own code, tests it, and publishes new versions to npm — autonomously. |
31
+ | **Discovery Daemon** | 24/7 background service — scans HN, GitHub, Reddit, arXiv. Thinks locally via MLX/Ollama ($0). |
32
+ | **OpenClaw Plugin** | kbot is the cognitive engine inside OpenClaw 50+ messaging channels (WhatsApp, Discord, Telegram). |
33
+ | **Replit Integration** | Auto-detects Replit, activates lite mode. `--lite` flag for cloud IDEs. |
34
+ | **Cognitive Interference** | 11 cognitive modules measured for constructive/destructive interference. Research paper included. |
35
+ | **Standalone Packages** | Brain extracted as independent npm packages: `@kernel.chat/skill-router`, `memory-tiers`, `tool-forge`, `prompt-evolver`. |
36
+ | **MLX on Apple Silicon** | Claude Opus-distilled models run natively. Local brain for the daemon. |
37
+ | **LATS Tree Planning** | Monte Carlo Tree Search for branching plans instead of linear. |
38
+ | **Prompt Evolution** | GEPA-style self-optimizing prompts — evolve from execution traces, auto-rollback bad mutations. |
39
+ | **Collective Learning** | Opt-in anonymized signals. More users → smarter routing for everyone. |
40
+ | **A2A Protocol** | Agent-to-Agent discovery and task delegation. |
41
+ | **11 Cognitive Modules** | Based on peer-reviewed papers. Not metaphors — TypeScript implementations. |
38
42
 
39
43
  ---
40
44
 
41
45
  ## Why kbot?
42
46
 
43
- Other AI coding tools are static — fixed tool sets, single providers, no memory. kbot is the first AI agent that **evolves itself**:
47
+ Other AI agents are static — fixed tools, single providers, no memory, no learning. kbot is the first AI agent that **evolves itself**:
44
48
 
45
49
  - **Forges its own tools** — When kbot encounters a task it can't handle, it creates a new tool on the spot via `forge_tool`. The tool persists, gets tested, and can be shared via the Forge Registry.
46
50
  - **Self-evolving** — Autopoietic health monitoring (`kbot vitals`) tracks tool success rates, token budgets, and memory pressure. The immune agent self-audits for drift and regressions.
@@ -342,7 +346,7 @@ kbot -p "query" > output.txt # Pipe mode — clean output for sc
342
346
 
343
347
  ## Under the Hood
344
348
 
345
- kbot's agent loop runs 10 always-on cognition modules based on peer-reviewed research:
349
+ kbot's agent loop runs 11 always-on cognition modules based on peer-reviewed research:
346
350
 
347
351
  | Module | Paper | What it does |
348
352
  |--------|-------|-------------|
@@ -356,8 +360,21 @@ kbot's agent loop runs 10 always-on cognition modules based on peer-reviewed res
356
360
  | Godel Limits | Godel/UBC | Stuck-loop detection |
357
361
  | Simulation | Wolpert, 2008 | Change impact prediction |
358
362
  | Emergent Swarm | Project Sid, 2024 | Dynamic role discovery |
363
+ | Cognitive Interference | Hernandez, 2026 | Measures constructive/destructive interference between modules |
359
364
 
360
- These aren't metaphors. They're TypeScript modules with paper citations in the headers. See `packages/kbot/src/`.
365
+ These aren't metaphors. They're TypeScript modules with paper citations in the headers. The interference between modules — not the modules themselves — is where intelligent behavior emerges. See the [research paper](../../docs/cognitive-module-interference.md).
366
+
367
+ ## Standalone Packages
368
+
369
+ Use kbot's brain without the full agent:
370
+
371
+ | Package | What it does |
372
+ |---------|-------------|
373
+ | [`@kernel.chat/skill-router`](https://www.npmjs.com/package/@kernel.chat/skill-router) | Bayesian agent routing — TrueSkill-style, zero LLM calls |
374
+ | [`@kernel.chat/memory-tiers`](https://www.npmjs.com/package/@kernel.chat/memory-tiers) | Three-tier memory: observations → reflections → identity |
375
+ | [`@kernel.chat/tool-forge`](https://www.npmjs.com/package/@kernel.chat/tool-forge) | Runtime tool creation from structured definitions |
376
+ | [`@kernel.chat/prompt-evolver`](https://www.npmjs.com/package/@kernel.chat/prompt-evolver) | GEPA-style prompt self-optimization from execution traces |
377
+ | [`@kernel.chat/kbot-openclaw`](https://www.npmjs.com/package/@kernel.chat/kbot-openclaw) | OpenClaw plugin — kbot as brain for 50+ messaging channels |
361
378
 
362
379
  ## Security
363
380
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernel.chat/kbot",
3
- "version": "3.13.0",
3
+ "version": "3.14.0",
4
4
  "description": "The only AI agent that builds its own tools. Self-evolving terminal AI: 290 tools, 23 agents, 20 providers. Runtime tool forging via forge_tool, Forge Registry for community tools, autopoietic health monitoring, immune self-audit agent. Cost-aware model routing, fallback chains, Bayesian skill routing. Embedded llama.cpp, MCP server, programmatic SDK. MIT.",
5
5
  "type": "module",
6
6
  "repository": {