Generative AI · Agents
PumpyIA
A generative AI assistant that answers business questions by querying the ERP, with an accounting module that investigates and proposes but leaves the decision to the accountant.
Private code
The problem
Every management report depended on other teams and took hours or days.
Conditions
- Numbers had to be exact: a language model cannot invent accounting figures.
- Internal, confidential company data.
- Non-technical users asking in natural language.
What I decided and why
Deterministic math
Python and SQL calculate with reproducible rules; the model only interprets the question and explains the findings.
Agent with tools
A LangGraph agent with function calling queries the ERP and runs checks such as journal integrity and balance reconciliation.
Human in the loop
Proposals pause until the accountant reviews them; investigations keep state and traces so they can be resumed.
Outcome
- Sales, receivables, and ranking reports in 1-2 minutes.
- Automated weekly email of receivables per sales rep.
- RAG with pgvector over the accounting manual to cite the applicable policy.
