🔷 Inspiration

In the fast-paced BTCFi ecosystem, SMEs often fall into the "Paper Profit Trap": reporting accounting gains while facing fatal liquidity dry-spells. We noticed that businesses don't need more dashboards—they need decisions.

FinDiagnostix was created to bridge the gap between static accounting and on-chain execution, acting as an AI-driven CFO that doesn't just diagnose problems but triggers Bitcoin-native solutions.


🔷 System Workflow (The BTCFi Loop)

FinDiagnostix operates through six intelligent layers:

  1. Smart Data Ingestion: Automated mapping of BTC-denominated financial records (CSV/Excel).
  2. The Pulse: Real-time tracking of Sats-based liquidity and Cash Runway.
  3. AI Diagnostic Lab: A prescriptive engine that detects hidden "Fake Profits" and structural liquidity risks before they escalate.
  4. BTCFi Execution Command Center: A technical bridge that moves beyond data. It suggests and simulates L402-compliant Lightning Network loans and automated settlements to bridge cash gaps instantly.
  5. AI “What-if” Simulator: Stress-tests business survival against BTC price volatility and network fee spikes.
  6. Human-in-the-Loop Governance: A critical ethical layer where AI-generated execution commands require manual cryptographic approval. This ensures professional accountability, where the AI "advises" but the human "authorizes."

🔷 Technical Stack

  • Language: Python (Core Financial & Diagnostic Engine)
  • Infrastructure: L402 Protocol & Lightning Network (Simulated Execution Hooks)
  • Frontend: Streamlit (Interactive, High-fidelity BTC-native dashboard)
  • Data & Visualization: Pandas, Plotly

🔷 Innovation & Impact

  • From Analysis to Action: We integrated an Execution Layer where the AI can trigger Lightning Network actions directly to solve liquidity crises.
  • Ethical Integrity: By incorporating a human approval gate, we respect financial professional ethics, ensuring AI never oversteps its role as a decision-support tool.
  • Fighting Decision Paralysis: Reduces the gap between "detecting a risk" and "securing a BTC-backed loan" from days to seconds.
  • Bitcoin-Native Growth: Empowers Bitcoin-aligned businesses to remain solvent and scalable without losing BTC upside exposure.

🔷 Roadmap

  • Phase 1 (MVP): Full deployment of the Paper Profit Detection Engine & BTCFi Execution Hub with manual approval triggers.
  • Phase 2 (Direct Integration): Live API connectivity with LND nodes, accounting platforms, and Taproot Assets.
  • Phase 3 (AI Assisted CFO): A voice-driven assistant capable of managing BTC liquidity via the Lightning Network under supervised autonomous frameworks.

Built With

Share this project:

Updates

posted an update

Update: High-Precision Data Shield

I’ve enhanced the engine to handle messy SME data by adding a Reliability Scoring system.

Key Features:

  • Auto-Cleaning: Automatically fixes messy records and syncs them with On-chain data.
  • Confidence Level (%): Every diagnosis now shows an Accuracy Percentage based on data quality.
  • Risk-Aware Advice: Recommendations (like BTC loans) are weighted by how complete your data is.

Result: You get clear, high-precision financial advice, even if your records are incomplete.

Log in or sign up for Devpost to join the conversation.