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

Honesty first: this is a reproducible demonstration, not a customer story yet. MedVoyage is a fictional company; the money is simulated; the fraud, the dispute, the slashing and the registry checks are real, tested code you can run below. This exact scenario has also been completed live by Sentient's open-source ROMA agent running a fully local open model on a laptop.
Honestidad primero: esto es una demostración reproducible, todavía no la historia de un cliente. MedVoyage es una empresa ficticia; el dinero es simulado; el fraude, la disputa, el slashing y las verificaciones de registro son código real y probado que puedes correr abajo. Este mismo escenario también lo completó en vivo el agente open source ROMA de Sentient corriendo un modelo abierto 100% local en una laptop.

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.

← All case studies← Todos los casos