@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.
- package/README.md +43 -9
- package/dist/agent-protocol.test.d.ts +2 -0
- package/dist/agent-protocol.test.d.ts.map +1 -0
- package/dist/agent-protocol.test.js +730 -0
- package/dist/agent-protocol.test.js.map +1 -0
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +34 -10
- package/dist/agent.js.map +1 -1
- package/dist/agents/replit.js +1 -1
- package/dist/auth.js +3 -3
- package/dist/auth.js.map +1 -1
- package/dist/behaviour.d.ts +30 -0
- package/dist/behaviour.d.ts.map +1 -0
- package/dist/behaviour.js +191 -0
- package/dist/behaviour.js.map +1 -0
- package/dist/bench.d.ts +64 -0
- package/dist/bench.d.ts.map +1 -0
- package/dist/bench.js +973 -0
- package/dist/bench.js.map +1 -0
- package/dist/bootstrap.js +1 -1
- package/dist/bootstrap.js.map +1 -1
- package/dist/cli.js +144 -29
- package/dist/cli.js.map +1 -1
- package/dist/cloud-agent.d.ts +77 -0
- package/dist/cloud-agent.d.ts.map +1 -0
- package/dist/cloud-agent.js +743 -0
- package/dist/cloud-agent.js.map +1 -0
- package/dist/context.test.d.ts +2 -0
- package/dist/context.test.d.ts.map +1 -0
- package/dist/context.test.js +561 -0
- package/dist/context.test.js.map +1 -0
- package/dist/evolution.d.ts.map +1 -1
- package/dist/evolution.js +4 -1
- package/dist/evolution.js.map +1 -1
- package/dist/github-release.d.ts +61 -0
- package/dist/github-release.d.ts.map +1 -0
- package/dist/github-release.js +451 -0
- package/dist/github-release.js.map +1 -0
- package/dist/graph-memory.test.d.ts +2 -0
- package/dist/graph-memory.test.d.ts.map +1 -0
- package/dist/graph-memory.test.js +946 -0
- package/dist/graph-memory.test.js.map +1 -0
- package/dist/init-science.d.ts +43 -0
- package/dist/init-science.d.ts.map +1 -0
- package/dist/init-science.js +477 -0
- package/dist/init-science.js.map +1 -0
- package/dist/integrations/ableton-m4l.d.ts +124 -0
- package/dist/integrations/ableton-m4l.d.ts.map +1 -0
- package/dist/integrations/ableton-m4l.js +338 -0
- package/dist/integrations/ableton-m4l.js.map +1 -0
- package/dist/integrations/ableton-osc.d.ts.map +1 -1
- package/dist/integrations/ableton-osc.js +6 -2
- package/dist/integrations/ableton-osc.js.map +1 -1
- package/dist/lab.d.ts +45 -0
- package/dist/lab.d.ts.map +1 -0
- package/dist/lab.js +1020 -0
- package/dist/lab.js.map +1 -0
- package/dist/lsp-deep.d.ts +101 -0
- package/dist/lsp-deep.d.ts.map +1 -0
- package/dist/lsp-deep.js +689 -0
- package/dist/lsp-deep.js.map +1 -0
- package/dist/memory.test.d.ts +2 -0
- package/dist/memory.test.d.ts.map +1 -0
- package/dist/memory.test.js +369 -0
- package/dist/memory.test.js.map +1 -0
- package/dist/multi-session.d.ts +164 -0
- package/dist/multi-session.d.ts.map +1 -0
- package/dist/multi-session.js +885 -0
- package/dist/multi-session.js.map +1 -0
- package/dist/music-learning.d.ts +181 -0
- package/dist/music-learning.d.ts.map +1 -0
- package/dist/music-learning.js +340 -0
- package/dist/music-learning.js.map +1 -0
- package/dist/self-eval.d.ts.map +1 -1
- package/dist/self-eval.js +5 -2
- package/dist/self-eval.js.map +1 -1
- package/dist/skill-system.d.ts +68 -0
- package/dist/skill-system.d.ts.map +1 -0
- package/dist/skill-system.js +386 -0
- package/dist/skill-system.js.map +1 -0
- package/dist/streaming.d.ts.map +1 -1
- package/dist/streaming.js +0 -1
- package/dist/streaming.js.map +1 -1
- package/dist/teach.d.ts +136 -0
- package/dist/teach.d.ts.map +1 -0
- package/dist/teach.js +915 -0
- package/dist/teach.js.map +1 -0
- package/dist/telemetry.d.ts +1 -1
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js.map +1 -1
- package/dist/tools/ableton.d.ts.map +1 -1
- package/dist/tools/ableton.js +24 -8
- package/dist/tools/ableton.js.map +1 -1
- package/dist/tools/arrangement-engine.d.ts +2 -0
- package/dist/tools/arrangement-engine.d.ts.map +1 -0
- package/dist/tools/arrangement-engine.js +644 -0
- package/dist/tools/arrangement-engine.js.map +1 -0
- package/dist/tools/browser-agent.js +2 -2
- package/dist/tools/browser-agent.js.map +1 -1
- package/dist/tools/forge.d.ts.map +1 -1
- package/dist/tools/forge.js +15 -26
- package/dist/tools/forge.js.map +1 -1
- package/dist/tools/git.d.ts.map +1 -1
- package/dist/tools/git.js +10 -7
- package/dist/tools/git.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +5 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/producer-engine.d.ts +71 -0
- package/dist/tools/producer-engine.d.ts.map +1 -0
- package/dist/tools/producer-engine.js +1859 -0
- package/dist/tools/producer-engine.js.map +1 -0
- package/dist/tools/sound-designer.d.ts +2 -0
- package/dist/tools/sound-designer.d.ts.map +1 -0
- package/dist/tools/sound-designer.js +896 -0
- package/dist/tools/sound-designer.js.map +1 -0
- package/dist/voice-realtime.d.ts +54 -0
- package/dist/voice-realtime.d.ts.map +1 -0
- package/dist/voice-realtime.js +805 -0
- package/dist/voice-realtime.js.map +1 -0
- 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.
|
|
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
|
-
| **
|
|
40
|
-
| **
|
|
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
|
-
- **
|
|
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
|
|
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
|
-
|
|
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
|
-
##
|
|
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
|
|
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> —
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"agent-protocol.test.d.ts","sourceRoot":"","sources":["../src/agent-protocol.test.ts"],"names":[],"mappings":""}
|