Skip to content

Loading the guide…

    Install HoundWatch™

    Updated

    This page covers what you need, how to install HoundWatch™, and how to check that it works.

    What you need

    • Python 3.10 or newer. HoundWatch's only runtime dependencies are watchdog and pyyaml; pipx installs them for you.
    • git. HoundWatch works on git repositories. Most of what it does is hooked into git.
    • pipx. It gives HoundWatch an environment of its own. See pipx.pypa.io for how to install pipx on your system.
    • macOS or Linux. HoundWatch is developed and tested on macOS. Linux should work. Windows is best effort: the watcher's fast path uses a Unix socket.
    • Ollama (optional). Rules of type llm ask a local model a question. They need Ollama running on this machine. Everything else works without it. See Local models.

    Models, if you use Ollama

    HoundWatch picks its models from what you have installed. It uses two tiers:

    • Tier 1 is the smallest chat model you have of at least 1B parameters. It answers quick yes-or-no questions.
    • Tier 2 is the largest chat model you have, preferring one with coder in its name. It answers the harder questions and confirms any tier 1 block.

    Embedding, OCR and vision models are never picked. To choose the models yourself, set tier1_model and tier2_model in ~/.houndwatch/config.yaml (Configuration).

    The first live trial used llama3.2:3b for tier 1 and qwen2.5-coder:32b for tier 2. For example:

    ollama pull llama3.2:3b
    ollama pull qwen2.5-coder:32b

    Context size

    In the first trial, model checks timed out. The Ollama app was set to a 128k context, and HoundWatch did not send a context size, so the 3B model loaded at 18 GB. Swapping it with the 32B model took minutes.

    HoundWatch now sends a context size with every request: llm_context, default 8192. Rule drafting sends llm_draft_context, default 32768. So HoundWatch's own requests no longer use the app's setting.

    • Leave llm_context at 8192 unless a check needs more. A larger context costs memory.
    • Keep the Ollama app's own context length moderate (the trial owner set it to 16k). Other programs that call Ollama still use it.
    • If both tier models don't fit in memory together, Ollama swaps them, and each swap is slow.

    Install

    HoundWatch is not on PyPI yet, and its GitHub repository is private for now. Once it is published, this will work:

    pipx install houndwatch

    Until then, install it in one of these two ways.

    From GitHub, if you have access to the repository:

    pipx install git+https://github.com/open8arms/houndwatch

    From a clone on your machine:

    git clone https://github.com/open8arms/houndwatch ~/src/houndwatch
    pipx install ~/src/houndwatch

    pipx prints the command it installed:

    text
      installed package houndwatch 0.2.0.dev0, installed using Python 3.14.3
      These apps are now globally available
        - houndwatch

    You don't need to delete an old build/ folder before you install from a clone. Each build starts in a new temporary folder, so old build files are never installed.

    Your Python version may differ. To choose one, add --python python3.10 (or another version) to the pipx install command.

    Install it; don't run it from a checkout

    The git hooks and agent hooks that HoundWatch writes call the Python interpreter recorded at install time. That interpreter must keep HoundWatch importable. pipx gives it a stable place.

    If you reinstall, upgrade or move HoundWatch, run houndwatch hooks install again in each project, and houndwatch hooks install --agent claude-code if you use the agent hook. See Upgrading.

    Check that it works

    houndwatch --version

    This prints the version:

    text
    0.2.0.dev0

    Then list the commands:

    houndwatch --help

    The output starts with:

    text
    usage: houndwatch [-h] [--version] <command> ...
    
    HoundWatch - a local watchdog that holds AI coding agents to the rules you
    own.

    If your shell says houndwatch: command not found, the folder pipx puts commands in is not on your PATH. Run pipx ensurepath, then open a new terminal.

    Next

    Set up your first project: Your first project.