Skip to content
Nelson D’SouzaEmail me

I build AI that a business can question.

Nelson D’Souza, AI Solutions Principal Engineer at PepsiCo. I started in data in 2017 and spent years on fraud and risk models, where a model that does not hold up costs money. I build AI with the same habits: a held-out test set, answers traced to retrieved sources, and explicit failure boundaries after launch.

go on, ask it something →

Ask about my work

A small model (gpt-6-luna) writes SQL against a Postgres copy of this site’s data. The query runs in your browser and again on the server, and the answer cites the rows it used.

How I evaluate this agent

43 held-out questions it was never tuned on, each answered 9 times across 3 eval runs of the current version and pooled. Strict lexical graders check the required facts, and separately whether each checkable answer’s citations and numbers are grounded.

correct95% CI 85–97%
93%
grounded answers95% CI 98–100%
99%
per question
$0.00019
p50 latency
2.0 s

Model gpt-6-luna, measured 2026-11-25 to 2026-11-26. Method and results

Now · AI Solutions Principal Engineer, since 2026

What I do at PepsiCo

I lead a pod of 8 engineers, owning the architecture and delivery of AI products and shared platform capabilities for global commercial applications, and I design and build alongside them. Public details are limited to two cleared outcomes; internal products and architecture stay under NDA.

  • Launched an online learning loop for a Latin America retail agent, rolling out across about 90,000 stores.
  • A separate business-unit analysis estimated 3.5 percentage points of incremental year-on-year unit growth among heavy program users, after adjustment for pre-existing differences.

architecture details stay under NDA

Geysera, where I am co-founder and CTO, is an active side company alongside my role at PepsiCo. See how it’s built

  1. 1

    Shared platform capabilities

    Common ways for applications to reach models, tools and enterprise systems, built once and reused by several teams. A guardrail or a fix made there reaches every application that adopts the shared platform layer.

  2. 2

    Agentic apps for commercial teams

    I set technical direction and delivery priorities with business and engineering leads, then design and build the applications with the pod.

  3. 3

    Retrieval over enterprise data

    Connecting agents to enterprise data and knowledge, and deciding what each one may retrieve, so an answer carries business context and stays inside its access boundary.

  4. 4

    Gates for AI-assisted development

    Standards for building with AI: requirements, implementation plans, code review, tests, evaluation and documentation. I also build the developer tools and workflows teams use to follow them.

Things I’ve built

Built outside work (plus Geysera, my active side company). Each one runs, and parts still in design or development are noted in each case study. I write them with coding agents, under my own architecture, review gates and tests.

How the toolkit grew

From a first ETL pipeline in Surat to agent platforms today, and every role left a few skills behind. I taught myself most of it through OpenCourseWare and edX, with data science coursework at the University of Utah. No degree.

  1. first ETL pipeline

    2017 – 2019 · Surat, IndiaAvinashi Group of VenturesData Scientist

    My first data job. Learning by shipping.

    • Automated ETL pipelines for genomic data in Python and SQL, replacing a manual process.
    • Segmented the market with k-means and hierarchical clustering to find underserved customers.
    • Built demand forecasts with ARIMA and exponential smoothing.

    Added to forecasting

    • Python
    • Pandas
    • scikit-learn
    • SQL
  2. 2019 · Pune, India · remoteRivet HammerData Science Consultant

    A short engagement on supply chain forecasting and genomics visualization.

    • Built time-series forecasts for supply chain demand with ARIMA and Prophet.
    • Built interactive D3.js visualizations of genomics data for research teams.

    Added to forecasting

    • Prophet
    • TensorFlow
    • GCP
    • D3.js
  3. 2019 – 2020 · Pune, IndiaTech9Data Scientist

    Transaction classification and anomaly detection on imbalanced, noisy financial data.

    • Built transaction classifiers for heavily imbalanced data using SMOTE and ensembles.
    • Built pipelines on Airflow and GCP to process large volumes of transaction logs.
    • Built anomaly detection over the transaction logs for the risk team.
    • Mentored 2 interns in analysis and visualization.

    Added to risk ML

    • BigQuery
    • Airflow
    • Dataflow
  4. started my own consultancy

    2020 – 2022 · Surat, IndiaD'Souza Data LabsFounder, Senior Data Scientist

    My own data science consultancy. I ran the client work and a small team.

    • Built an LSTM fraud detection system for a payments client that cut fraudulent transactions by 20%, with sub-100ms inference.
    • Set up MLOps basics: version control, experiment tracking in MLflow, automated tests.
    • Hired and mentored a team of 3 junior data scientists, plus interns.
    • Ran error analysis that found and corrected bias in existing models across customer segments.

    Added to consulting

    • PyTorch
    • PySpark
    • MLflow
    • Databricks
    • AWS
  5. +20% engagement

    2022 · Singapore · remoteSoho PropertyData Scientist

    Property recommendations and the data plumbing underneath them.

    • Built a hybrid recommender: matrix factorization on implicit feedback, learned property embeddings, and a ranking layer on top. User engagement rose 20%.
    • Consolidated over 500,000 property listings from 12+ sources into one data framework.
    • Built market dashboards so non-technical teams could answer their own questions.

    Added to real estate

    • SageMaker
  6. from 2024: LLM systems

    2023 – 2026 · Lynchburg, VARivet HammerSenior Data Scientist (contract)

    Started on fraud and loss for a payments and lending client, then from 2024 moved to LLM systems: personalised content, text-to-SQL, and RAG and agent proofs of concept.

    • Designed and shipped a fraud and loss system end to end for a payments and lending client: Kafka ingestion, an XGBoost plus deep-network ensemble trained with resampling and cost-sensitive learning, and a closed feedback loop. Financial losses fell 70% and fraud cases 25%.
    • Set up a reusable MLOps framework so later models could ship and be monitored the same way.
    • Built a natural-language-to-SQL system with LangGraph, knowledge graphs, vector search and graph RAG, keeping data access secure and answers accurate.
    • Built an AI marketing platform that generates personalised email content from historical engagement data.
    • Designed and led proofs of concept for RAG, graph RAG, tool-using agents and LLM deployment on cloud.

    Added to AI platforms

    • XGBoost
    • Kafka
    • LangChain
    • LangGraph
    • Neo4j
    • FastAPI
  7. now, alongside PepsiCo

    2025 – now · Seattle, WA · remoteGeyseraCo-Founder & CTO

    Co-founded Geysera and lead its technology: Geysera Signal, which turns anonymous website traffic into named, intent-scored contacts in the tools a team already uses, and a managed retention-email agent for online stores.

    • Architected Geysera Signal end to end: one async script tag resolves every visit two ways, company-first (reverse-IP, firmographics, the likely person) for B2B pipeline and person-first (an identity-network match to a verified email) for DTC, and exits on Global Privacy Control.
    • Built intent scoring whose page weights are learned from first-time buyers with exact intervals, with anti-bot diminishing returns and a 14-day half-life, driving Slack and Teams alerts and a Monday recap.
    • Delivered native sync to HubSpot, Klaviyo and Mailchimp plus webhooks, CSV and an API, with long-running syncs on Temporal workflows that retry the failed step instead of the whole job.
    • Built the measurement layer: always-on hashed holdouts for incrementality, Thompson sampling across copy variants, Shapley revenue attribution, and an analytics copilot that checks every number against the tool output it came from.
    • Made tenant isolation structural: a test fails the build on any query without a tenant filter, with Postgres row-level security behind it; deploys on AWS ECS end by confirming the running service serves the commit that shipped.

    Added to AI platforms

    • PostgreSQL
    • Temporal
    • Next.js
    • AWS ECS
  8. now, alongside Geysera

    2026 – now · Plano, TXPepsiCoAI Solutions Principal Engineer

    I lead a pod of 8 engineers, owning the architecture and delivery of AI products and shared platform capabilities for global commercial applications, and I design and build alongside them. Public details are limited to two cleared outcomes; internal products and architecture stay under NDA.

    • Launched an online learning loop for a Latin America retail agent, rolling out across about 90,000 stores.
    • A separate business-unit analysis estimated 3.5 percentage points of incremental year-on-year unit growth among heavy program users, after adjustment for pre-existing differences.
    • Turn commercial business needs into practical AI solutions, setting technical direction, architecture and delivery priorities with business and engineering stakeholders.
    • Design and build generative AI applications and agentic systems that connect enterprise data and knowledge to business context.
    • Build reusable platform capabilities, frameworks and enterprise integrations, so AI development stays consistent across applications and teams.
    • Set engineering standards for AI-assisted development: requirements, implementation planning, code review, testing, evaluation and documentation.
    • Create developer tools and workflows that help teams use AI well across the software delivery lifecycle.

    Added to AI platforms

    • Generative AI
    • Agentic systems
    • AI platform engineering
    • Enterprise integrations
    • LLM evaluation

The toolkit

What 9 years of risk models, data platforms and AI systems left me with. Shown here are only entries evidenced in a role or a project on this site; the Ask database also labels everyday-practice skills separately as practice. Ask the agent where any one of them came from.

AI systems

  • Generative AI applications
  • Agentic systems
  • AI platform & enterprise integrations
  • LangChain
  • LangGraph
  • Text-to-SQL
  • Graph RAG
  • Personalised content generation
  • Retrieval-augmented generation
  • Embeddings & vector search
  • Hybrid search (BM25 + vectors)
  • Cross-encoder reranking
  • Citation grounding
  • Engine-grounded generation
  • LLM evaluation & golden sets
  • LLM-as-judge
  • Prompt & context engineering
  • Structured outputs
  • Prompt caching & cost control
  • Model routing & fallbacks
  • Local inference
  • Agent tool use
  • Model Context Protocol (MCP)
  • Multi-model deliberation
  • Prompt-injection defence
  • Sandboxed agent execution
  • Streaming answers (SSE)
  • Long-context strategies
  • Agent memory patterns
  • LLM red-teaming

Machine learning & statistics

  • Fraud & loss modelling
  • Anomaly detection
  • Recommender systems
  • Time-series forecasting (ARIMA, Prophet)
  • Gradient boosting & ensembles (XGBoost)
  • Deep learning (PyTorch, TensorFlow, LSTMs)
  • Imbalanced & cost-sensitive learning
  • Clustering & segmentation
  • Model interpretability (SHAP, LIME)
  • Bias & error analysis
  • scikit-learn
  • A/B testing & experiment design
  • Causal inference
  • Bayesian statistics
  • Monte Carlo methods
  • Churn prediction

Data engineering

  • SQL
  • PySpark
  • Databricks
  • BigQuery
  • Airflow
  • Dataflow
  • Kafka streaming
  • ETL / ELT pipelines
  • Knowledge graphs (Neo4j)
  • Data contracts & quality checks
  • PostgreSQL
  • Row-level security
  • Schema design & migrations
  • Window functions & query tuning
  • SQLite
  • Redis
  • NATS messaging

MLOps & platform

  • MLflow
  • MLOps frameworks
  • Model feedback loops
  • Real-time inference
  • LLM deployment on cloud
  • AWS
  • SageMaker
  • GCP
  • Docker
  • AWS ECS
  • Infrastructure as code (Terraform)
  • CI/CD with gated deploys & rollback
  • Temporal workflows
  • Celery
  • OpenTelemetry
  • Model monitoring
  • Secrets management

Software engineering

  • Python
  • FastAPI
  • D3.js
  • System design & architecture
  • Engineering standards for AI-assisted development
  • Developer tooling
  • TypeScript
  • Go
  • Rust
  • Next.js & React
  • SvelteKit
  • Tauri desktop apps
  • WebAssembly
  • React Native (Expo)
  • API design
  • Concurrency & async
  • Performance profiling
  • Hermetic test suites
  • CLI design
  • Cross-platform installers
  • Threat modelling

Working with people

  • Leading an engineering pod
  • Problem framing with stakeholders
  • Proof-of-concept leadership
  • Founding & running a consultancy
  • Hiring & mentoring data scientists
  • Explaining models to non-specialists
  • Dashboards for non-technical teams
  • Technical writing

How I work

  1. Fix the data before the model. Where upstream data is wrong, surface the defect and push for a producer contract—or gate ingestion fail-closed—before tuning the model.

    Learned from data contracts with engineering, mid fraud project

  2. Start with the simplest baseline that works—and in regulated or high-stakes tabular domains, one stakeholders can inspect—before paying for model complexity.

    Learned from explaining models to stakeholders, with SHAP and LIME

  3. A gate has to be able to fail. Before trusting a check, break the work on purpose and confirm it goes red.

    Learned from running my own agent delivery loop

  4. Put hard boundaries in code. A prompt is a request; a type, gate or server check is a boundary you can test and audit—and it still has to be tested against bad inputs.

    Learned from agent memory and spend limits, enforced outside the model

  5. Done means integrated and used. Code that nothing calls is not finished, however green its checks are.

    Learned from integration reviews of agent-built code

Notes from the build

All 14 posts

Always glad to talk about hard AI problems.

I’m happy building AI at PepsiCo and not looking for a new role. I do take on advising and collaboration, so tell me what you’re working on.

Opens your email app with that line already written.

Or find me on LinkedIn, or download my résumé (PDF). Based in Plano, Texas.