Skip to main content
matheus sampaioMS
Looking for a job

matheus sampaio

@matheussampaio

AI/ML Engineer at Maggu who raised medicine recommendation accuracy to 94% with LLM evaluation.

Brazil
Message

At Maggu, I reworked the LLM judge for medicine recommendations, raising accuracy from 62% to 94% with adversarial agents and a human-made evaluation dataset. I also tracked operational costs, latency, accuracy, and routing in Databricks MLflow.

At Maggu, I cut time to first token from 1.5 seconds to 0.7 seconds by revising cache and RAG strategies. I provisioned reproducible Databricks pipelines with Terraform and reduced compute spend by profiling PySpark jobs.

At Capgemini, I wrote an evaluation suite for agent workflows that caught four regressions before they reached the client. I also ran workshops on agent design and LLM-as-a-judge for a newly formed team and two managers from Vivo.

Across my work at Acaso and Di2win, I built RAG and model-training pipelines, automated document ingestion, and shipped generative AI proofs of concept. I bring a computer vision research background from UFPE and have worked across data pipelines, backend systems, and production ML infrastructure.

Experience

Work history, roles, and key accomplishments

MA

Data AI Engineer

Maggu

Apr 2026 - Aug 2026 (4 months)

Improved medicine recommendation accuracy from 62% to 94% by reworking the LLM judge into two adversarial agents backed by a human-made dataset on MLflow hosted at Databricks. Tracked LLM operational costs, latency, and accuracy, and reworked cache and RAG strategies to cut time-to-first-token from 1.5 to 0.7 seconds.

TR

Data AI Engineer

Triggo.ai

Dec 2025 - Jan 2026 (1 month)

Engineered prompts to keep LLM tone consistent using self-consistency and tree-of-thoughts techniques. Tuned Anthropic and OpenAI API calls to enforce JSON-formatted, length-constrained outputs.

ON

Data Engineer

Oncase

Aug 2025 - Nov 2025 (3 months)

Maintained a Flask API for image processing, storing uploads on S3 for a computer vision inference pipeline. Maintained Airflow DAGs using a Gitflow branch pattern and hosted Airflow on EC2 to run continuous inference and training jobs.

AC

Machine Learning Engineer

Acaso

Jan 2025 - Jun 2025 (5 months)

Automated document ingestion in Airflow, giving the team back roughly 20% of its week. Built a RAG pipeline using Docling for PDF parsing, LangChain for orchestration, and PostgreSQL with pgvector for storage, and cut manual data prep by 60% by moving S3 ingestion into Python and Boto3.

DI

Machine Learning Engineer

Di2win

Apr 2024 - Jan 2025 (9 months)

Cut energy consumption 20% with LSTM and regularized regression forecasts tuned in Optuna. Replaced manual retraining with event-driven Airflow pipelines and set up GitHub Actions with Pytest coverage on model behavior and input data.

VA

Data Scientist

Valorian

Apr 2023 - Apr 2024 (1 year)

Reduced hosting costs 25% by containerizing workloads and moving to reserved instances. Automated ingestion and transformation end to end, saving 30 hours of manual work per month, and improved wheat flour production efficiency 12% with XGBoost models tuned in Optuna.

Education

Degrees, certifications, and relevant coursework

Federal University of Pernambuco (UFPE) logoFU

Federal University of Pernambuco (UFPE)

Bachelor of Science, Computer Science

2022 -

Pursuing a Bachelor of Science in Computer Science at the Center of Informatics, Federal University of Pernambuco, with expected completion in July 2026.

Interested in hiring matheus?

You can contact matheus and 90k+ other talented remote workers on Himalayas.

Message matheus

People also viewed

View all talent

Get matched with your dream remote job

Sign up now and join over 250,000+ remote workers who receive personalized job alerts, curated job matches, and more for free!

Sign up
Himalayas profile for an example user named Frankie Sullivan