Inspiration Small traders and freelancers often manage their finances across invoices, payment messages, shopping carts and spreadsheets. Knowing their balance does not always answer the question that matters: “Can I still cover my bills if a client pays late?”

ContextIQ connects these scattered records and turns them into understandable decisions, practical reminders and supporting evidence. What it does ContextIQ is a financial operations assistant for small businesses and freelancers. Its visual agent, Tara, helps users understand their situation without navigating multiple disconnected tools.

It connects:

  • Invoices, customers, overdue payments and partial receipts.
  • Recorded cash, recurring bills, EMI obligations and cash forecasts.
  • Dynamic budgets, purchase plans and savings targets.
  • Product-price tracking, observed price-drop alerts and savings-plan adjustments.
  • Purchase records, delivery updates, return windows, warranties and evidence.
  • Priority-based daily tasks, guided onboarding and record-backed answers. Users can ask questions such as: “Can I cover rent and my laptop EMI if this client pays late?” Tara explains the result, while “View details” exposes calculations, assumptions and source records.

Final buying and payment decisions remain with the user. The current public prototype uses fictional records and simulated payments. How we built it ContextIQ uses FastAPI, SQLAlchemy and SQLite for its backend, with a vanilla JavaScript, HTML and CSS interface. The frontend runs on Vercel, and the backend runs on Render.

LangGraph coordinates Tara’s workflow. An owner-scoped knowledge store refreshes from application records, and scikit-learn TF-IDF retrieval selects relevant evidence. With both privacy permissions enabled, selected context is sent to Groq for explanation.

Financial calculations remain deterministic. The model cannot authorize payments or directly change financial records. Validation checks model output for unsupported amounts, invalid citations, contradictory scenario verdicts and unauthorized action claims.

The project extends the original open-source ContextIQ codebase, retaining its license and attribution. Challenges we ran into The hardest challenge was making Tara answer the user’s actual question rather than return a generic response. An EMI bill, for example, must remain discoverable even when no separate loan schedule exists.

Another challenge was connecting features correctly: a receipt should update outstanding invoices and cash, while a product-price change should update purchase planning without pretending money has moved.

Live testing also exposed an incorrect AI-generated privacy statement. We replaced generated privacy disclosures with authoritative responses based on saved settings and application policy. Accomplishments that we're proud of

  • Connected financial workflows with visible calculations and source records.
  • Dynamic price-drop demonstrations that update purchase targets and savings requests.
  • Human approval boundaries around purchases and payments.
  • 216 passing automated checks and 11 passing browser-flow checks.
  • 30/30 controlled cash scenarios matching an independent arithmetic calculation.
  • The intended primary source appearing within the top eight results for 15/16 developer-authored retrieval questions. These are prototype evaluation results, not claims of universal AI accuracy or production certification. What we learned Retrieving records and attaching citations does not guarantee a correct answer. AI explanations need validation, transparent limitations and useful fallbacks.

We also learned that users need the consequence of a change explained clearly: what changed, why it matters and what decision remains theirs.

Our guiding principle became: AI explains, code calculates, and the user decides. What's next for ContextIQ

  • Usability testing with actual traders and freelancers.
  • Broader evaluation of ambiguous, multilingual and adversarial questions.
  • Payment-provider setup and verified settlement testing.
  • More supported merchant-price sources and clearer freshness indicators.
  • Further improvements to mobile usability, imports and financial explanations.

Built With

Share this project:

Updates

Submission history