@kernel.chat/kbot 3.51.0 → 3.54.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 (121) hide show
  1. package/README.md +43 -9
  2. package/dist/agent-protocol.test.d.ts +2 -0
  3. package/dist/agent-protocol.test.d.ts.map +1 -0
  4. package/dist/agent-protocol.test.js +730 -0
  5. package/dist/agent-protocol.test.js.map +1 -0
  6. package/dist/agent.d.ts.map +1 -1
  7. package/dist/agent.js +34 -10
  8. package/dist/agent.js.map +1 -1
  9. package/dist/agents/replit.js +1 -1
  10. package/dist/auth.js +3 -3
  11. package/dist/auth.js.map +1 -1
  12. package/dist/behaviour.d.ts +30 -0
  13. package/dist/behaviour.d.ts.map +1 -0
  14. package/dist/behaviour.js +191 -0
  15. package/dist/behaviour.js.map +1 -0
  16. package/dist/bench.d.ts +64 -0
  17. package/dist/bench.d.ts.map +1 -0
  18. package/dist/bench.js +973 -0
  19. package/dist/bench.js.map +1 -0
  20. package/dist/bootstrap.js +1 -1
  21. package/dist/bootstrap.js.map +1 -1
  22. package/dist/cli.js +144 -29
  23. package/dist/cli.js.map +1 -1
  24. package/dist/cloud-agent.d.ts +77 -0
  25. package/dist/cloud-agent.d.ts.map +1 -0
  26. package/dist/cloud-agent.js +743 -0
  27. package/dist/cloud-agent.js.map +1 -0
  28. package/dist/context.test.d.ts +2 -0
  29. package/dist/context.test.d.ts.map +1 -0
  30. package/dist/context.test.js +561 -0
  31. package/dist/context.test.js.map +1 -0
  32. package/dist/evolution.d.ts.map +1 -1
  33. package/dist/evolution.js +4 -1
  34. package/dist/evolution.js.map +1 -1
  35. package/dist/github-release.d.ts +61 -0
  36. package/dist/github-release.d.ts.map +1 -0
  37. package/dist/github-release.js +451 -0
  38. package/dist/github-release.js.map +1 -0
  39. package/dist/graph-memory.test.d.ts +2 -0
  40. package/dist/graph-memory.test.d.ts.map +1 -0
  41. package/dist/graph-memory.test.js +946 -0
  42. package/dist/graph-memory.test.js.map +1 -0
  43. package/dist/init-science.d.ts +43 -0
  44. package/dist/init-science.d.ts.map +1 -0
  45. package/dist/init-science.js +477 -0
  46. package/dist/init-science.js.map +1 -0
  47. package/dist/integrations/ableton-m4l.d.ts +124 -0
  48. package/dist/integrations/ableton-m4l.d.ts.map +1 -0
  49. package/dist/integrations/ableton-m4l.js +338 -0
  50. package/dist/integrations/ableton-m4l.js.map +1 -0
  51. package/dist/integrations/ableton-osc.d.ts.map +1 -1
  52. package/dist/integrations/ableton-osc.js +6 -2
  53. package/dist/integrations/ableton-osc.js.map +1 -1
  54. package/dist/lab.d.ts +45 -0
  55. package/dist/lab.d.ts.map +1 -0
  56. package/dist/lab.js +1020 -0
  57. package/dist/lab.js.map +1 -0
  58. package/dist/lsp-deep.d.ts +101 -0
  59. package/dist/lsp-deep.d.ts.map +1 -0
  60. package/dist/lsp-deep.js +689 -0
  61. package/dist/lsp-deep.js.map +1 -0
  62. package/dist/memory.test.d.ts +2 -0
  63. package/dist/memory.test.d.ts.map +1 -0
  64. package/dist/memory.test.js +369 -0
  65. package/dist/memory.test.js.map +1 -0
  66. package/dist/multi-session.d.ts +164 -0
  67. package/dist/multi-session.d.ts.map +1 -0
  68. package/dist/multi-session.js +885 -0
  69. package/dist/multi-session.js.map +1 -0
  70. package/dist/music-learning.d.ts +181 -0
  71. package/dist/music-learning.d.ts.map +1 -0
  72. package/dist/music-learning.js +340 -0
  73. package/dist/music-learning.js.map +1 -0
  74. package/dist/self-eval.d.ts.map +1 -1
  75. package/dist/self-eval.js +5 -2
  76. package/dist/self-eval.js.map +1 -1
  77. package/dist/skill-system.d.ts +68 -0
  78. package/dist/skill-system.d.ts.map +1 -0
  79. package/dist/skill-system.js +386 -0
  80. package/dist/skill-system.js.map +1 -0
  81. package/dist/streaming.d.ts.map +1 -1
  82. package/dist/streaming.js +0 -1
  83. package/dist/streaming.js.map +1 -1
  84. package/dist/teach.d.ts +136 -0
  85. package/dist/teach.d.ts.map +1 -0
  86. package/dist/teach.js +915 -0
  87. package/dist/teach.js.map +1 -0
  88. package/dist/telemetry.d.ts +1 -1
  89. package/dist/telemetry.d.ts.map +1 -1
  90. package/dist/telemetry.js.map +1 -1
  91. package/dist/tools/ableton.d.ts.map +1 -1
  92. package/dist/tools/ableton.js +24 -8
  93. package/dist/tools/ableton.js.map +1 -1
  94. package/dist/tools/arrangement-engine.d.ts +2 -0
  95. package/dist/tools/arrangement-engine.d.ts.map +1 -0
  96. package/dist/tools/arrangement-engine.js +644 -0
  97. package/dist/tools/arrangement-engine.js.map +1 -0
  98. package/dist/tools/browser-agent.js +2 -2
  99. package/dist/tools/browser-agent.js.map +1 -1
  100. package/dist/tools/forge.d.ts.map +1 -1
  101. package/dist/tools/forge.js +15 -26
  102. package/dist/tools/forge.js.map +1 -1
  103. package/dist/tools/git.d.ts.map +1 -1
  104. package/dist/tools/git.js +10 -7
  105. package/dist/tools/git.js.map +1 -1
  106. package/dist/tools/index.d.ts.map +1 -1
  107. package/dist/tools/index.js +5 -0
  108. package/dist/tools/index.js.map +1 -1
  109. package/dist/tools/producer-engine.d.ts +71 -0
  110. package/dist/tools/producer-engine.d.ts.map +1 -0
  111. package/dist/tools/producer-engine.js +1859 -0
  112. package/dist/tools/producer-engine.js.map +1 -0
  113. package/dist/tools/sound-designer.d.ts +2 -0
  114. package/dist/tools/sound-designer.d.ts.map +1 -0
  115. package/dist/tools/sound-designer.js +896 -0
  116. package/dist/tools/sound-designer.js.map +1 -0
  117. package/dist/voice-realtime.d.ts +54 -0
  118. package/dist/voice-realtime.d.ts.map +1 -0
  119. package/dist/voice-realtime.js +805 -0
  120. package/dist/voice-realtime.js.map +1 -0
  121. package/package.json +11 -4
package/README.md CHANGED
@@ -19,7 +19,7 @@
19
19
  npm install -g @kernel.chat/kbot
20
20
  ```
21
21
 
22
- **Self-defending AI agent. 384+ tools. 41 agents. 20 providers. Forges new tools at runtime. Built-in cybersecurity suite. $0 local AI. MIT licensed.**
22
+ **Self-defending AI agent. 560+ tools. 35 agents. 20 providers. Forges new tools at runtime. Built-in cybersecurity suite. $0 local AI. MIT licensed.**
23
23
 
24
24
  > **New: [The Kernel Stack](./KERNEL_STACK.md)** — the architecture behind kbot + Claude Code. Agentic, self-improving, compound AI. Read the manifesto.
25
25
 
@@ -36,8 +36,8 @@ npm install -g @kernel.chat/kbot
36
36
  | **Claude Code Plugin** | kbot registers its 9 core specialists as Claude Code teammates via the Agent Teams integration. Delegate tasks to `coder`, `researcher`, `guardian`, etc. directly from Claude Code sessions. |
37
37
  | **Voice Mode** | `kbot voice` — full voice loop with speech-to-text input and text-to-speech output. Hands-free agentic coding. Works with system TTS and Whisper STT. |
38
38
  | **OpenClaw Integration** | [`@kernel.chat/kbot-openclaw`](https://www.npmjs.com/package/@kernel.chat/kbot-openclaw) — kbot as the brain for 50+ messaging channels. Discord, Slack, Telegram, WhatsApp, iMessage, email, and more. One agent, every platform. |
39
- | **41 agents** | 15 new specialist and domain agents since v3.28, including meta-agent, dream agent, and expanded presets. |
40
- | **384+ tools** | 34 new tools across finance, creative, build matrix, and meta-cognition categories. |
39
+ | **35 agents** | 15 new specialist and domain agents since v3.28, including meta-agent, dream agent, and expanded presets. |
40
+ | **560+ tools** | 210+ new tools across science, research, finance, creative, build matrix, and meta-cognition categories. |
41
41
 
42
42
  ### v3.28 — Self-Defense System
43
43
 
@@ -88,7 +88,7 @@ Other AI agents are static — fixed tools, single providers, no memory, no lear
88
88
  - **20 providers, zero lock-in** — Claude, GPT, Gemini, Grok, DeepSeek, Groq, Mistral, and 13 more. Switch anytime.
89
89
  - **Runs fully offline** — Embedded llama.cpp runs GGUF models directly. No Ollama needed. $0, fully private.
90
90
  - **Learns your patterns** — Bayesian skill ratings + pattern extraction. Gets faster and smarter over time.
91
- - **41 specialist agents** — Say "fix the auth bug" and it routes to `coder`. Say "research JWT tokens" and it routes to `researcher`. Say "analyze BTC" and it routes to `trader`. Auto-routed with probabilistic confidence.
91
+ - **35 specialist agents** — Say "fix the auth bug" and it routes to `coder`. Say "research JWT tokens" and it routes to `researcher`. Say "analyze BTC" and it routes to `trader`. Auto-routed with probabilistic confidence.
92
92
  - **Crash-proof** — Checkpoints after every tool call. Resume interrupted sessions automatically.
93
93
  - **Use as a library** — Clean SDK with typed exports. Build your own tools on top of kbot.
94
94
  - **Works in your IDE** — Built-in MCP server for VS Code, Cursor, Zed, Neovim. ACP for JetBrains.
@@ -177,7 +177,7 @@ for await (const event of agent.stream("explain this code")) {
177
177
  const files = await tools.execute('glob', { pattern: 'src/**/*.ts' })
178
178
  console.log(files.result)
179
179
 
180
- // List all 384+ tools
180
+ // List all 560+ tools
181
181
  console.log(tools.list().map(t => t.name))
182
182
  ```
183
183
 
@@ -191,7 +191,7 @@ import { ResponseStream } from '@kernel.chat/kbot' // Stream
191
191
 
192
192
  ## Specialists
193
193
 
194
- 41 agents, auto-routed by Bayesian skill ratings, or pick one with `kbot --agent <name>`:
194
+ 35 agents, auto-routed by Bayesian skill ratings, or pick one with `kbot --agent <name>`:
195
195
 
196
196
  | | Agents |
197
197
  |---|---|
@@ -209,7 +209,7 @@ kbot --agent coder "refactor this into smaller functions"
209
209
  kbot --agent trader "analyze BTC momentum and run a paper trade"
210
210
  ```
211
211
 
212
- ## 384+ Tools
212
+ ## 560+ Tools
213
213
 
214
214
  | Category | Examples |
215
215
  |----------|---------|
@@ -236,6 +236,16 @@ kbot --agent trader "analyze BTC momentum and run a paper trade"
236
236
  | **Memory** | persistent save, search, update, forget — survives across sessions |
237
237
  | **IDE** | MCP server, ACP server, LSP bridge |
238
238
  | **Finance** | market data, technical analysis, paper trading, DeFi yields, Solana wallet & swaps, stock screener, sentiment, whale tracking |
239
+ | **Science & Math** | symbolic compute, matrix ops, FFT, ODEs, probability, optimization, graph theory, combinatorics, OEIS |
240
+ | **Physics** | orbital mechanics, circuits, signal processing, particle physics (PDG), relativity, quantum simulator, beam analysis, fluid dynamics, EM, astronomy |
241
+ | **Chemistry** | PubChem compounds, reactions, periodic table (118 elements), materials, spectroscopy, stoichiometry, crystals, thermodynamics |
242
+ | **Biology** | PubMed, gene lookup, protein/PDB, BLAST, drug/ChEMBL, pathways, taxonomy, clinical trials, ecology, sequence tools |
243
+ | **Earth & Climate** | earthquakes/USGS, climate/NOAA, satellite imagery, geology, ocean, air quality, soil, volcanoes, water resources, biodiversity |
244
+ | **Neuroscience** | brain atlas, EEG analysis, cognitive models, neural simulation, neurotransmitters, connectome, psychophysics, neuroimaging, learning models |
245
+ | **Social Science** | psychometrics, game theory, econometrics, social network analysis, inequality metrics, survey design, voting systems, behavioral experiments |
246
+ | **Humanities** | corpus analysis, formal logic, argument mapping, ethics frameworks, historical timelines, language typology, phonetics (IPA), stylometry, philosophical concepts |
247
+ | **Health & Epidemiology** | SIR/SEIR/SEIRS models, epidemiology calculations, disease surveillance, crop modeling, nutrition, learning analytics, vaccination modeling, environmental health |
248
+ | **Deep Research** | literature review, drug discovery pipeline, genomic analysis, environmental assessment, materials discovery, knowledge graphs, hypothesis engine, meta-analysis, research notebooks |
239
249
  | **Cybersecurity** | dep_audit, secret_scan, ssl_check, headers_check, cve_lookup, port_scan, owasp_check |
240
250
  | **Self-Defense** | memory HMAC, injection detection, knowledge sanitization, forge verification, anomaly detection, incident log |
241
251
  | **System** | vitals, immune audit, defense audit, cost tracking, fallback status |
@@ -264,6 +274,30 @@ kbot --agent trader "what's crypto twitter saying about the next FOMC?"
264
274
 
265
275
  **31 finance tools** across 5 categories: market data (11), wallet & swaps (9), stocks (6), and sentiment (5). All paper trading is simulated — no real funds are moved unless you explicitly configure and confirm a live wallet transaction.
266
276
 
277
+ ## Science & Research
278
+
279
+ The only terminal AI agent with a built-in science laboratory. 114 research tools across 11 domains:
280
+
281
+ ```bash
282
+ # Physics
283
+ kbot "calculate the orbital period of a satellite at 400km altitude"
284
+ kbot "simulate a quantum circuit with 4 qubits in a GHZ state"
285
+
286
+ # Biology
287
+ kbot "search PubMed for CRISPR delivery mechanisms published in 2025"
288
+ kbot "look up the protein structure for insulin receptor"
289
+
290
+ # Chemistry
291
+ kbot "what are the properties of aspirin from PubChem?"
292
+ kbot "balance the equation: Fe + O2 -> Fe2O3"
293
+
294
+ # Deep Research
295
+ kbot "run a literature review on transformer attention mechanisms"
296
+ kbot "generate hypotheses for why coral bleaching accelerated in 2025"
297
+ ```
298
+
299
+ 114 tools across: math, physics, chemistry, biology, earth science, neuroscience, social science, humanities, health/epidemiology, deep research pipelines, and knowledge graphs.
300
+
267
301
  ## Middleware Pipeline
268
302
 
269
303
  Extend tool execution with composable middleware:
@@ -471,7 +505,7 @@ kbot meta
471
505
 
472
506
  Self-referential self-improvement. Inspired by Meta's HyperAgents paper ([arXiv 2603.19461](https://arxiv.org/abs/2603.19461)), the Meta-Agent implements a two-agent architecture:
473
507
 
474
- 1. **Task agents** solve problems (the 41 specialists you already use)
508
+ 1. **Task agents** solve problems (the 35 specialists you already use)
475
509
  2. **The Meta-Agent** observes their performance, identifies weaknesses, and improves them
476
510
 
477
511
  The improvement loop runs automatically:
@@ -618,7 +652,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, adding tools, and
618
652
  </details>
619
653
 
620
654
  <details>
621
- <summary><strong>Agent Routing</strong> — 41 specialists, auto-routed by intent</summary>
655
+ <summary><strong>Agent Routing</strong> — 35 specialists, auto-routed by intent</summary>
622
656
  <img src="https://raw.githubusercontent.com/isaacsight/kernel/main/tools/video-assets/demo-agents.gif" alt="kbot agent routing" width="700">
623
657
  </details>
624
658
 
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=agent-protocol.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-protocol.test.d.ts","sourceRoot":"","sources":["../src/agent-protocol.test.ts"],"names":[],"mappings":""}