@ksoftm/kode
v1.2.0
Published
AI Coding Agent CLI built by KSoftM
Readme
@ksoftm/kode
AI Coding Agent CLI. Autonomous agent for software development with plan/code workflow separation, persistent memory, enterprise-grade security, and plugin extensibility.
Install
npm install -g @ksoftm/kodeQuick Start
kode setup # First-time configuration
kode chat # Interactive chat mode
kode run --prompt "..." # Single prompt executionFeatures
- Provider Routing — Automatic failover between OpenAI, Anthropic, and custom providers
- Memory — Persistent cross-session memory with LLM embedding search
- Security — Permission enforcement, Docker sandbox, command pattern matching
- Plugin System — MCP server integration with tool discovery
- Sessions — Save/restore agent state with checkpoint diffing
- Token Budget — Usage tracking with configurable limits and warnings
Commands
| Command | Description |
|---------|-------------|
| kode chat | Interactive chat mode |
| kode run --prompt <text> | Execute a single prompt |
| kode config <get|set|list> | Manage configuration |
| kode setup | First-time setup wizard |
| kode undo | Restore files from last snapshot |
| kode memory | Manage persistent memory |
| kode session | Save/load/checkpoint sessions |
| kode plugin | Install/list/uninstall plugins |
| kode token | View/reset token budget |
Configuration
Config loaded from: CLI flags > env KODE_CONFIG_CONTENT > .kode/config.json > ~/.config/kode/config.json > defaults.
Default providers: OpenAI and Anthropic pre-configured. Custom providers supported.
License
ISC
