blade-code
About
blade-code is a TypeScript coding agent built on the pi-ai runtime, which unifies more than 38 model providers behind one interface with auto-fetched model metadata such as context windows and pricing. It runs in three modes: a React+Ink terminal UI, a browser-based web UI served by a Hono server, and a headless JSONL mode for CI pipelines and sandboxed automation. Twenty-plus built-in tools cover file editing, search, shell execution, git, and browser automation through a session-isolated Chromium. A four-tier permission system (default, autoEdit, plan, yolo) plus tool allowlists governs autonomy, while a persistent memory layer learns each project's build commands and code patterns across sessions. Cost visibility is built in, with per-turn token and cost tracking that accounts for cached tokens. Individual developers and small teams use it as an open-source, multi-provider alternative to single-vendor agents.