CoolFace
Apppublic

Shadman919/cfo-copilot-shadman

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

๐Ÿงฎ Mini CFO Copilot

An AI-powered FP&A assistant that answers finance questions directly from structured data (actuals, budget, fx, and cash).

โœ… Built as part of the final-round Software Engineering (AI) Internship assignment.


๐Ÿš€ Features

  • โ€”Ask finance questions in natural language
  • โ€”โ€œWhat was June 2025 revenue vs budget in USD?โ€
  • โ€”โ€œShow Gross Margin % trend for the last 3 months.โ€
  • โ€”โ€œBreak down Opex by category for June.โ€
  • โ€”โ€œWhat is our cash runway right now?โ€
  • โ€”โ€œShow EBITDA trend.โ€
  • โ€”Deterministic workflow
  • โ€”Interpret the CFO question (intent classification)
  • โ€”Run the correct data function
  • โ€”Return concise text + visualization
  • โ€”Charts: inline with Streamlit (matplotlib/plotly)
  • โ€”Optional: Export PDF (Revenue vs Budget, Opex breakdown, Cash trend)

๐Ÿ“Š Metrics Implemented

  • โ€”Revenue vs Budget (USD)
  • โ€”Gross Margin % = (Revenue โ€“ COGS) / Revenue
  • โ€”Opex Breakdown by category (Sales, R&D, G&A)
  • โ€”EBITDA = Revenue โ€“ COGS โ€“ Opex
  • โ€”Cash Runway = Cash รท avg monthly net burn (last 3 months)

๐Ÿ“‚ Project Structure

text
app.py             # Streamlit entry point
agent/             # Planner + tools (intent classifier + finance functions)
fixtures/          # data.xlsx (main source); CSVs kept as fallback
tests/             # Unit tests (pytest)
requirements.txt   # Python dependencies
README.md          # This file
Dockerfile         # Hugging Face deployment