Skip to main content

Lightweight Python implementation of Claude Code alternative

Project description

NanoCode logo

The lightweight AI coding agent.

Python GitHub Last Commit pypi

EdgeRazor Demo

Installation

pip install nanocode

Usage

  • Change API key in .env or export THIS_IS_API_KEY="YOUR_KEY"
  • Start your nanocode journey
$ 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


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.3.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynanocode-0.0.3-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file pynanocode-0.0.3.tar.gz.

File metadata

  • Download URL: pynanocode-0.0.3.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for pynanocode-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3aead72c3459bc33082991cecdf468e971846bf9b7f4283fdf21afb90acc72a4
MD5 b39f7dfc79c78df94f8c10dda516fa97
BLAKE2b-256 85755dfc9aa3d955b1f9129c01464700793f644ebf4b4d1b4413f37486547519

See more details on using hashes here.

File details

Details for the file pynanocode-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pynanocode-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for pynanocode-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fbc63bc7ec6eb24499e201acf18d7b2421fc14c66c3bd7c3d9a729f008ede340
MD5 28331460ad1716bdf6d227ff0f0eb996
BLAKE2b-256 7ca79acd0a675e71d361357174439147178423310a4fbe714af97c62ba9b147b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page