Sign in

Product

Training a model on your production workflows

Bring executable workflow tasks into Model Factory, improve tool use with environment feedback, and deploy a model your organization owns.

By Frank Wang

4 min readOctober 22, 2026

A second imaging request arrives while the first is waiting for a physician’s order. The agent needs to find the existing authorization episode, link the new request, and prepare a follow-up while keeping the order pending. This illustrative case captures the kind of behavior Model Factory trains: a sequence of decisions that changes the customer’s working records correctly.

Model Factory starts with an open model and executable tasks from the organization’s workflows. Production runs supply evidence for reconstructing simulation environments. Task Map organizes recurring situations, such as duplicate requests and missing-document follow-ups, into the case families the model needs to learn. Those environments and tasks become the training source.

Inside a workflow training run

The team selects a ready environment from the task library alongside a base model. For the duplicate-request task, the environment contains both requests, their episode, the outstanding document requirement, and tools for reading the case and saving a follow-up. The run retains the selected source versions so researchers can connect a model update to the cases that produced it.

Model Factoryprior-auth-specialist
TrainPlaygroundDeploy
prior-auth-specialist
Open base model / executable workflow tasks
Step 40 of 50
Training sources
Simulation environmentPrior authorization intakeCase records and reconstructed tools
Link a duplicate requestFollow up on a missing orderHandle a completed episode
Validate tasksReference continuationTrain the modelNew attempts and rewards
Training progress
Model performanceTrainHeld-out
0.40.50.6Step 40 / 0.61010203040step
Case state after attempt
RequestEpisodeState
R-418E-042Order pending
R-419E-042Linked
Attempt / Link a duplicate request
read_caselink_requestsave_followup
Episode linked
Order stays pending
Follow-up saved
Verifier feedbackSuccessful outcome
Illustrative Model Factory run: reconstructed workflow tasks supply the environment and checker for model practice. The curve reuses the Product page's example scores.

The training screen brings the task source, model progress, and individual attempts together. The useful detail is inside an attempt: which episode the model retrieved, which request it linked, and what happened to the pending order.

A reference for the intended behavior

A reviewer’s correction helps define a reference continuation. In this case, an experienced operator inspects the earlier episode, links the incoming request, and retains the outstanding document requirement. Cura 1T can serve as a teacher while researchers develop these continuations.

Replaying the continuation in the reconstructed environment establishes the records the checker should inspect. The episode link, preserved document status, and saved follow-up become explicit conditions for a successful attempt. Researchers can inspect the reference alongside the case state when developing the task.

Practice with feedback from the environment

During reinforcement learning, the model makes new attempts in isolated environments. Each attempt begins from the task’s initial state. The model chooses its tool calls, receives observations, and continues until the resulting outcome can be scored.

The checker rewards the workflow behavior represented by the task. An attempt may link the duplicate correctly and lose the pending status. Opening its tool activity reveals the particular state transition to investigate. Training compares the consequences of these choices across repeated attempts and updates the model toward successful behavior.

Task Map supplies variation within the same workflow. A request arriving after an episode closes calls for a different continuation from one awaiting documentation. Selecting those cases gives the training run a deliberate scope and a concrete account of what the model is practicing.

From a trained candidate to the customer’s model

Task-level comparisons show how a candidate handles the selected case families. For the running example, the improvement is visible in the records: the model continues the existing episode and prepares its follow-up. The Playground lets a reviewer vary the request and inspect the candidate alongside the base model before choosing a release.

The chosen checkpoint is deployed under a stable OpenAI-compatible model name. Agents call that name while the deployment retains its version history. The deployment view supports promotion and restoration of the served version.

Model FactoryDeployments / prior-auth-specialist
TrainPlaygroundDeploy
Deployments
Served to your organization's API keys
1DatasetAuthorized cases
2Training runprior-auth-specialist
3CheckpointStep 40
prior-auth-specialistStable model name
Serving
v2
Step 40Held-out score 0.61
Live
v1
Step 20Held-out score 0.53
Restore
Intake agent
"model": "prior-auth-specialist"v2
Illustrative deployment screen based on Model Factory's current Product example: a stable model name serves the selected version and retains the prior version for restoration.

The specialized model belongs to the customer. Customer records enter training under the engagement’s explicit written agreement, with training and serving inside the customer’s compliance boundary.

Deployment also supplies the next set of cases. A duplicate request after an order was cancelled introduces another decision for the task map. The team can reconstruct that episode, develop an executable task, and include it in a later run. The customer’s production experience becomes practice material for the model serving that workflow.

Explore Model Factory.


Frank Wang

Written by

Frank Wang

CEO & Co-Founder

Frank Wang is Co-Founder and CEO at ACTAVA, working on the systems behind enterprise agents.

More stories

All articles →
Share this