What's New in v2.0
Features
- Claude 4.5 Models — Haiku, Sonnet, and Opus with extended thinking (16K budget)
- 10 Tools — Image analysis, PDF processing, Python execution, image generation, audio transcription, web search/fetch, LaTeX rendering, file preview/delivery
- Unified Message Pipeline — 200ms batching for split messages, file normalization
- Payment System — Telegram Stars integration with balance tracking
- Prompt Caching — 5-minute ephemeral cache (10x cost reduction)
- Auto Topic Naming — LLM-based intelligent title generation
- Redis Caching — Write-behind with circuit breaker, 3600s TTL
- Automatic Data Cleanup — 90-day retention policy for old data
Infrastructure
- Microservices Architecture — Docker Compose with 9 containers
- Monitoring Stack — Grafana, Prometheus, Loki for dashboards, metrics, and logs
- Auto Migrations — Alembic migrations run automatically on startup
- 1850+ Tests — Comprehensive test coverage
Quickstart
git clone git@github.com:trxxxxkov/chxxxxbot.git && cd chxxxxbot
echo "TOKEN" > secrets/telegram_bot_token.txt
echo "API_KEY" > secrets/anthropic_api_key.txt
echo "password" > secrets/postgres_password.txt
echo "password" > secrets/redis_password.txt
docker compose up -d