Skip to content
punk-linkPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Alert AI

Overview

Prometheus Alert → AI → Telegram bot that analyzes alert groups and generates human-readable summaries.

Setup

  1. Clone the repository:
git clone https://github.com/punk-link/alert-ai.git
cd alert-ai
  1. Create a .env file with required variables:
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_CHANNEL_ID=@channel_name_or_id
ANTHROPIC_API_KEY=your_anthropic_key
  1. Install dependencies:
pip install -r requirements.txt

Usage

uvicorn main:app --reload

Dependencies

  • FastAPI
  • Anthropic API
  • Python-dotenv
  • aiogram
  • pydantic

Notes

  • AI model: claude-sonnet-4-6 (configurable via ANTHROPIC_MODEL env var)
  • Ensure your Anthropic API key has sufficient quota
  • Telegram channel must have the bot added as an admin

View on GitHub

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages