Info4All
Prototype AI agent platform for a challenge set by Contabilizei, a Brazilian accounting startup: ask in Portuguese, get a table, a chart and an explanation, straight from an open-source data lakehouse.
- Year
- 2026
- Type
- Group capstone · FIAP MBA
- Status
- Completed
- agent tools
- 3
- Gold tables
- 8
- people on the team
- 4
01 · Problem
In a data-driven company, business users depend on the data team for any query or report. The challenge was to let people with no technical background ask questions in plain Portuguese and get answers they can act on, without waiting for someone to write SQL.
02 · Solution
Team Info4All built a prototype with mock data over real infrastructure. The agent runs GPT-4.1-mini on Azure AI Foundry with tool calling through the OpenAI SDK: it reads the question, writes the SQL, runs it on Trino against the Gold tables of an open-source data lakehouse (MinIO, Hive Metastore, dbt in a medallion architecture, built on public Brazilian company data) and answers with a table, a chart and an explanation.
03 · Features
From question to answer
- Questions in Portuguese, with memory of the conversation
- Three tools: run SQL, read a table's schema and draw a chart
- Business terms translated into the right filters, such as "active" or "micro company"
Data
- Bronze, silver and gold layers modelled with dbt, with dimension and fact tables in gold
- MinIO as object storage, Hive Metastore as catalog, Trino as query engine and Prefect for orchestration, all in Docker
Safety
- Only SELECT queries reach Trino; write commands are blocked before that
- Results capped at 500 rows and a timeout for heavy queries
04 · Stack
- Python
- Azure AI Foundry
- GPT-4.1-mini
- OpenAI SDK
- Streamlit
- Plotly
- Pandas
- Trino
- Hive Metastore
- MinIO
- dbt
- Prefect
- Docker
05 · Architecture decisions
The decisions that shaped the project.- —
PaaS over IaaS and SaaS
Azure AI Foundry sits between running our own models and a ready-made agent: more control than Copilot Studio, with governance built in.
- —
Tool calling without a framework
The agent loop is plain OpenAI SDK function calling, so the model decides when to query, inspect a schema or draw a chart.
- —
Read-only on the Gold layer
The agent queries curated Gold tables and never writes, which keeps answers consistent and the data safe.