Lab

Six interactive experiments linked to my projects and background. They all use fictitious data and exist to show reasoning: how a technical decision changes the result.

  1. The path of a question
  2. VOP projection
  3. Sales assistant
  4. Corporate systems architecture
  5. Industrial Efficiency Lab
  6. Telemetry and data quality

The path of a question

Follow a message through an AI agent's flow and see how two architecture decisions change its route.

Conversational intelligence for financial analysis
Question
Query strategy
Calculation strategy

Agent response

Sample response

Simulation with synthetic financial data

1What came in

What was December's VOP?

Message received on WhatsApp

2How it was processed

Query
Predefined SQLQuery vop_by_period, 2024‑11 to 2024‑12. Returned: 2 rows.
Calculation
Calculations run in Python and presented by GPTPython calculates the monthly change; GPT only writes the answer.
6 steps completed

3What came out

R$ 65.7MVOP for Dec 24
Change vs Nov 24+6.6%

Answer sent

December 2024 VOP was R$ 65.7M, +6.6% compared with November.

Interpretation

December came in above the six-month average (R$ 64.1M).

Calculated in code: with the same data, the same request always produces the same number.

Technical flow

  1. WhatsAppMessage received

    What was December's VOP?

  2. ModelThe model interprets the request
    { "intent": "query_vop", "period": "2024-12" }
  3. ApplicationThe application runs a predefined SQL query
    -- predefined query: vop_by_period
    SELECT month, vop
    FROM monthly_vop
    WHERE month BETWEEN :start AND :end
    ORDER BY month;
    -- parameters: start = 2024-11, end = 2024-12
  4. DatabaseThe database returns 2 rows
    2024-11  61.6
    2024-12  65.7
  5. PythonPython runs the calculations
    change = vop["2024-12"] / vop["2024-11"] - 1
  6. ModelGPT presents the answer in natural language

    The final text appears in the Agent response panel.

What matters in this combination

Predefined SQL: more control over the data retrieved and the rules implemented, covering the anticipated questions.

Calculations in Python: the application calculates programmatically and the model handles interpretation and presentation in natural language.

In this demo, every route reaches the same number; in a real system, it is the reliability of each route that has to be assessed.

Fictitious data. Illustrative demo; it does not represent a real system.

VOP projection

Compare projection methods, adjust the horizon and the scenario, and watch uncertainty grow over time.

Conversational intelligence for financial analysis
Projection method
Projected VOP for June 2025R$ 78.4M80% interval: 74.9 to 82.0 · +19.4% vs Dec 24
HistoryProjection80% interval
The three methods, with the same parameters
MethodJun 2580% interval
Moving average63.253.4 to 73.1
Linear trend71.361.1 to 81.5
Trend + seasonality78.474.9 to 82.0

Fictitious data. Illustrative demo; it does not represent a real system.

Sales assistant

Simulate customer service and salespeople's lookups in a fictitious catalog, including routing to the representative by city.

AI-powered sales assistant

First contact on WhatsApp: questions about the portfolio, price requests and referral to the regional representative.

Sales assistant, simulated WhatsApp conversation

Hi! I'm the company's assistant. I can answer questions about the products in the portfolio or refer you to your regional representative.

What is Raiz Forte used for?

Raiz Forte is a biostimulant used to support early plant establishment. The label lists soybean, corn and cotton, applied by seed treatment or in-furrow application, at sowing and early development. The rate is on the product label (values are omitted in this demo).

Sample questions

How the assistant handled the messageExample
Profile
Customer service
Intent
Product information
Source consulted
Product label

Rules configured in the agent

  • Answer based on the knowledge provided (applied in this answer)
  • Do not make up information about products or applications
  • Do not give prices
  • Route commercial requests to the sales representatives
  • Identify the customer's location to refer a salesperson
  • Provide the national manager's contact when asked

Knowledge base (fictitious products)

ProductCategoryCrops on the labelStage
Aurora FoliarFoliar fertilizersoybean, dry beansflowering
Raiz ForteBiostimulantsoybean, corn, cottonsowing and early development
Brisa MaxAdjuvantsoybean, corn, coffee, sugarcaneaccording to the product it is mixed with
Verde PlenoFoliar fertilizercoffee, citrusvegetative growth
Safra ZincoMicronutrientcorn, cottonearly development
Café BrilhoMicronutrientcoffeepre-flowering

Products, stages, studies, regions, names and phone numbers are fictitious. Rates are omitted and nothing here is an agronomic recommendation. The original assistant covered information on more than 100 products.

Fictitious data. Illustrative demo; it does not represent a real system.

Corporate systems architecture

Compare the previous setup with the defined architecture, see where each feature lives and follow an invoicing request between the systems.

Corporate systems architecture and modernization
ProcessesSystems
rules not supportedCorporateprocessesCommercialprocessesPrevious ERPin use for about ten yearsSpreadsheets andparallel controlsSAPcorporate ERPTechnical-commercial systemOdoo and PythonIntegration

Where does each feature live?

Features planned in the project, as described in this case study.

Fictitious data. Illustrative demo; it does not represent a real system.

Industrial Efficiency Lab

Adjust the conditions of a fictitious processing line and see, through explicit rules, each unit's contribution and the opportunities worth investigating.

Industry 4.0 and operational intelligence

Industrial Efficiency Lab

Fictitious scenario, synthetic data

Line conditions

Dryer 2

Processing stages

Moisture after drying9.64 %
illustrative maximum 10.00 %−60 minnow

Simulated readings every minute over the last hour. Click a stage to switch the sensor.

Dryer contribution

Share of required dryingRelative running cost
Dryer 1original analysis: ≈ 80%
80%
100 of 160

80.0 drying points per 100 of relative cost

Dryer 2original analysis: < 5%
4%
60 of 160

6.7 drying points per 100 of relative cost

Quality and cost indicators

Moisture after drying
9.64%
within limit
Residual oil in meal
0.50%
within limit
Oil reflectance
72.0%
light oil
Relative drying cost
160
illustrative index

What the rules indicate

  • Dryer 2 delivers 4% of the required drying and accounts for 38% of the relative drying cost. Opportunity: investigate whether this equipment needs to run.
  • Simulated moisture, flake thickness and oil reflectance are within the illustrative limits.
Simulation rules
  1. Required drying = incoming moisture − 9.0%.
  2. Dryer 1 removes 80% of the required drying; Dryer 2, when running, removes 4% (shares from the original analysis: ≈ 80% and < 5%).
  3. Moisture after drying above 10.0% impairs cracking and flaking.
  4. Residual oil in meal = 0.50% + 0.06 point per 0.01 mm of flake thickness above 0.36 mm + 0.05 point per °C below 55 °C in the extractor + 0.20 point per point of moisture above the limit.
  5. Oil reflectance measured by the sensor = 72% − 1.5 points per °C above 115 °C in miscella distillation. The higher the reflectance, the lighter the oil; below 65%, the oil is too dark and the extraction should be reviewed.
  6. Relative running cost: Dryer 1 = 100; Dryer 2 = 60.

Fictitious data. Illustrative demo; it does not represent a real system.

Telemetry and data quality

Filter a fictitious fleet of tractors, combines and sprayers by machine type and period, simulate common problems in the records and apply validation rules to see how data quality changes the fleet's utilization, idle time and productive hours.

Complete, consistent records. Turn on the problems to see how they distort the indicators.
Utilization70.3% 
Idle time29.7% 
Productive hours1,471 h 
Data coverage78.9% 

By machine

% of engine hours

  • T-0177.0%
  • T-0270.9%
  • T-0362.2%
  • T-0468.6%
  • C-0174.3%
  • C-0266.2%
  • P-0179.4%
  • P-0273.2%
  • P-0358.3%
TractorsCombinesSprayers

Hours per day, selected fleet

ProductiveIdle

Fictitious data. Illustrative demo; it does not represent a real system.