Chartered Accountant (CA) firms in India face overwhelming operational complexity during month-end close cycles. Managing dozens of clients, tracking GST compliance deadlines, validating invoice accuracy, and coordinating vendor communications consumes countless hours. Partners spend more time on administrative firefighting than strategic advisory work, leading to:
- β Missed compliance deadlines
- β GST filing penalties
- β Invoice processing backlogs
- β Burnout from manual operations
FinanceGhost is an autonomous AI-powered platform that transforms CA firm operations from reactive chaos to proactive intelligence. By deploying specialized AI agents that work 24/7, it automates the entire invoice-to-compliance pipeline while providing firm-level operational visibility.
A single command center dashboard that answers the partner's daily question:
"What needs to be done TODAY to avoid problems?"
FinanceGhost implements a multi-agent architecture where each agent operates autonomously with specific expertise:
| Agent | Responsibility |
|---|---|
| Extraction Agent | Processes invoices (PDFs, images) using OCR and extracts structured data |
| Tax Validation Agent | Validates GST calculations, GSTIN formats, and detects compliance issues |
| Compliance Risk Agent | Monitors client portfolios and predicts GSTR filing issues |
| Communication Agent | Drafts professional vendor correction emails autonomously |
| Client Workflow Agent | Tracks month-end progress across all clients |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FRONTEND (React + Vite) β
β Dashboard β Ops Intelligence β Vendors β Audit β Voice β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β WebSocket + REST
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BACKEND (FastAPI + Python) β
β REST API β WebSocket β Voice Processing β Firm Intelligenceβ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI AGENT ORCHESTRATOR β
β Real-time logging β WebSocket broadcast β Pipeline mgmt β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
ββββββββββββββ¬βββββββββββββ¬βββββββββββββ¬βββββββββββββ¬ββββββββββ
β EXTRACTION β TAX β COMPLIANCE β COMMS βWORKFLOW β
β AGENT β AGENT β AGENT β AGENT β AGENT β
β OCR+Parse βGST ValidateβRisk PredictβEmail Draft βProgress β
ββββββββββββββ΄βββββββββββββ΄βββββββββββββ΄βββββββββββββ΄ββββββββββ
β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FIRM INTELLIGENCE SERVICE β
β Month-End Autopilot β AI Briefings β Urgent Actions β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Specialized AI agents work autonomously on each invoice, coordinating through a central orchestrator.
Real-time WebSocket stream showing AI agent "thinking" process as it validates invoices.
AI drafts professional correction emails to vendors when invoice errors are detected.
Agents continuously analyze client portfolios and predict GSTR filing issues before deadlines.
Aggregates all agent insights into a Kanban-style dashboard showing client progress and bottlenecks.
Generates spoken briefing summarizing firm state, risks, and priorities each morning.
Urgent items include AI-suggested actions that can be executed with a single click.
Builds vendor intelligence over time to identify negotiation opportunities with AI-generated scripts.
| Layer | Technologies |
|---|---|
| Backend | Python, FastAPI, SQLite |
| AI/LLM | Google Gemini API, Google ADK, LangChain |
| Frontend | React, TypeScript, Vite, Framer Motion |
| Voice | Web Speech API (text-to-speech) |
| Real-time | WebSocket for live agent streaming |
| UX Polish | Canvas Confetti, Dark/Light themes |
- Python 3.10+
- Node.js / Bun
- Tesseract OCR (
brew install tesseract) - Poppler (
brew install poppler) - Google AI Studio API Key
# Clone repository
git clone https://github.com/AmrendraTheCoder/financeghost.git
cd financeghost
# Backend setup
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env with your GOOGLE_API_KEY
# Frontend setup
cd frontend
npm install # or bun installTerminal 1 - Backend:
source venv/bin/activate
uvicorn app.main:app --reload --port 8000Terminal 2 - Frontend:
cd frontend
npm run dev # or bun run devAccess:
- π Frontend: http://localhost:5173
- π Backend API: http://localhost:8000
- π API Docs: http://localhost:8000/docs
| Endpoint | Method | Description |
|---|---|---|
/firm/intelligence |
GET | Complete firm-level operational intelligence |
/firm/month-end |
GET | Month-End Close Autopilot dashboard |
/firm/urgent |
GET | Items requiring immediate attention |
/firm/briefing |
GET | AI-generated daily briefing |
/ws/agent-logs |
WebSocket | Real-time agent activity stream |
/voice/command |
POST | Process voice commands |
/cashflow/forecast |
GET | Predictive cash flow forecast |
/vendors/analysis |
GET | Vendor spend analysis |
/vendors/negotiations |
GET | AI negotiation opportunities |
/audit/report |
GET | Compliance report |
/audit/download |
GET | Download audit pack ZIP |
financeghost/
βββ app/
β βββ agents/
β β βββ orchestrator.py # Multi-agent coordination
β β βββ invoice_agent.py # OCR + extraction
β β βββ tax_agent.py # GST validation
β β βββ compliance_risk_agent.py # Risk prediction
β β βββ client_workflow_agent.py # Workflow tracking
β βββ services/
β β βββ firm_intelligence.py # Month-End Autopilot
β β βββ llm_service.py # Gemini integration
β β βββ vendor_intelligence.py # Negotiation AI
β β βββ cashflow_predictor.py # Forecasting
β βββ models/
β β βββ workflow.py # Data models
β βββ main.py # FastAPI app
βββ frontend/
β βββ src/
β βββ pages/
β β βββ OpsIntelligencePage.tsx # Hero dashboard
β β βββ VendorsPage.tsx
β β βββ AuditPage.tsx
β βββ components/
β βββ GhostTerminal.tsx # Live agent view
β βββ VoiceAssistant.tsx
βββ data/
β βββ sample_clients.json # Demo data
βββ requirements.txt
| Traditional Software | FinanceGhost |
|---|---|
| Manual invoice processing | Autonomous extraction + validation |
| Reactive error discovery | Predictive risk alerts |
| Email drafting by hand | AI-generated vendor communications |
| Spreadsheet tracking | Real-time Kanban dashboard |
| No visibility into work | Ghost Mode shows AI thinking |
| Text-based reports | Voice briefings on page load |
FinanceGhost transforms the CA firm from doing the work to overseeing AI that does the work.
MIT License
Built with β€οΈ for AutonomousHacks 2024
Amrendra Vikram Singh