← All projects

Blue

AI backend and integration (team project)

The public demo runs on synthetic data.

Digital safety

Summary

A workspace for analysts to review messages for signs of financial pyramid schemes.

Overview

Built for the SafeNet KZ hackathon. Blue brings suspicious Telegram and WhatsApp messages and the evidence behind their risk scores into one analyst workspace. The backend is a FastAPI service over PostgreSQL, with a background worker that processes messages through Google Gemini.

How it works

  1. Analysts review messages from Telegram and WhatsApp, filtered by source and risk.
  2. Each message shows highlighted passages that explain its assessment.
  3. Analysts record a decision and a comment for each message.

Stack

  • Python
  • FastAPI
  • PostgreSQL
  • Google Gemini
  • React
  • TypeScript

My contribution

Built the Gemini-based analysis service with quota handling, request deadlines and exponential backoff with jitter. Calibrated the confidence model ("signal clarity"), kept separate from the risk level, and handled sparse input. Typed the OpenAPI response models and connected the frontend to the live API, checked end to end in the browser. Built the Telegram connector for voluntary submissions: consent flow, analysis commands, data deletion and a 30-day retention sweep. Added test database isolation and safety checks.

SYSTEM // TERMINAL

Type help to see all commands.