Skip to content

ryanhill4L/nano-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nano-code

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.

Example chat

Setup

export ANTHROPIC_API_KEY=your-api-key-here
go build -o nano-code .
./nano-code

Usage

  • Type your request and press Enter
  • /model - Switch between opus, sonnet, haiku (default: opus)
  • exit - Quit the assistant

Tools

  • 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

About

Lightwight AI coding CLI written in Go. Inspired by https://github.com/1rgs/nanocode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages