Metadata-Version: 2.4
Name: NanoCode-coding-agent
Version: 0.1.0
Summary: Lightweight provider-agnostic agentic coding backend (CLI + server) for the NanoCode VS Code extension.
Author: NanoCode Agent contributors
License: Apache-2.0
Keywords: ai,agent,coding,llm,cli,vscode
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.110
Requires-Dist: uvicorn[standard]>=0.29
Requires-Dist: pydantic>=2.6
Requires-Dist: python-dotenv>=1.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: openai>=1.30
Requires-Dist: httpx>=0.27
Requires-Dist: rich>=13.7
Requires-Dist: prompt_toolkit>=3.0
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.34; extra == "anthropic"
Provides-Extra: mcp
Requires-Dist: mcp>=1.0; extra == "mcp"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"

# NanoCode

NanoCode is a local, provider-agnostic coding agent with a Python backend and a
VS Code extension. It can inspect a workspace, propose and apply changes with
approval, run commands, show diffs, and undo the last task's file changes.

## Terminal agent

After publishing the backend to PyPI, users can install and run the same agent
outside VS Code:

```powershell
pip install nanocode-coding-agent
nanocode-agent --version
nanocode-agent
```

The current release version is **0.1.0**. In the interactive terminal, type
`/help` to see configuration, planning, review, security, session, and undo
commands.

## Development

Run the backend tests from the repository root:

```powershell
.\.venv\Scripts\python.exe -m pytest backend\tests -q
```

Open the `extension` folder in VS Code and run **Run NanoCode Extension** to
launch an Extension Development Host. In development, the extension installs
the adjacent local backend automatically.

## Demo release

Build the backend wheel and package the extension:

```powershell
.\.venv\Scripts\python.exe -m pip wheel . --no-deps --wheel-dir extension\resources\backend
cd extension
cmd /c npm run package
```

Install the resulting `.vsix` in VS Code with **Extensions: Install from
VSIX...**. End users need Python 3.9+; the first run installs the backend's
third-party dependencies into private extension storage.
