The lightweight AI coding agent.
pip install pynanocodeexport ANTHROPIC_API_KEY="YOUR_KEY"
export ANTHROPIC_BASE_URL="https://api.deepseek.com/anthropic"
nanocodeNanoCode includes two built-in agents you can switch between with the /switch edit and /switch plan commands.
edit: Default, full-access agent for development work.plan: Read-only agent for exploration and analysis.- Deny editing files by default.
- Ask permission before running bash commands.
bash: Run shell commands in your terminal.read: Read any file with line numbers.write: Create or overwrite a file.edit: Search-and-replace inside a file.grep: Search code by regex pattern.glob: Find files by name pattern.
- DeepSeek
- Anthropic
- OpenAI
