# Agentic System Monitoring

This is a suite of scripts and tools for safely monitoring and responding to
server events without human intervention.

## Quick Start

1. uv init .
2. uv add langchain langchain-openai dotenv openai
3. See [Agents](#agents)

## Environment Setup

1. Create a directory at `/etc/duco-agents` for storing configuration
2. Create an email credential .env file at `/etc/duco-agents/.env/smtp.env` with the following:

    ```text
    USER=...
    PASSWORD=...
    ENDPOINT=...
    TLS_PORT=...
    SENDER=...
    RECEIVER=...
    ```

3. Ensure all your btrfs top level volumes are mounted under a directory called `/btrfs`

## Agents

### Agent Disk Report

Runs a one-shot disk evaluation script to check the health of btrfs partitions
and send an alert with any findings or actions taken.

```bash
uv run active/vibe_system_report/agent_disk_report.py
```

### Agent Update Check

Checks for available updates and applies them if necessary based on the prompt.

```bash
uv run active/vibe_system_report/agent_update_check.py
```

### Agent VM Create

Creates a new VM and installs tools based on the user's request.