Skip to main content

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: simulators
Response:
What the agent learns: The clearinghouse simulator is created. It will accept 270/271 eligibility transactions once provisioned in a playground.
2

Create environment and link simulator

Call 1: environments
Response:
Call 2: environments
Response:
What the agent learns: The environment is ready with the clearinghouse attached.
3

Create dataset with patient data

The agent creates a dataset containing a FHIR patient bundle with insurance coverage information.Call: datasets
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.
4

Create playground and load data

The agent provisions the environment, finds the sandbox, and loads the patient dataset.Call 1: playgrounds
Response:
Call 2: sandboxes
Response:
Call 3: sandboxes
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.
5

Create benchmark with eligibility eval

The agent defines the benchmark, task, and eval in sequence.Call 1: benchmarks
Response:
Call 2: tasks
Response:
Call 3: criteria
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.

Agent Response

Your eligibility check environment and benchmark are ready: Point your agent at the clearinghouse endpoint and run the benchmark with benchmark_runs create to start testing.

Summary