An AI analyst that answers from the data, never from memory.
The ask. Investors wanted plain-language answers about Iranian stocks. A chatbot would happily make up figures; the answers had to come from Fundai's own numbers.
- data tools
- 51
- per question after tuning
- $0.017
- slowest lookup
- 27s→1s
- tests
- 255
- Product impact
- A paid feature with credit packs and free tiers: answers investors can act on, refunded when the system fails them.
- Engineering impact
- $0.017 a question and a slow lookup cut from 27 s to 1 s, without the model ever producing a number.
01Understand
Paid one-to-one consultation bookings came first and showed the demand: people wanted answers, not more charts.
02Propose
A planner picks tools, code runs them against the raw tables, a writer composes the answer. Launched to superusers only.
03Prove small
Every sentence checked before the reader sees it, cost logged per step, and a small calculation language so the model never writes a number.
04Iterate
A slow query went from 27 s to 1 s. Replaying 17 real questions showed the cheaper model read less data, so baseline reads were added: 5.4 results per answer at $0.017.
05Ship
A guard stops a question before it costs anything (budget, daily ceiling, one at a time); a reviewer from a different provider flags and code removes; failed questions refund.
06Measure
Live with paid credits; the panel shows every conversation, its cost and the questions it could not answer.