An agentic-AI document pipeline that reads eligibility documents with Gemini, validates its own output through five quality layers, and processes 100+ documents a day — converted from an n8n workflow into production Python.
Tender eligibility documents are messy and high-volume, and pulling the right sections out of them reliably is exactly the kind of judgement task that breaks rigid rule-based parsers.
This microservice treats Gemini not as a plain API call but as an autonomous agent: it discovers files, reasons about each document, validates its own extraction, and only then commits to the database — tracking every step in real time. It is a backend-only microservice of EZBid, a procurement-intelligence platform.
I converted an existing n8n visual workflow into production Python, orchestrating four Google services (Drive, Sheets, Gemini) plus MySQL through a state-machine pipeline with a dedicated validation engine.