User Prompt
“Set up an environment with a clearinghouse and test whether my agent can verify patient eligibility.”
Tool Call Sequence
1
Create clearinghouse simulator
Call: Response:What the agent learns: The clearinghouse simulator is created. It will accept 270/271 eligibility transactions once provisioned in a playground.
simulators2
Create environment and link simulator
Call 1: Response:Call 2: Response:What the agent learns: The environment is ready with the clearinghouse attached.
environmentsenvironments3
Create dataset with patient data
The agent creates a dataset containing a FHIR patient bundle with insurance coverage information.Call: Response:What the agent learns: The dataset includes a patient (Maria Chen) with active BlueCross PPO Gold coverage. This data will be loaded into the sandbox so the clearinghouse returns realistic eligibility responses.
datasets4
Create playground and load data
The agent provisions the environment, finds the sandbox, and loads the patient dataset.Call 1: Response:Call 2: Response:Call 3: Response:What the agent learns: The playground is live and the clearinghouse sandbox now has the patient data loaded. When the agent-under-test queries eligibility for Maria Chen (subscriber BCB-998877), the clearinghouse will return active PPO Gold coverage.
playgroundssandboxessandboxes5
Create benchmark with eligibility eval
The agent defines the benchmark, task, and eval in sequence.Call 1: Response:Call 2: Response:Call 3: Response:What the agent learns: The benchmark is fully defined with one task and one criterion. The criterion checks that the agent-under-test successfully verified eligibility and received an active coverage response.
benchmarkstaskscriteriaAgent Response
Your eligibility check environment and benchmark are ready:Point your agent at the clearinghouse endpoint and run the benchmark withbenchmark_runscreate to start testing.