~/projects/recovery-agent.md

AI Payment Recovery Agent

03Agentic AIfeaturedshipped Aug 2026

An AI agent prototype that classifies failed payments, selects a recovery strategy, simulates outcomes, and adapts later decisions using historical performance.

Repository (opens in a new tab)All projects

How it works

How AI Payment Recovery Agent works: Failed payment → Past attempts + stats → LLM diagnosis → Pick strategy → Simulate outcome → Record result learn Failed payment Past attempts +stats LLM diagnosis Pick strategy Simulate outcome Record result
  1. Failed payment
  2. Past attempts + stats
  3. LLM diagnosis
  4. Pick strategy
  5. Simulate outcome
  6. Record result ↺ learn: back to “Past attempts + stats”

What it does

  • Uses LLM reasoning to classify payment-failure context and choose a recovery action.
  • Records simulated outcomes and feeds strategy-performance history into subsequent decisions.
  • Combines a web dashboard with a FastAPI backend, SQLite, and a Groq-hosted LLM.

Stack

  • AI Agents
  • FastAPI
  • SQLite
  • Groq