AZURE · DRE COMPONENT

Azure AI Consensus Wrapper Flow

Multi-agent evaluation followed by deterministic TypeScript routing.

1

Inputs

Validated values arrive from the compliance engine.

ContractrawId · sanitizedText · hourlyRate
2

Build prompt

A JSON payload and strict response instruction are assembled.

ConstraintReturn valid JSON matching the supplied schema.
3

Parallel invocation

Promise.all launches three Azure OpenAI calls.

ConcurrentcallAgentA · callAgentB · callAgentC
4

Three evaluations

Each returns vote, confidence, intent and reasoning.

Agent ASchema validator
Agent BDomain expert
Agent CAnomaly detector
5

Deterministic referee

TypeScript counts approve, modify and reject votes.

No model routingBranch selection is explicit and reproducible.
6

Decision branches

Thresholds produce hard reject, reconstruct, commit candidate or human escalation.

Safe stateUnresolved cases remain blocked for review.
7

Consensus result

A typed object retains outcome and every agent response.

Outputstatus · action · responses · narrative

Security Reliability and Determinism

Secure configurationExternalized secrets
Low variabilityTemperature 0.1
Strict JSONValidated structure
Safe defaultsProtected fallback
Error handlingLogged and propagated
AuditabilityVotes and branches retained