Inspiration

​SmartSpend AI is a resilient, autonomous transaction routing agent designed to eliminate manual data entry in personal finance. By replacing rigid tracking forms with human-centric natural language processing, it transforms casual conversational text into structured ledger data instantly.

​#What it Does ​The agent acts as an intelligent financial buffer. It continuously listens for casual user expense descriptions, extracts multi-entity costs, automatically maps items to correct budget pools using token logic, and handles over-budget state management seamlessly without breaking or crashing.

​#How We Developed It ​The system architecture was constructed entirely using Python. We utilized regular expressions (re) for dynamic numerical token extraction, built a semantic keyword-boundary matrix for category routing, and engineered state-variable tracking pools to handle mathematical balances locally.

​#Challenges We Ran Into ​Multi-Entity Splitting: Sentences with compound tracking requests (like spending on travel and snacks simultaneously) initially caused token drops. We resolved this by building a logical sharding loop using conjunction boundaries. ​Focus Drift: Minimizing UI friction required overriding terminal execution orders to lock typing focus onto the input prompt immediately upon boot.

​#Accomplishments That We Are Proud Of ​We successfully engineered a Cross-Category Overflow Management Matrix. When a specific category pool (like Transport) is completely exhausted, the agent doesn't throw a negative value error. Instead, it fluidly drains the targeted pool to zero and routes the remaining overflow debt directly from a secondary pool (like Food) in real-time.

​#What We Learned ​We gained deep insight into string tokenization, persistent state math calculations, and user-experience optimization. We also learned how to handle environment discrepancies by transitioning from a standard interface layout into a stable, high-availability terminal execution loop.

​#What's Next for SmartSpend AI ​We plan to integrate a true Machine Learning LLM API for advanced semantic understanding, hook the backend up to a live SQL database for permanent storage, and implement predictive analytics to alert users on spending patterns before their budgets overflow.

Built With

  • cil
  • git
  • github
  • os-level-terminal-focus-hooks
  • python
  • token-based-string-parsing-logic
  • utilizing-native-data-structures-for-in-memory-ledger-state-management
Share this project:

Updates

posted an update

Project Update: Building a Resilient Financial Routing Agent for Hackathon Submission! ​I am thrilled to share a major update on SmartSpend AI, which has just been officially submitted! Built natively in Python, this project focuses on creating a zero-friction, terminal-based intelligent routing agent that dynamically tokenizes user financial logs. ​ The Engineering Breakthrough: Complete State Resilience ​During development, a core challenge with routing agents is managing system drift and data integrity when input boundaries cross over. To solve this, I designed a custom memory execution loop: ​ Zero-Friction UI Focus Hooks: Manipulates standard terminal I/O to maintain an uninterrupted user input loop. ​Automated Budget Overflow Matrix: Implemented tokenization and conditional matrices that safely redirect transactional overflows across budget categories in memory, keeping the runtime completely resilient and crash-free. ​ What’s Next: Expanding the Architecture ​The agent is fully functional in a lightweight CLI format, but the roadmap is already moving forward! Next steps for development include: ​ Decoupling Logic into a Microservice API: Migrating the core parsing token machinery into a dedicated, stateful API framework. ​Persistent Ledger Layer: Transitioning from volatile in-memory storage to a production-ready database layer. ​Check out the fully open-source code and follow the journey on GitHub! ​GitHub Repository: https://github.com/Kruthika-code/Kruthika-T Watch the full Demo on YouTube: https://youtu.be/yLaF07mLw3A?si=W5rgQNf-dv71lLfi ​#Python #SoftwareEngineering #AI #RoutingAgents #Devpost #Hackathon #OpenSource #Coding

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