A next-generation AI-powered CLI coding agent with dual-mode interface (CLI + Web UI), automatic memory, 20+ built-in tools, and sub-agent workflows.
Blade Code is a next-generation AI-powered coding agent built with TypeScript (98%) in a Monorepo architecture (Bun workspaces), requiring Node.js ≥ 20.0.0. Core capabilities include: multi-turn contextual conversation, cross-session automatic memory system (/memory command family for build commands, code patterns, debugging insights), dual-mode interface with CLI (React + Ink) and Web UI (React + Vite), 20+ built-in tools (file operations, bundled ripgrep search, Shell execution, Git operations, Web access, etc.), MCP (Model Context Protocol) and plugin/Skills extension mechanisms, Spec/Plan/Subagents structured workflows, and four permission modes (default/autoEdit/plan/yolo) with tool allow/deny lists.
For automation scenarios, it supports --headless mode for full agent loops, --output-format jsonl for machine-consumable event streams, --print for pipe-friendly output, and blade serve for deploying remote headless Web UI services. Sub-agents are implemented as independent session models, combined with progressive tool disclosure and built-in validation agents for high-quality task decomposition and execution. Code quality is ensured through Biome (lint + format), Knip (dead code detection), TypeScript strict mode, and a layered testing system (unit / integration / cli / web / headless-core / coverage). The repository includes a packages/vscode sub-package, but Marketplace publication status is unconfirmed.
Quick start: npx blade-code; global install: npm install -g blade-code. First launch requires model configuration via /model add (supports openai-compatible provider). Config files at ~/.blade/config.json (global) or .blade/config.json (project-level). Utility commands: blade doctor (env check), blade update (check updates), blade mcp (manage MCP servers).
Unconfirmed: Discord community link, VS Code extension publication status, MCP protocol version and compatible server list, native Anthropic/Google provider support.