Skip to main content

nanoPyCodeAgent

English | 简体中文

A nano code agent built in pure Python.

"What I cannot create, I do not understand." — Richard Feynman, 1988

Usage

nanoPyCodeAgent requires Python 3.13 or newer.

How to Run

There are a few ways to run it — pick whichever fits your workflow.

Run without installing

Use uvx to run the latest release without installing anything:

uvx nanoPyCodeAgent

Run after installing

Install it as a persistent command-line tool, then run it from anywhere:

uv tool install nanoPyCodeAgent   # or: pipx install nanoPyCodeAgent
nanoPyCodeAgent

Run one task and exit

Give it a task and it works through it on its own, with no prompt and nothing to confirm — the shape a script or a benchmark harness needs:

nanoPyCodeAgent -p "add a --version flag and run the tests"

The task runs in the current directory and the command exits when the run ends. See the complete CLI reference for all task input methods, options, exit statuses, trajectory output, and Event Journal behavior.

Run a branch or tagged version

Run an unreleased branch or a specific release tag straight from GitHub:

# latest commit on a branch
uvx --from "git+https://github.com/minixalpha/nanoPyCodeAgent@main" nanoPyCodeAgent

# a specific tag
uvx --from "git+https://github.com/minixalpha/nanoPyCodeAgent@v0.1.0" nanoPyCodeAgent

Configuration

Set ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN before running the agent. You can also configure the endpoint and model through environment variables or ~/.nanoPyCodeAgent/settings.json. See the configuration reference for supported variables, defaults, file format, precedence, and empty-value handling.

How to Update

Upgrade an installed tool to the latest release:

uv tool upgrade nanoPyCodeAgent   # or: pipx upgrade nanoPyCodeAgent

Releasing

For maintainers: see docs/RELEASING.md for the release process and prerequisites.

Metadata

Release files for nanoPyCodeAgent 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nanoPyCodeAgent 0.9.0
File Size Uploaded
nanopycodeagent-0.9.0.tar.gz 761.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nanoPyCodeAgent 0.9.0
File Interpreter ABI Platform
nanopycodeagent-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 810.1 kB

Release files / nanopycodeagent-0.9.0.tar.gz

Download URL nanopycodeagent-0.9.0.tar.gz
Size 761.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dd17cc3e8a6b8135c8355a07bd10cc27cb27de643c88b23b3d93700e73d87607
BLAKE2b-256 checksum
How to use checksums
c99b46d03e9fcf415beb94d8a8f8557d3887414f2a7fef6c26519733d2884b63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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":true}

Release files / nanopycodeagent-0.9.0-py3-none-any.whl

Download URL nanopycodeagent-0.9.0-py3-none-any.whl
Size 49.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28bf15811d812c343bbd34ad1e3dc7928c62726c0f620d40568b92cd98594dd2
BLAKE2b-256 checksum
How to use checksums
9049ece624ea89300425d9778c998538b7e258d74d5428c677c3d2a963c53a92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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":true}

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page