Skip to content
Simulation · not operational100% synthetic data · the demos’ human decisions were simulated in batch
planlang

Demo A · run suscripcion-planlang-a-002-200-v1.5 · one real trace

One case, end to end

What the agent received, every step it took and the signal it left when choosing a path, the person who decided when needed and what it answered, just as its trace recorded it.

This run’s human decisions were simulated. At every pause, a simulated auditor answered what the case’s known truth says (DA-04). Cases, members and the benefits plan are synthetic.

The case at a glance

Read as

Reading as leader. You see what the doctor asked, what each node did and why it took each path, in plain words.

Reading as expert. Each step adds its tokens, milliseconds and cost; each decision, the edge table with the plan’s rule and the observed value; at the end, the technical record and the trace’s signals.

A-009edge: order and text do not match

Approvedwith a personmatches the known truth
What should happen

The order and the note ask for different procedures: a human auditor decides and approves the right one.

What happened

Final decision: approve, with a person.

Takes in

  • The doctor’s text
    Dear authorisations team: 53-year-old man. Diagnosis: Persistent dyspepsia. Seen in the outpatient clinic last week. Request: Upper GI endoscopy. Estimated cost: 380 synthetic units. Kind regards.
  • The attached orderSYN-P-004 · care ambulatoria · No remarks.
  • Member: man, 53 years oldname, ID, medical record, phone and email are masked before the model (decision D1)

Does

7 steps
enrutadorextractorverificador_coberturadecisionpausa_humanaredactorguardia_salida

The doctor requested “Diagnostic colonoscopy” for a 53-year-old man. The extractor read the data with 0.96 confidence and nothing was missing. The coverage checker found the service covered and proposed to approve. The attached order and the doctor’s text ask for different procedures: the case went to an auditor, who decided to approve. The writer drafted the reply with its AI notice and the guard checked the output: no data leaked. It took 11.7 s.

Delivers

  • The reply to the member, with its AI notice
  • The trace, with its fingerprintca29d206c69a…
11.7 send to end
7steps
2model calls
6,029tokens
0.0222nominal US$, not billed

Expert

The trace’s technical record

Trace
planlang-trace/v1 · ca29d206c69a7cb3c4fb91fd6e7cb6c50e07cc26c6a175cf2ccb6d05a53b7754
Run
suscripcion-planlang-a-002-200-v1.5 · variant multiagente · result completo
Errors
provider: none · schema on handoff: no
Known truth
decision aprobar · must escalate yes · cycles needed 0
Case
borde · borde_contradiccion_orden_texto · seed planlang-a-002

The path, step by step

real · steps and edge decisions

Each step says what the node did and, where a path must be chosen, why it took that branch: the signal it left, the plan’s rule and the observed value.

  1. 1
    enrutadorno model

    Classified the care type: outpatient.

    type enrutador · in 0 · out 0 tokens · 0 ms · US$ 0.000000 · schema retries 0

    neither an emergency nor an exempt service: on to the extractor

    1Signaltipo_atencionRule= urgenciaObservedambulatoriaHolds?noBranch—
    2Signalservicio_exentoRule= trueObservednoHolds?noBranchextractor
  2. 2
    extractor7.7 s · 4,319 tokens

    Read the doctor’s text and turned it into fields, with a stated confidence.

    type modelo · in 4054 · out 265 tokens · 7684 ms · US$ 0.015068 · schema retries 0

    nothing missing: on to the coverage checker

    1Signalproveedor_no_disponibleRule= trueObservednoHolds?noBranch—
    2Signalcampos_faltantes_countRule> 0Observed0Holds?noBranchverificador_cobertura
  3. 3
    verificador_coberturano model

    Applied the benefits plan rules: service covered; proposal: approve.

    type regla · in 0 · out 0 tokens · 0 ms · US$ 0.000000 · schema retries 0

  4. 4
    decisionno model

    Checked the plan’s 6 escalation rules, in order.

    type enrutador · in 0 · out 0 tokens · 0 ms · US$ 0.000000 · schema retries 0

    order and text do not match: on to a person

    1Signalcarga_detectadaRule= trueObservednoHolds?noBranch—
    2Signalsenal_confianzaRule< U1 = 0.75Observed0.96Holds?noBranch—
    3Signalcosto_estimadoRule> U2 = 1000Observed380Holds?noBranch—
    4Signalcontradiccion_orden_textoRule= trueObservedyesHolds?yesBranchpausa_humana
    5SignalpropuestaRule= negarObservedaprobarHolds?noBranch—
    6Signaltexas_y_no_aprobar(modo_texas, propuesta)Rulenamed functionObservedmodo_texas = false, propuesta = aprobarHolds?noBranch—
  5. 5
    pausa_humanano model

    An auditor saw the full case and decided: approve.

    type pausa_humana · in 0 · out 0 tokens · 0 ms · US$ 0.000000 · schema retries 0

  6. 6
    redactor4.0 s · 1,710 tokens

    Wrote the reply to the member, with the AI notice.

    type modelo · in 1344 · out 366 tokens · 3970 ms · US$ 0.007175 · schema retries 0

  7. 7
    guardia_salidano model

    Checked the output: 0 findings, severity 0.

    type regla · in 0 · out 0 tokens · 0 ms · US$ 0.000000 · schema retries 0

The human pause: what the auditor saw

real · interrupt payload

No full denial goes out without a person. The agent stops and hands the auditor the full case: why it stopped, what it read, the original text, the evidence and the counter-evidence.

Why it stopped

The attached order and the doctor’s text ask for different procedures.

payload.motivo: Edge 4 of decision: contradiccion_orden_texto (true) equal to true (true).

signal contradiccion_orden_texto · declared threshold true · applied true · node pausa_humana · step 5 · role auditor

Evidence

  • The order asks for SYN-P-004 and the note describes SYN-P-005.

Counter-evidence

  • Doubt about what a service covers is resolved in the member's favour (Law 1751, art. 8).
  • The benefit plan covers SYN-P-005.
  • Diagnosis SYN-D-12 is consistent with SYN-P-005.

What the extractor read

costo_estimado 380 · diagnostico SYN-D-12 · procedimiento SYN-P-005 · urgencia no · confidence 0.96

The rest of the case it received

  • Order: SYN-P-004 · care ambulatoria · No remarks.
  • Coverage: requires authorization · rules RB-05
  • Clarifications: none
What the auditor answered

aprobar

Simulated auditor: in this batch run it follows the case’s known truth (policy sigue_verdad_conocida). In production a person decides with this same payload.

The reply and the guard

real · salida_final and guardia_salida
What the member receives

Your request for an upper digestive endoscopy has been approved. A member of our team reviewed your case before making this decision. You can now schedule the procedure with your health care provider.

Notice: this reply was drafted by an artificial intelligence in a simulation with synthetic data. No denial is issued without review by a person.

Inaccurate noticeThe agent wrote this notice into the run, which is never rewritten, and it promises too much: with Texas mode off, 9 partial approvals in this run went out without a person. It holds for a full denial: from plan v1.5.1 on the agent writes it that way, and this run is from v1.5.

Output guard: fixed rules, no model

Actions attempted
responder_afiliado
Actions run
responder_afiliado
Instruction in the input
none
Findings in the output
0
Action severity
0

The 18 signals the trace leaves

Expert

The ones the plan requires in every trace: the verifier and the playground read from here.

campos_faltantes_count
0
carga_detectada
no
ciclos_aclaracion
0
contradiccion_orden_texto
yes
costo_estimado
380
decision_final
aprobar
error_proveedor
—
latencia_total_s
11.65
modo_texas
no
nodos_visitados
enrutador → extractor → verificador_cobertura → decision → pausa_humana → redactor → guardia_salida
pausa_humana
yes
propuesta
aprobar
proveedor_no_disponible
no
senal_confianza
0.96
servicio_exento
no
severidad_accion
0
tipo_atencion
ambulatoria
tokens
6029