Metadata-Version: 2.4
Name: pw-agent
Version: 0.4.3
Summary: CLI coding assistant powered by your Ollama GPUs via PastaWater
Home-page: https://pastawater.io
Author: PastaWater
Author-email: support@pastawater.io
Project-URL: Homepage, https://pastawater.io
Project-URL: GPU Setup, https://pastawater.io/gpu-setup
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28.0
Requires-Dist: rich>=13.0.0
Requires-Dist: prompt_toolkit>=3.0.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# PW Agent

CLI coding assistant powered by your Ollama GPUs via [PastaWater](https://pastawater.io).

## Install

```bash
pip install pw-agent
```

## Usage

```bash
pw-agent
```

First run guides you through setup — paste your API token, pick a GPU, start chatting.

## Features

- Interactive REPL with streaming responses
- Tab autocomplete for commands and file paths
- Session persistence (resume where you left off)
- `/add file.py` or `@file.py` — inject files into context
- `/models` — view your GPU fleet
- `/switch N` — hot-switch between GPUs
- `/commit` — AI-generated git commit messages
- `-y` flag for auto-approve mode
- `-p "prompt"` for one-shot non-interactive mode

## Connect

- **Cloud mode**: Use your PastaWater API token
- **Direct mode**: Point at a local Ollama instance (`--brain http://localhost:11434`)

Get your token at [pastawater.io/settings](https://pastawater.io/settings?tab=cli)
