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.42.0.tar.gz (97.6 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.42.0-py3-none-any.whl (104.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pw_agent-1.42.0.tar.gz
  • Upload date:
  • Size: 97.6 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.42.0.tar.gz
Algorithm Hash digest
SHA256 a7f309931724d1a605acb46eb7037494bf13928fbb87816d3f8bc5be1105cdbf
MD5 f27d879c8a183ccfd8b2396d813fe7cf
BLAKE2b-256 3ee25781fc5831d7b146038e8e0f5e354ed16e74649ff565a93b5db1c4bafddb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pw_agent-1.42.0-py3-none-any.whl
  • Upload date:
  • Size: 104.2 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.42.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72fc9c37ae8457157208e8b6e7888de18f22b251e181c38a35e844511de24766
MD5 7e836e3ac07e478659c9632199d16e62
BLAKE2b-256 17c7995445324025f2b922b9e45b339bcae9f000f40bd4d7c42c0acabb7d7807

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