Lightweight Python implementation of Claude Code alternative
Project description
The lightweight AI coding agent.
Installation
pip install pynanocode
Usage
- Configure API key before nanocode
export ANTHROPIC_API_KEY="YOUR_KEY"
nanocode
- Configure API key in nanocode
nanocode
/init
Agents
NanoCode 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.
Built-in Tools
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.
LLM Provider
- DeepSeek
- Anthropic
- OpenAI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pynanocode-0.0.4.tar.gz
(22.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pynanocode-0.0.4.tar.gz.
File metadata
- Download URL: pynanocode-0.0.4.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41b73b267bdffa9a49e75ac97a54c6db97077f4afa769b2d6d48c82b5a06be30
|
|
| MD5 |
c1bfa901350dd910c46f95196c4fc5cb
|
|
| BLAKE2b-256 |
71fb51ee0b2635bc10ec150ccb680d1a26a5b4f950dc37b600de40583b45d1e9
|
File details
Details for the file pynanocode-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pynanocode-0.0.4-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8d62d1d36b4bfea15e7e8dcab36d796bfa395b7c56f9160faf9d3e11f23c32a
|
|
| MD5 |
6009859b4fe66de26b2916f5c7a2b3de
|
|
| BLAKE2b-256 |
f31c8b6e1f45b2edf571c353f8ecb82e120a739ad46592ab285be0ef75932474
|