Mendral built an AI agent that investigates CI failures by writing its own SQL queries against a ClickHouse database storing 1.5 billion log lines per week. The system denormalizes 48 metadata columns onto every log row, achieving 35:1 compression (21 bytes per line on disk). The agent runs multi-step investigations averaging

11m read timeFrom mendral.com
Post cover image
Table of contents
A SQL interface for the agent5 TiB uncompressed, 154 GiB on diskIngesting through GitHub's rate limit

Sort: