triagesim.core

The structured output schemas that agents must produce.

from triagesim.core import BaseAgentOutput, NurseOutput, PatientOutput

Each schema forbids extra fields, so a model cannot introduce keys the environment never sanctioned. See Output schemas.

Base

BaseAgentOutput

Bases: BaseModel

Base class for all agent outputs. Enforces JSON-only, structured communication.

Agent outputs

PatientOutput

NurseOutput

Internal modules

The rest of triagesim.core — the environment, belief graph, state stores and action mapping — is internal and not re-exported. Its behaviour is described in Core concepts.