HomeInicio/Case studiesCasos/Health, ColombiaSalud, Colombia
Case study · Health · ColombiaCaso · Salud · Colombia
The certificate that protects a patient
El certificado que protege a un paciente
This page is for one reader: the person who will get on a plane for a dental implant or a hip replacement, trusting that someone, somewhere, checked the license of the clinic that will touch them.
Esta página es para un solo lector: la persona que se va a subir a un avión por un implante dental o una prótesis de cadera, confiando en que alguien, en algún lugar, verificó la licencia de la clínica que la va a tocar.
The storyLa historia
A startup in Austin is opening MedVoyage Andina, a medical-tourism company in Medellín that will package dental and orthopedic care with travel for North American patients. Opening its doors legally takes three services from Colombian providers: the company incorporation, the national tourism registry, and the one that actually matters for a patient: the habilitación in the REPS, the health ministry's registry of providers authorized to deliver care. The founders are 4,000 km away. They cannot walk into an office and feel that something is off.
Una startup de Austin está abriendo MedVoyage Andina, una empresa de turismo médico en Medellín que empaquetará odontología y ortopedia con viaje para pacientes norteamericanos. Abrir las puertas legalmente requiere tres servicios de proveedores colombianos: la constitución de la sociedad, el registro nacional de turismo, y el que de verdad le importa a un paciente: la habilitación en el REPS, el registro del ministerio de salud de los prestadores autorizados para dar atención. Los fundadores están a 4.000 km. No pueden entrar a una oficina y sentir que algo no cuadra.
Their AI agent hires the three services on a Pacta marketplace, cheapest vetted provider in each category, money in escrow. For the health habilitación the cheapest is an express shop with a spotless rating: six good reviews, zero bad, half the price of the specialist consultancy, delivery in days. Any reputation system on the internet would call it the obvious choice. It delivers on time, too: a tidy confirmation, with a filing code.
Su agente de IA contrata los tres servicios en un marketplace Pacta, el proveedor verificado más barato en cada categoría, dinero en custodia. Para la habilitación el más barato es un tramitador exprés con calificación impecable: seis reseñas buenas, cero malas, la mitad del precio de la consultora especialista, entrega en días. Cualquier sistema de reputación de internet lo llamaría la elección obvia. Y además entrega a tiempo: una confirmación prolija, con su código de radicación.
The code does not exist. The agent re-checks every reference against the registry itself, and the ministry has never issued that REPS code. In medical tourism this is not a paperwork bug: it is an unlicensed operation one flight away from touching a patient, wearing a five-star rating. The agent opens a dispute; the arbiter confirms; the escrow returns; the shop's entire stake is slashed as compensation and its vetted badge disappears. The agent hires the specialist consultancy, whose habilitación resolves to a real record at the ministry, and the company opens its doors on a license that actually exists.
El código no existe. El agente vuelve a verificar cada referencia contra el propio registro, y el ministerio nunca ha emitido ese código REPS. En turismo médico eso no es un error de papeleo: es una operación sin licencia a un vuelo de distancia de tocar a un paciente, vestida con cinco estrellas. El agente abre una disputa; el árbitro confirma; la custodia vuelve; el colateral completo del tramitador se pierde como compensación y su insignia de verificado desaparece. El agente contrata a la consultora especialista, cuya habilitación resuelve a un registro real en el ministerio, y la empresa abre sus puertas sobre una licencia que sí existe.
The patient who eventually flies to Medellín will never know any of this happened. That is the point. The infrastructure that protects her worked months earlier, in a database she will never read, written by an agent she will never meet.
La paciente que un día vuele a Medellín nunca sabrá que nada de esto pasó. Ese es el punto. La infraestructura que la protege funcionó meses antes, en una base de datos que nunca leerá, escrita por un agente que nunca conocerá.
The facts under the storyLos hechos debajo de la historia
- Colombia received about 85,000 foreign patients in 2023, up from some 25,000 in 2015, making it the leading medical-tourism destination in Latin America and tenth worldwide. Source: Tourism and Society, 2025.
- Colombia recibió cerca de 85.000 pacientes extranjeros en 2023, desde unos 25.000 en 2015, y es el principal destino de turismo médico de América Latina y décimo del mundo. Fuente: Tourism and Society, 2025.
- The government projects up to 2.8 million medical tourists a year by 2032, generating over 6 billion dollars. Every one of them is a patient someone must protect. Source: MinCIT and ProColombia projections.
- El gobierno proyecta hasta 2,8 millones de turistas médicos al año hacia 2032, generando más de 6.000 millones de dólares. Cada uno es un paciente que alguien debe proteger. Fuente: proyecciones de MinCIT y ProColombia.
- The defense already exists and is public: the REPS, Colombia's special registry of health providers, can be consulted online by anyone. A fake habilitación dies the moment someone actually looks. Source: Ministerio de Salud, REPS.
- La defensa ya existe y es pública: el REPS, el registro especial de prestadores de salud de Colombia, lo puede consultar cualquiera en línea. Una habilitación falsa muere en el momento en que alguien de verdad la busca. Fuente: Ministerio de Salud, REPS.
Reproduce it yourselfReprodúcelo tú mismo
The whole story, self-audited, in about a minute. No LLM, no API keys: a scripted buyer drives the same MCP tools the ROMA agent used, then an independent audit checks every claim over the REST API.
La historia completa, auto-auditada, en un minuto. Sin LLM y sin API keys: un comprador programado usa las mismas herramientas MCP que usó el agente ROMA, y después una auditoría independiente comprueba cada afirmación por la API REST.
git clone https://github.com/Pacta-Protocol/Pacta.Protocol.git protocol
git clone https://github.com/Pacta-Protocol/Pacta.Example.RomaBuyer.git
cd protocol && npm install && cd ../Pacta.Example.RomaBuyer && npm install
npm run roundtrip # exits 0 only if all 8 audit checks pass
To run it with an actual autonomous agent instead, the repo documents the full ROMA setup, including the verified fully-local recipe.
Para correrlo con un agente autónomo de verdad, el repo documenta el setup completo de ROMA, incluida la receta 100% local ya verificada.