ProbeAgent

Start

Installation

Install ProbeAgent in a Python virtual environment, with Harbor available on your shell's PATH. Quickstart covers configuration and the first run.

Requirements#

  • Python 3.11 or newer.
  • Docker, or a configured Daytona account, for the Harbor execution engine.
  • Model-provider credentials for the target and the model roles configured in ProbeAgent.
  • Disk space for task environments, container images, and execution logs.

The target runs in a container. The builder runs commands on the host; use a dedicated working directory and credentials appropriate to the campaign.

Install the source#

git clone https://github.com/HowieHwong/probeagent.git
cd probeagent
uv venv
source .venv/bin/activate
uv pip install -e ".[dev,docs]"

The dev extra installs test and lint tools. The docs extra installs the Markdown and mathematics renderers used by python scripts/build_docs.py. For runtime use alone, install with uv pip install -e ..

Install Harbor#

uv tool install 'harbor[daytona]'
harbor --version

Use uv tool install harbor if only Docker is needed. For a script or background run, ensure the tool installation directory is on that process's PATH.

Configure credentials#

Export the environment variables named in your configuration. ProbeAgent's default internal model roles use TOKENROUTER_API_KEY; configure their base_url, model, and api_key_env fields to use another endpoint. The target's provider variables are listed under agent.harbor.forward_env.

export TOKENROUTER_API_KEY=your-provider-key
# Set the target's provider variables as required by its Harbor agent.

See Model roles for the separate role settings. Store secret values outside Git.

Check the installation#

probeagent --version
pytest

Continue with Quickstart. If installation or startup fails, see Troubleshooting.

ProbeAgent — principled diagnosis of agent failures Source