Needle 2 Finance Parser is a completely offline, zero-latency expense tracking system that extracts structured financial records from messy text and voice notes using on-device AI. It updates your local financial records and refreshes visual budget dashboards instantly without sending sensitive financial data to cloud servers.
| Step 1: Input | Step 2: AI Action | Step 3: Result |
|---|---|---|
| 🗣️ Voice or raw text expense note | 🧠 Needle 2 schema-constrained extraction | 📊 Instant CSV update & dashboard chart refresh |
- 🔒 100% Offline Privacy: Process financial notes locally on your PC or mobile device without sending transaction details to external cloud services.
- ⚡ Zero-Latency Extraction: Converts unstructured text into structured fields in under 0.05 seconds using Needle 2's 14MB binary engine.
- 🎯 Guaranteed Data Shape: Enforces strict Pydantic schemas so transaction amounts, merchants, and categories are never malformed.
- 📈 Instant Dashboard Refresh: Automatically updates local CSV databases and renders real-time spending category charts.
- 🛡️ Confidence Scoring: Evaluates extraction accuracy locally and alerts users if spending categories need manual confirmation.
- AI Foundation Model: Needle 2 (
cactus-needle45M tool-calling model) - Data Validation: Pydantic v2
- Programming Language: Python 3.10+
- Data Management: Pandas & CSV
- User Interface: Streamlit
Open your terminal or PowerShell and run:
pip install cactus-needle pydantic pandas streamlitThe system automatically initializes expenses.csv in your working directory upon first launch.
Launch the local Streamlit dashboard to input notes and view real-time charts:
streamlit run app.pyNeedle-Finance-Parser/
├── app.py
├── expenses.csv
└── README.md
- 🛍️ Voice Expense Logging: Dictate quick purchase notes while driving or shopping without opening bulky banking apps.
- 🧾 Receipt Summary Parsing: Copy text snippets from digital receipts or invoices directly into your local ledger.
- 🚘 Travel Reimbursement Tracking: Capture per-diem meals and transportation expenses on offline mobile devices.
- 🏠 Shared House Expense Ledger: Categorize utility bills and shared groceries locally with family members.
- 📊 Private Budget Monitoring: Maintain complete privacy over personal cash flows without third-party subscription tracking.
- 📱 Mobile Edge Integration: Deploy direct ARM binaries to Android and iOS local shortcut widgets.
- 🎙️ Offline Whisper Audio Engine: Add local Whisper C++ voice transcription for hands-free offline audio notes.
- 🔔 Custom Category Budget Alerts: Set automated spending thresholds per category with visual toast notifications.
- 🏦 Bank Statement Reconciliation: Automatically cross-reference extracted cash notes against imported CSV statements.
- 📤 Encrypted Export Formats: Support password-protected PDF and encrypted JSON financial report exports.
needle2 needle-ai on-device-ai tool-calling offline-ai structured-extraction pydantic streamlit python-ai local-ai-parser edge-ai