Skip to content
All projects

02/09 — Case study

Fintech Deal Radar

AI news agent for US & Canadian fintech deals, on Telegram

A monitoring agent built for a Canadian client. It watches 40+ newswire, regulatory and fintech press feeds, uses AI to pick out US and Canadian fintech funding rounds and acquisitions, and posts them to Telegram within minutes, at zero running cost.

Role
Sole engineer, built for a Canadian client
Type
Telegram bot · AI agent
Year
2026
Stack
Next.js 16TypeScriptMongoDBGoogle GeminigrammYVercelVitest
Fintech Deal Radar screenshot
news feeds
40+
automated tests
211
monthly running cost
$0

Overview

The client needed to hear about fintech deals as they happen without reading dozens of news sites. Fintech Deal Radar polls official RSS and Atom feeds every minute (PR Newswire, GlobeNewswire, SEC EDGAR filings, TechCrunch, BetaKit, Financial Post and more), filters out everything that isn't a tracked event, and sends a formatted alert to a Telegram channel.

The hard constraint was cost: it runs entirely on free tiers (Vercel Hobby, MongoDB Atlas M0 and Gemini). Every stage is deadline-aware and metered, so the system projects its own monthly usage and warns before it gets near a limit.

Engineering highlights

  1. 01Serverless poll cycle triggered every minute: the route answers in about 10 ms and finishes the work in the background, behind a lease so cycles never overlap.
  2. 02Conditional GET (ETag / Last-Modified) on every feed, with a body-hash fallback, so most cycles skip parsing entirely.
  3. 03A cheap keyword prefilter in front of the AI, then one batched Gemini call per cycle with a hard deadline and resilient JSON parsing.
  4. 04Six event types (funding, acquisition, launch, expansion, rebrand, partnership), each with its own confidence threshold and repeat window.
  5. 05Exactly-once alerts: unique indexes on URL and title hashes plus an atomic claim, so a deal is never sent twice even when several wires report it.
  6. 06Graceful degradation: switches to a second model at the daily quota, and keeps keyword-only matches out of the public channel, labelled as unverified.
  7. 07Meters CPU and wall-clock time against Vercel's free limits and sends a Telegram warning once usage is projected past 70%.
  8. 08Admin commands in Telegram (/status, /stats, /sources, /pause, /resume) and 211 tests, including a live AI classification test.

Next project

Profitex Subscription Bot

Automated paid-membership bot for a forex trading academy