DEMRA — an in-house AI data analyst
An AI agent that lets anyone ask a half-terabyte database questions in plain English.
DEMRA plans its own steps, writes and validates ClickHouse SQL, runs statistical analysis in Python, and narrates an answer anyone can read. It's the third iteration of an idea I kept alive: my first attempt — a self-hosted model fed raw data — burned ~$2,000 a month before proving the approach wrong, and the third-party agent that replaced it was abandoned by its vendor. So I built the real thing in-house, partly on my own time, tuned its SQL generation with prompt evaluations, and it has served production since — at API-call prices.
- Python
- Gemini
- ClickHouse
- LLM agents
- Prompt evaluation