EGM / AI ENGINEER
Madrid 6 años6 years Banca · Farma · Genómica · SegurosBanking · Pharma · Genomics · Insurance DisponibleAvailable LinkedIn e.gzlzmesones@gmail.com

Eduardo
González-
Mesones

Construyo sistemas de IA donde la respuesta tiene que poder defenderse.

I build AI systems where the answer has to stand up to scrutiny.

00

Arquitecturas

Architectures

Nueve sistemas · elige uno y se abreNine systems · pick one and it opens

Antes de tocar código dibujo el sistema entero. No es documentación posterior, es la herramienta con la que decido: si el dibujo no se sostiene, el código tampoco. Este es el índice de lo que he montado. Pincha en cualquier línea y se abre debajo, con su diagrama y la decisión que lo sostiene.

Before I touch code I draw the whole system. It isn't documentation written afterwards, it's the tool I decide with: if the drawing doesn't hold together, the code won't either. This is the index of what I've built. Click any row and it opens below, with its diagram and the decision holding it up.

Por qué esto va primeroWhy this comes first Cualquiera puede enseñar lo que ha hecho. Enseñar el mecanismo, con sus decisiones y sus huecos, es lo único que se puede discutir de verdad. Anyone can show what they built. Showing the mechanism, with its decisions and its gaps, is the only thing you can really argue about.

01 · Recuperación con citas verificables

01 · Retrieval with verifiable citations

gdpr-rag-citations · Python · pgvector

Un RAG legal que no puede señalar el artículo no sirve para nada, porque el abogado no puede comprobarlo. Así que la cita no es un adorno de la respuesta. La traté como la unidad que viaja por el sistema: el recuperador nunca devuelve texto suelto, devuelve número de artículo y pasaje literal.

A legal RAG that can't point at the article is worthless, because the lawyer can't check it. So the citation isn't decoration on the answer. I treated it as the unit that travels through the system: the retriever never hands back loose text, it hands back an article number and a verbatim passage.

Después monté el harness de evaluación, que es la parte que casi nadie hace. Y me dio un susto útil.

Then I built the eval harness, which is the part almost nobody bothers with. It gave me a useful scare.

Recall de citasCitation recall0.70
PrecisiónPrecision0.575
Fragmentos indexadosIndexed chunks125
El groundedness daba 0,20Groundedness scored 0.20 Y el sistema no era malo: la métrica estaba mal. Dividía entre los cinco fragmentos recuperados en vez de entre las afirmaciones de la respuesta, así que castigaba al modelo por ser selectivo. Sin harness no me habría enterado. The system wasn't bad, the metric was. It divided by the five retrieved chunks instead of by the claims in the answer, so it punished the model for being selective. Without a harness I'd never have caught it.
Fig. 01
INDEXACIÓN CORPUS99 artículos TROCEADOarrastra el nº de art. ÍNDICE125 × 384d coseno sobre la matriz CONSULTA PREGUNTA RECUPERADORtop-k = 5 ORQUESTADORobliga a citar RESPUESTAcon artículo pasaje + nº
Indexación arriba, consulta abajo. Lo que une las dos mitades es el metadato de citación: si no se arrastra desde el troceado, después no hay forma de reconstruirlo.
Indexing on top, query below. What joins the two halves is the citation metadata: if it isn't carried from chunking onward, there's no way to rebuild it later.
01

Cómo trabajo

How I work

El principio que se repite en todoThe principle behind all of it

Casi todo lo que construyo acaba en sectores donde alguien puede preguntar por qué el sistema dijo lo que dijo, y hay que tener respuesta. Banca con un supervisor detrás. Diagnóstico genético. Farmacovigilancia.

Most of what I build ends up somewhere a regulator can ask why the system said what it said, and you need an answer ready. Banking under supervision. Genetic diagnostics. Pharmacovigilance.

Eso cambia el orden de las decisiones. La evaluación no va al final: si no puedo medir si el sistema acierta, no sé si un cambio de prompt lo ha mejorado o lo ha roto. Y la trazabilidad no es una función que se añade después, porque condiciona el troceado, el esquema de datos y el formato de salida desde el primer día.

That reorders every decision. Evaluation doesn't come last: if I can't measure whether the system is right, I have no idea whether a prompt change helped or broke it. And provenance isn't a feature you bolt on later, because it dictates chunking, schema and output format from day one.

Lo que no hagoWhat I don't do Demos que impresionan y no se pueden auditar. Si no hay forma de saber si funciona, no está terminado. Demos that impress and can't be audited. If there's no way to tell whether it works, it isn't finished.
Fig. 00
PROBLEMAde negocio DATOSingesta RECUPERACIÓNcon trazabilidad DECISIÓNexplicable EVALUACIÓN mide las tres etapas. si falla, el flujo vuelve atrás
La evaluación cruza las tres etapas y puede devolver el flujo hacia atrás. Por eso es un grafo con ciclos y no una tubería: una tubería no puede retroceder.
Evaluation cuts across all three stages and can send the flow backwards. That's why it's a cyclic graph rather than a pipeline: a pipeline can't go back.
02

Trayectoria

Career

Seis años · cuatro de data science, luego el giroSix years · four in data science, then the turn
2020 · 2024 · Data Science2020 · 2024 · Data Science Cuatro años de modelos en banca: riesgo, fraude y crimen financiero. Ahí aprendí a llevar cosas a producción y a defenderlas delante de quien las audita. Four years of models in banking: risk, fraud and financial crime. That's where I learned to ship, and to defend what I shipped in front of the people who audit it.
2024 · hoy · AI Agents y RAG2024 · now · AI Agents and RAG El giro. La pregunta deja de ser cuánto acierta el modelo y pasa a ser si la respuesta se sostiene y de dónde sale. The turn. The question stops being how accurate the model is and becomes whether the answer holds up and where it came from.
  • 2025 a hoyto now

    Fundador · AI EngineerFounder · AI Engineer · GLEMES FFT

    Consultoría de IA. Sistemas RAG y multi-agente de concepto a producción para clientes de farma, diagnóstico genético, seguros y servicios financieros. Diez proyectos en paralelo con metodología propia dirigida por especificación.

    AI consultancy. RAG and multi-agent systems from concept to production for pharma, genetic diagnostics, insurance and financial services clients. Ten concurrent projects under a spec-driven method of my own.

  • 2023 ato 2025

    Senior Data Scientist · ThetaRay

    Crimen financiero. Motor de puntuación de alertas y herramientas con modelos de lenguaje para el analista, en entorno regulado con validación de modelos y requisitos de auditoría. Aquí empezó el giro hacia agentes.

    Financial crime. Alert scoring engine and language-model tooling for analysts, in a regulated setting with model validation and audit requirements. This is where the turn towards agents started.

  • 2023

    Data Scientist · Banco Sabadell

    Riesgo de crédito y fraude, con explicabilidad porque compliance tenía que poder justificar cada decisión.

    Credit risk and fraud, with explainability because compliance had to justify every decision.

  • 2020 ato 2023

    Data Scientist · Banco Santander

    Pipelines de ML distribuidos sobre millones de cuentas, del dato al endpoint: entrenamiento distribuido, tracking, serving en contenedor y CI/CD de reentrenamiento.

    Distributed ML pipelines over millions of accounts, from data to endpoint: distributed training, tracking, containerised serving and retraining CI/CD.

Ingeniería MatemáticaMathematical EngineeringUCM
M.Sc. Data ScienceEOI
03

Herramienta

Tooling

Lo que puedo defender en profundidadWhat I can defend in depth

Agentes y LLM

Agents and LLM

  • LangGraph · LangChain
  • Strands · Bedrock AgentCore
  • RAG híbrido · reranking
  • Hybrid RAG · reranking
  • Evals · LLM-as-judge

Modelos

Models

  • PyTorch · scikit-learn
  • XGBoost · GNN
  • Anomalías · series
  • Anomaly · time series
  • SHAP · LIME

Datos y búsqueda

Data and search

  • PostgreSQL + pgvector
  • OpenSearch · ChromaDB
  • BM25 · kNN
  • Spark · Glue

Ingeniería

Engineering

  • Python · FastAPI
  • Docker · Terraform
  • AWS · Azure · GCP
  • ECS · Lambda · RDS