Show HN: Nanocode-CLI – A lightweight terminal-based AI coding assistant A developer released Nanocode-CLI, a lightweight terminal-based AI coding assistant written in Python that operates entirely within a command-line interface. The tool features live turn control, file-state tracking, stale-edit protection, and project-aware navigation to help developers edit code and run shell commands without leaving the terminal. A small terminal coding agent written in Python. nanocode is pre-1.0 software. Commands, configuration, and tool behavior may change before a stable release. Live turn control : Add follow-up input while the agent is still working, without losing the current tool flow. File-state brain : Reads and edits build a current, line-numbered view of the files that matter now. Stale-edit protection : line:hash anchors reject edits when the target code has drifted. Project-aware navigation : Use the symbol index to jump through outlines, references, and changed files quickly. Recoverable context : Tool output stays bounded in the prompt, while raw tr.N results remain recallable. Cache-aware context : Stable sections stay early and noisy working state stays late to improve prompt-cache reuse. Focused working memory : Note separates goal, plan, and known facts from noisy execution logs. Terminal-first workflow : Model selection, history search, confirmations, live command output, appended input, and status all stay in one CLI. uv tool install nanocode-cli Upgrade: uv tool upgrade nanocode-cli For local development: uv sync --extra dev uv run nanocode Start the CLI: nanocode Useful arguments: --config