Skip to main content
An environment is a reusable definition of a simulated health system. In RL terms, it is the environment your agent acts inside during a rollout. It composes simulators (FHIR EHRs, phone lines, fax endpoints, payer portals, web portals, clearinghouses, SFTP drops) and the datasets that populate them. Benchmark runs instantiate the environment as a playground, the agent drives a rollout, and the verification engine scores the final sandbox state.

What Is an Environment?

Think of an environment as a virtual hospital or clinic. It links together all the simulated systems a healthcare AI agent might need:
  • An EHR with patient records (FHIR R4)
  • A phone system for scheduling and follow-ups (Voice/IVR)
  • A fax line for receiving and sending documents (Fax)
  • A payer portal for prior authorizations (Payer)
  • A clearinghouse for eligibility checks (Clearinghouse)
  • An HL7 interface for lab results and ADT messages (HL7v2)
  • Clinical decision support hooks (CDS Hooks)
  • Messaging endpoints for SMS/text (Message)
When you run a benchmark, Verial provisions each linked simulator as a live sandbox instance with real endpoints your agent can connect to.

Creating an Environment

At this point the environment is a container. You configure it by creating simulators and linking them:

Simulator Types

Environments can include any combination of the following simulator types:

Environment Lifecycle

  1. Created. The environment definition exists with linked simulators. You can edit the configuration freely.
  2. Playground. When you create a playground from an environment, Verial provisions all linked simulators as sandboxes. Each sandbox gets a live endpoint (FHIR URL, phone number, fax number, etc.).
  3. Active. The playground is running and your agent can connect. All interactions are logged.
  4. Torn Down. The playground is stopped and all provisioned resources are released. Interaction logs are preserved for review.

Datasets

Datasets contain synthetic patient data that populates simulator sandboxes. You create datasets separately and link them to sandboxes after provisioning:

Reusability

Environments are designed to be reused across multiple benchmarks. Create one environment that models your target health system, then reference it from different benchmarks:

Next Steps

Simulators

Learn about individual simulator types and their configuration.

Benchmarks

Define tasks and criteria for your environments.