Skip to main content

A lightweight terminal-based AI coding assistant

Project description

nanocode

Screenshots

Screenshot 1 Screenshot 2

Install

uv tool install nanocode-cli

For local development:

uv sync --extra dev
uv run nanocode

Environment Variables

Required:

export NANOCODE_API_URL="https://api.example.com/v1/chat/completions"
export NANOCODE_API_KEY="your-api-key"
export NANOCODE_MODEL="your-model"

Optional:

export NANOCODE_DIR=".nanocode"
export NANOCODE_TEMPERATURE="0.7"
export NANOCODE_REASONING="on"
export NANOCODE_REASONING_EFFORT="medium"
export NANOCODE_MODEL_TIMEOUT="60"
export NANOCODE_SHELL_TIMEOUT="60"
export NANOCODE_COMPACT_AT="100"

Safety

nanocode does not provide sandbox protection. It can run shell commands and edit files in the environment where you start it.

If you do not fully trust the model, tools, prompts, or workspace, run nanocode inside your own sandbox, container, VM, or other isolated environment.

Use at your own risk.

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

nanocode_cli-0.1.0.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

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

nanocode_cli-0.1.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file nanocode_cli-0.1.0.tar.gz.

File metadata

  • Download URL: nanocode_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nanocode_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f5926f4281f9b9ab2a6e54f358136335e02df321f77c559e1b95b8715e710341
MD5 4380e6771005ff7c38d7cf464b31ab0e
BLAKE2b-256 078f3a94e5862825bb5f66842c189f8c8c5b7872567838c2093dde3ea53e927f

See more details on using hashes here.

File details

Details for the file nanocode_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nanocode_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nanocode_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2abcb3e63d6091174239885b6a051e88e3ed04a08f0c18bcf7fb5174419108ac
MD5 dfdc2a1900523c3614aa7d6bab8f775f
BLAKE2b-256 5fc4fedb07ba67913556ec91f08362b980278e41aefc53a3253e33259430f8c0

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