A minimal CLI coding assistant powered by Claude. It provides a simple REPL interface with tools for reading, writing, editing files, searching code, and running bash commands.
export ANTHROPIC_API_KEY=your-api-key-here
go build -o nano-code .
./nano-code- Type your request and press Enter
/model- Switch between opus, sonnet, haiku (default: opus)exit- Quit the assistant
- read - Read file contents
- write - Write content to a file
- edit - Find and replace text in a file
- glob - Find files matching a pattern (supports
**) - grep - Search for regex patterns in files
- bash - Execute shell commands
