-
-
Sign In: Provides secure login through email, mobile number, password, OTP, or Google authentication.
-
Create Your Account: Allows new users to register by providing personal details, email, mobile number, and password.
-
What-If Page: Simulates different financial scenarios to understand their impact on future cashflow.
-
Supervisor: Coordinates multiple AI agents to analyse financial risks and generate suitable solutions.
-
Theme Change: Allows users to switch between dark and light modes for a personalized interface.
-
Register Mobile Phone: Verifies the user's mobile number using a six-digit OTP sent through SMS.
-
Settings: Manages account details, PayPal configuration, regional preferences, and security options.
-
Resilience: Evaluates financial stability using resilience scores, risk indicators, and improvement recommendations
-
Negotiation: Generates professional messages for client payment reminders and contractor payment negotiations.
-
Inbox: Displays proposed financial actions and allows users to review and approve them securely.
-
Landing Page: Introduces Cashflow Lifeline, its key features, benefits, and AI-powered financial management capabilities.
-
Audit: Maintains financial activity records and verifies data integrity using cryptographic hash chains.
-
Forecast Page: Predicts future cashflow, identifies potential shortages, and recommends financial rescue plans.
-
. Clients: Manages client details, outstanding invoices, payment history, and payment-delay predictions.
-
Timeline: Displays historical and expected financial transactions in chronological order.
Inspiration
Freelancers and independent contractors often face a serious financial problem: they may have enough money coming into their business, but delayed client payments can prevent them from meeting fixed financial obligations on time.
A freelancer might have a healthy PayPal balance today but still be unable to pay a contractor by Friday because an expected client payment arrives several days late.
We wanted to solve this problem by building more than another financial dashboard or invoice reminder tool. We envisioned an intelligent financial assistant that predicts upcoming cash shortages, explains their causes, evaluates possible solutions, and helps business owners execute the most cost-effective action safely.
This inspired us to build Cashflow Lifeline.
What It Does
Cashflow Lifeline is an AI-powered cash-flow prediction, decision-making, and rescue platform designed initially for freelancers who receive payments through PayPal.
The platform identifies the first upcoming date when an expected cash inflow may be insufficient to cover a financial obligation. It analyzes historical client payment behavior, predicts payment delays, explains the factors behind a potential shortage, and generates up to three cost-aware rescue strategies.
Its three primary strategies are:
- Plan A – Collect Without Concessions: Send targeted payment reminders with PayPal payment links without offering discounts.
- Plan B – Limited Early-Payment Discount: Offer a selected client a controlled discount to encourage earlier settlement.
- Plan C – Collection Plus Contractor Split: Request payment from a client while proposing an agreed split of the contractor payout.
Each strategy displays its estimated cost, required incoming amount, assumptions, projected outcome, and remaining financial risk.
How We Built It
We developed a coordinated multi-agent architecture consisting of:
- Forecaster Agent: Analyzes historical payment behavior, predicts client payment delays, and identifies future cash shortages using statistical prediction and Monte Carlo simulations.
- Collector Agent: Identifies suitable clients for collection and prepares payment reminders and collection strategies.
- Treasurer Agent: Evaluates upcoming obligations, required cash, payment timing, and contractor installment possibilities.
- Negotiator Agent: Generates context-aware client and contractor communication in different tones.
- Planner Agent: Combines the analysis into cost-aware rescue plans.
- Supervisor Agent: Coordinates the agents and records their execution traces.
- Guardrail Layer: Enforces deterministic financial policies, owner approvals, action integrity, and execution safety.
The backend is built with Python and FastAPI, while the frontend uses React, TypeScript, Vite, Tailwind CSS, and Recharts. SQLAlchemy and SQLite/MySQL provide financial data persistence. Scikit-learn and NumPy support statistical prediction and simulations.
We integrated PayPal Sandbox capabilities for invoicing, payment reminders, payouts, transaction operations, and webhook-based payment reconciliation.
Safety and Responsible AI
Financial actions require explicit owner authorization. AI agents can analyze, recommend, explain, and draft messages, but they cannot independently approve financial transactions.
We implemented HMAC-SHA256 approval binding, idempotency protection, a four-state action lifecycle (proposed, approved, executed, confirmed), verified webhook processing, and a cryptographically linked audit trail.
Financial figures are calculated by deterministic backend logic rather than being trusted to language-model output. Unverified or simulated payment events are not presented as confirmed real payments.
Challenges and Learning
One of our biggest challenges was coordinating multiple intelligent agents while maintaining financial correctness and execution safety.
We addressed this by separating statistical prediction, AI-generated explanations, deterministic financial calculations, and transaction authorization into independent components.
We also worked on handling duplicate requests, payment reconciliation, webhook verification, currency precision, uncertain payment dates, and scenario simulations without modifying live financial records.
Through this project, we gained experience in multi-agent orchestration, financial API integration, statistical forecasting, secure transaction workflows, backend architecture, and responsible AI development.
Impact and Vision
Cashflow Lifeline aims to help freelancers identify financial risks before they become emergencies, reduce missed contractor payments, make better collection decisions, and preserve valuable business relationships.
Our central idea is simple:
Don't just tell business owners where their money went. Predict what financial problem comes next, explain why it may happen, recommend the most cost-effective response, and help them execute it safely.
Built With
- alembic
- fastapi
- hmac-sha256
- javascript
- jwt-authentication
- llm
- monte-carlo-simulation
- multi-agent-ai
- mysql
- numpy
- pandas
- paypal
- paypal-payouts
- paypal-rest-api
- paypal-webhooks
- python
- react
- rest-api
- scikit-learn
- sqlalchemy
- sqlite
- tailwind-css
- typescript
- vite