Installation

Install the CLI and SDK to start tracing your agents

CLI Installation

The Watchtower CLI is a Node.js package that can be installed globally using your preferred package manager.

npm

npm install -g @watchtower/cli

pnpm

pnpm add -g @watchtower/cli

yarn

yarn global add @watchtower/cli

Verify Installation

watchtower --version
watchtower --help

Python SDK Installation

The Python SDK provides the AgentTracePlugin that integrates with Google ADK to emit trace events.

pip

pip install watchtower-adk

With optional dependencies

pip install watchtower-adk[dev]

Requirements

ComponentRequirement
CLINode.js 18+
Python SDKPython 3.9+
Google ADKgoogle-adk 0.1.0+

Troubleshooting

"Command not found: watchtower"

Ensure your npm global bin directory is in your PATH:

# For npm
export PATH="$PATH:$(npm config get prefix)/bin"

# For pnpm
export PATH="$PATH:$(pnpm config get global-bin-dir)"