| Agent | Core Responsibility | Key Function in the Coordination Process |
|---|
| Information Analysis (IA) | Structure the Input | Establishes the common ground for collaboration by parsing raw clinical text (T) into a structured, shared representation (Chief Complaint ( CP ), Patient Information ( PI ) on the blackboard. |
| Prescription Generation (PG) | Propose a Solution | Acts as the primary reasoner. Synthesizes the structured information {CP, PI, OI} and contextual information from the blackboard to generate an initial candidate prescription ( Pn ). The prescription is then iteratively negotiated with the SC, PR, and EA agents through the inner loop ( DFPC ), undergoing refinement based on their feedback until a consensus is reached. |
| Safety Check (SC) | Critique on Safety | Functions as a specialized critic targeting the Safety Objective. Verifies the candidate prescription against formal safety constraints ( DDI, DPI, Dosage ) 1 1 1 Formally, the safety checks correspond to satisfying the constraints: ∀i=j:DDIP(di,dj)=0 ; ∀i:DPIP(di,PIn)=0 ; and ensuring dosage ui∈[uimin,uimax] . and posts specific, actionable violations for collective resolution. |
| Pharm. Rationality (PR) | Critique on Rationality | Functions as a specialized critic targeting the Rationality Objective. Evaluates the prescription’s therapeutic Coverage and Duplication 2 2 2 The rationality objective is formalized as maximizing coverage, where ideally ∀cp∈CP , ∃di∈D s.t. di↦cp while ensuring zero duplication, ∀i=j , Indication(di)=Indication(dj) for the same complaint. to ensure clinical efficacy and efficiency, posting its findings as feedback. |
| Evaluation Agent (EA) | Adjudicate & Decide | Serves as the coordinator and adjudicator of the inner loop. It aggregates critiques from SC and PR , assesses interpretability, and computes a unified score to decide whether to accept the prescription or trigger a refinement cycle via DFPC . |
| Reflection & Feedback (RF) | Drive Long-Term Learning | Functions as the organizational learning facilitator. It compares the final prescription Pfinal to a gold standard Pgold to generate the discrepancy signal that drives the long-term adaptation of the entire system via the DSWA outer loop. |