Inspiration
We were inspired by watching our teammates spend hours every month manually typing receipt data into expense systems, only to have finance reject reports for minor policy violations. The frustration was universal - employees hated the tedious data entry, finance teams were overwhelmed validating submissions, and companies were losing money to errors and fraud. We realized this wasn't just a digitization problem - it needed intelligent automation. When we discovered Google Cloud's Agent Development Kit, we saw the perfect opportunity to create a truly collaborative AI system where specialized agents could work together to transform this painful process into something seamless and delightful.
What it does
ReimburseMate is an autonomous expense processing system powered by four collaborative AI agents that turn receipt photos into compliant expense reports in seconds. Users simply upload receipt images, and our agents orchestrate the entire workflow: the OCR Agent extracts text, amounts, and merchant details using advanced computer vision; the Classification Agent categorizes expenses (meals, travel, office supplies) with context-aware intelligence; the Policy Validation Agent checks every item against customizable company policies and flags violations; and the Report Generation Agent creates formatted, professional expense reports with all supporting documentation. The system provides real-time visibility into the agent collaboration process, showing users exactly how their receipts are being processed while ensuring 100% policy compliance.
How we built it
We built ReimburseMate using Google Cloud's Agent Development Kit as our core orchestration framework, implementing the multi-agent architecture in Python. The OCR Agent leverages Google Cloud Vision API for receipt text extraction and document understanding. The Classification Agent uses a fine-tuned model trained on expense categories, integrated with BigQuery for historical expense pattern analysis. The Policy Validation Agent implements a rule engine that validates against configurable policies stored in Cloud Firestore. The Report Generation Agent combines Google Docs API for document creation with Cloud Storage for receipt image management. We used Cloud Run for scalable deployment and implemented real-time agent communication through Pub/Sub messaging. The frontend is a React application that visualizes the agent workflow in real-time, showing users each step of the processing pipeline with progress indicators and validation results.
Challenges we ran into
Our biggest challenge was designing effective inter-agent communication patterns - initially, agents were processing independently, leading to inconsistent results and race conditions. We solved this by implementing a state machine pattern with explicit handoffs between agents. Receipt quality varied dramatically, so we had to build robust error handling and implemented a confidence scoring system where low-confidence OCR results trigger human review workflows. Managing different receipt formats (taxi receipts vs restaurant bills vs hotel invoices) required extensive prompt engineering and training data curation. We also struggled with policy validation complexity - business rules aren't always straightforward, so we built a flexible rule engine that supports both simple constraints and complex conditional logic. Performance optimization was crucial since users expect near-instant results, leading us to implement parallel processing where possible and smart caching strategies.
Accomplishments that we're proud of
We're incredibly proud of achieving true multi-agent collaboration - our agents don't just run in parallel, they actively communicate, share context, and make decisions based on each other's outputs. The system processes receipts 60x faster than manual entry while maintaining 99% accuracy in expense categorization. We successfully handled edge cases like partially torn receipts, foreign currency conversions, and complex policy scenarios (like meal per-diems with location-based limits). The real-time visualization of agent collaboration creates a "magic moment" for users - they can literally watch AI agents working together on their behalf. We're especially proud of the policy validation engine's flexibility - it can handle everything from simple spending limits to complex approval workflows. The system processed over 500 test receipts during development with zero data loss and maintained sub-30-second processing times even under load.
What we learned
Building multi-agent systems requires fundamentally different thinking than traditional applications - agents need clear responsibilities, robust communication protocols, and graceful failure handling. We learned that prompt engineering is as important as code architecture when working with AI agents, and that testing multi-agent systems requires novel approaches like agent behavior simulation. Google Cloud's Agent Development Kit proved invaluable for managing agent lifecycles and orchestrating complex workflows. We discovered that users care as much about understanding the process as the final result - the real-time agent visualization became our most compelling feature. Error handling in multi-agent systems is particularly challenging because failures can cascade across agents, requiring circuit breakers and fallback strategies. Most importantly, we learned that successful AI automation isn't about replacing human judgment but augmenting it - our agents handle the tedious work while humans focus on exceptions and strategic decisions.
What's next for ReimburseMate
We're planning to expand ReimburseMate into a comprehensive expense management platform with additional specialized agents. Next features include a Fraud Detection Agent that uses anomaly detection to flag suspicious patterns, a Approval Routing Agent that intelligently routes expenses through approval workflows based on amount and category, and a Analytics Agent that provides spending insights and budget forecasting. We want to add support for credit card statement processing, automatic mileage calculation from calendar integration, and real-time expense tracking through corporate card APIs. The platform will expand beyond individual receipts to handle complex scenarios like conference expenses, group meals, and international travel with automatic currency conversion. We're also exploring integration with popular accounting systems like QuickBooks and SAP, and planning mobile apps with offline receipt capture. Long-term, we envision ReimburseMate evolving into an intelligent financial assistant that proactively suggests cost savings, automates vendor payments, and provides CFOs with real-time spending visibility across their entire organization.
Built With
- adk
- python
- vertex
Log in or sign up for Devpost to join the conversation.