Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@kernel.chat/kbot

Package Overview
Dependencies
Maintainers
1
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Potential malware was recently detected in this package.

Affected versions:

3.58.13.59.03.60.03.60.13.61.0
+81 more

@kernel.chat/kbot

K:BOT — Open-source terminal AI agent. 17 specialists, 60+ tools, 14 providers, local-first.

Source
npmnpm
Version
2.3.1
Version published
Weekly downloads
59
-92.32%
Maintainers
1
Weekly downloads
 
Created
Source

K:BOT

Open-source terminal AI agent. 17 specialists, 60+ tools, 14 providers, local-first.

Quick Start

# Install globally
npm install -g @kernel.chat/kbot

# Set up with your API key (auto-detects provider)
kbot auth

# Or use a local model (no API key needed)
kbot ollama

# Start chatting
kbot

One-Shot Mode

kbot "fix the auth bug in src/auth.ts"
kbot "create a react component for user profiles"
kbot "deploy to production"

Features

  • 14 Providers: Anthropic, OpenAI, Google, Mistral, xAI, DeepSeek, Groq, Together, Fireworks, Perplexity, Cohere, NVIDIA, Ollama, OpenClaw
  • 60+ Tools: File ops, bash, git, GitHub, web search, Jupyter notebooks, Docker sandbox, background tasks, MCP consumption, and more
  • Local-First: Simple operations (file reads, git, grep) execute locally without API calls
  • Learning Engine: Caches successful patterns, solutions, and user preferences — gets faster over time
  • Custom Agents: Create on-the-fly specialist agents or use built-in presets
  • Hooks & Plugins: Extend with pre/post tool hooks and custom plugins
  • IDE Integration: MCP server for VS Code, Cursor, Zed, Neovim

Providers

ProviderCostSetup
Anthropic (Claude)$3-15/M tokensANTHROPIC_API_KEY
OpenAI (GPT)$2.5-10/M tokensOPENAI_API_KEY
Google (Gemini)$0.15-0.60/M tokensGOOGLE_API_KEY
Ollama (Local)Freeollama serve
OpenClaw (Local)Freeopenclaw-cmd start

Set any provider's env var and K:BOT auto-detects it. Or run kbot auth for interactive setup.

Commands

CommandDescription
kbotInteractive REPL
kbot "prompt"One-shot execution
kbot authConfigure API key
kbot ollamaSet up local Ollama
kbot usageShow usage stats
/saveSave current session
/resumeResume a saved session
/matrixManage custom agents
/pluginsManage plugins
/compactCompress conversation history

Architecture

User Message
    │
    ├─ Local-first check (file reads, git, grep → instant, $0)
    │
    ├─ Complexity detection → Autonomous planner (multi-step)
    │
    └─ Provider API call → Tool execution loop
        │
        ├─ Permission check (destructive ops require confirmation)
        ├─ Pre/post hooks
        ├─ Tool execution (local, with timeout)
        └─ Learning (async, patterns + solutions + profile)

Security

  • API keys encrypted at rest (AES-256-CBC)
  • Config file restricted to owner (chmod 600)
  • Destructive operations require user confirmation
  • Bash tool blocks dangerous commands (rm -rf /, fork bombs, etc.)
  • Tool execution timeout prevents hangs (5 min default)
  • Result truncation prevents memory exhaustion (50KB default)

License

MIT — Antigravity Group

Keywords

ai

FAQs

Package last updated on 09 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts