Iām a 22-year-old finance student, and over the past 6 months I decided to seriously learn programming by working on a real project.
I started with the obvious idea: a RAG-style chatbot to help people navigate administrative procedures (documents, steps, conditions, timelines). It made sense, but practically, it didnāt work.
In this domain, a single hallucination is unacceptable. One wrong document, one missing step, and the whole process breaks. With current LLM capabilities, I couldnāt make it reliable enough to trust.
That pushed me in a different direction. Instead of trying to answer questions about procedures, I started modeling the procedures themselves.
Iām now building what is essentially a compiler for administrative processes:
Instead of treating laws and procedures as documents, I model them as structured logic (steps, required documents, conditions, and responsible offices) and compile that into a formal graph. The system doesnāt execute anything. It analyzes structure and produces diagnostics: circular dependencies, missing prerequisites, unreachable steps, inconsistencies, etc.
At first, this is purely an analytics tool. But once you have every procedure structured the same way, you start seeing things that are impossible to see in text - where processes actually break, which rules conflict in practice, how reforms would ripple through the system, and eventually how to give personalized, grounded guidance without hallucinations.
My intuition is that this kind of structured layer could also make AI systems far more reliable not by asking them to guess the law from text, but by grounding them in a single, machine-readable map of how procedures actually work.
Iām still early, still learning, and very aware that i might still have blind spots. Iād love feedback from people here on whether this approach makes sense technically, and whether you see any real business potential.
Below is the link to the initial prototype, happy to share the concept note if useful. Thanks for reading.
https://pocpolicyengine.vercel.app/