Graea
Provide large language models with a human-like perspective on Telegram bots, capturing structured interaction data, real screenshots, and vision-based analysis for comprehensive testing and development.
Graea empowers large language models to develop and test Telegram bots with a human's "eye." Recognizing that traditional bot APIs don't show how a human perceives messages (rendered markdown, keyboard layouts, edits, etc.), Graea acts as an autonomous test user. It operates a real Telegram user account, leveraging Telethon for structured data capture of interactions (sending messages, pressing buttons, logging incoming data) and Playwright to drive Telegram Web, taking screenshots after every step. A pluggable vision model then analyzes these screenshots, providing plain descriptions and highlighting structural findings like truncated buttons or missing captions, all stored in DuckDB for detailed historical tracking and diffs.