Skip to main content

CLI coding assistant powered by your Ollama GPUs via PastaWater

Project description

PW Agent 🧠

CLI coding assistant powered by your Ollama GPUs via PastaWater.

Install

The recommended way to install pw-agent is using pipx to keep it isolated from your other Python packages:

pipx install pw-agent

Alternatively, you can use standard pip: pip install pw-agent

Usage

pw-agent

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

Features

  • Interactive REPL with real-time streaming and a premium dashboard status bar.
  • Plan vs Build Modes: Use /plan for read-only analysis and /build for execution.
  • Context Discovery: Automatically finds PW_AGENT.md for project-specific rules.
  • Tab Autocomplete for commands, file paths, and GPU slots.
  • Session Control: Fresh sessions by default; use -c to resume where you left off.
  • File Injection: /add file.py or @file.py — inject files into the LLM's context.
  • Batch Processing: Model can run multiple tool calls in a single turn.
  • GPU Fleet Control: /models to view GPUs and /use N to switch connections or slots.
  • AI Commits: /commit to generate and apply git commit messages based on your diff.
  • Safety First: -y flag for auto-approve; otherwise, every file edit requires confirmation.

Connect

  • Cloud mode: Use your PastaWater API token to access your remote fleet.
  • Direct mode: Point at a local Ollama instance (--brain http://localhost:11434).

Get your token at pastawater.io/settings

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pw_agent-1.16.1.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

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

pw_agent-1.16.1-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

Details for the file pw_agent-1.16.1.tar.gz.

File metadata

  • Download URL: pw_agent-1.16.1.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pw_agent-1.16.1.tar.gz
Algorithm Hash digest
SHA256 f94b4768070cc08191200e56145b25523aef92ac8dee699c71af9e63f5189b94
MD5 3bf850a5e3699ab462af9dc651a9d58c
BLAKE2b-256 93c65e81065b2d9ef4067a0e47158fd1efc0e46f6fc1c145da15a16a29c93881

See more details on using hashes here.

File details

Details for the file pw_agent-1.16.1-py3-none-any.whl.

File metadata

  • Download URL: pw_agent-1.16.1-py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for pw_agent-1.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77ef0995c09f2bfe7e993253f2b930d478daf47be8bd7461cd900fdc457ae8cf
MD5 21943da27356b20be8ab5ffdaa6bdd99
BLAKE2b-256 a50cea15a727d9f70ebf7f02aa4bd4759d90c96d3043f6acf2959a730881565a

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