Lightweight Python implementation of Claude Code alternative
Project description
The lightweight AI coding agent.
Installation
pip install pynanocode
Usage
export ANTHROPIC_API_KEY="YOUR_KEY"
export ANTHROPIC_BASE_URL="https://api.deepseek.com/anthropic"
nanocode
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.5.tar.gz
(22.7 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.5.tar.gz.
File metadata
- Download URL: pynanocode-0.0.5.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76a3dba1e76dca90cc34499ce45f9cb39501342aa7241d91db4f107ae38ee8e0
|
|
| MD5 |
cdd6c01ef6dc91fc6249c6c289522c1e
|
|
| BLAKE2b-256 |
7f3ddc9aefae7b4f0b751db664e848b744f3f97a0ff10b01bb0196c983ff1dce
|
File details
Details for the file pynanocode-0.0.5-py3-none-any.whl.
File metadata
- Download URL: pynanocode-0.0.5-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 |
e4ae56014ed5950afc467190cc5f950c078de4b74828f11cd6939a9405c75adf
|
|
| MD5 |
48d382518dcc016aec430d43c0e1ec86
|
|
| BLAKE2b-256 |
b931dbe0549fed071ffbd43ab0a5f409729d9367581f22f08bd9f08fcf86cdf3
|