The Watcher - An agentic system troubleshooting tool powered by Claude
Project description
Uatu - The Watcher
An agentic system troubleshooting tool powered by Claude. Chat with your system, investigate issues with AI-powered analysis, and autonomously monitor for anomalies.
Why Uatu?
Traditional monitoring tools alert you to problems. Uatu understands them.
Core capabilities:
- Interactive chat mode for conversational system troubleshooting
- One-shot investigations for specific symptoms
- Continuous monitoring with adaptive baseline learning
- Root cause analysis connecting CPU, memory, processes, and logs
- Token-efficient caching and rate limiting for cost control
Installation
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies
uv sync
# Configure API key
echo "ANTHROPIC_API_KEY=your_key" > .env
Quick Start
Interactive Chat Mode (Default)
Start a conversational troubleshooting session:
uv run uatu
Ask questions naturally and get AI-powered analysis:
- "What's causing high CPU usage?"
- "Why is my server running slowly?"
- "Investigate recent memory issues"
- "Check for network bottlenecks"
One-Shot Investigation
Investigate a specific symptom immediately:
uv run uatu investigate "server running slowly"
uv run uatu investigate "high CPU usage"
uv run uatu investigate "memory leak suspected"
The agent will:
- Gather relevant system information
- Analyze logs and metrics
- Provide root cause analysis
- Suggest actionable remediation steps
Continuous Monitoring
Watch your system and detect anomalies autonomously:
# Fast testing (1 minute baseline)
uv run uatu watch --baseline 1
# Production monitoring (5 minute baseline, default)
uv run uatu watch
# With AI investigation of detected anomalies
uv run uatu watch --investigate
Configuration
Create .env with options:
# Required
ANTHROPIC_API_KEY=your_key
# Optional
UATU_MODEL=claude-sonnet-4-5-20250929 # Claude model to use
UATU_READ_ONLY=true # Agent can only read, not modify system
UATU_REQUIRE_APPROVAL=true # Require approval for risky actions
Development
# Run tests (20 unit tests)
uv run pytest
# Lint
uv run ruff check .
# Format
uv run ruff format .
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uatu-0.1.0.tar.gz.
File metadata
- Download URL: uatu-0.1.0.tar.gz
- Upload date:
- Size: 102.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef2adf3f7507166b263457b38cb7416a3fed94d20bc0f16282b17fd1b2349324
|
|
| MD5 |
65b6594626b9cfe92b3e66265cbd1ffe
|
|
| BLAKE2b-256 |
9fa2e8ee03c96a0913443a94cecb7c919d0f4abfbed9d3cecb5f48c5a790f607
|
Provenance
The following attestation bundles were made for uatu-0.1.0.tar.gz:
Publisher:
publish.yml on fractalops/uatu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uatu-0.1.0.tar.gz -
Subject digest:
ef2adf3f7507166b263457b38cb7416a3fed94d20bc0f16282b17fd1b2349324 - Sigstore transparency entry: 699917996
- Sigstore integration time:
-
Permalink:
fractalops/uatu@15d19e0cb286ebc1c07d62b3a9b156507c56aa85 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fractalops
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@15d19e0cb286ebc1c07d62b3a9b156507c56aa85 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file uatu-0.1.0-py3-none-any.whl.
File metadata
- Download URL: uatu-0.1.0-py3-none-any.whl
- Upload date:
- Size: 50.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6b4843f902d6259d3a09ad0291ccad8c25bd0f701145fa49e40810aa4a0307a
|
|
| MD5 |
f1e7124c199e8482ac0d9bd904e22fb2
|
|
| BLAKE2b-256 |
86503a6b76812d391d00f7a79d9d3fe33c22f9bebe2565397126c0f12809e234
|
Provenance
The following attestation bundles were made for uatu-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on fractalops/uatu
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uatu-0.1.0-py3-none-any.whl -
Subject digest:
d6b4843f902d6259d3a09ad0291ccad8c25bd0f701145fa49e40810aa4a0307a - Sigstore transparency entry: 699918002
- Sigstore integration time:
-
Permalink:
fractalops/uatu@15d19e0cb286ebc1c07d62b3a9b156507c56aa85 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/fractalops
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@15d19e0cb286ebc1c07d62b3a9b156507c56aa85 -
Trigger Event:
workflow_dispatch
-
Statement type: